aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gnome-move-windows9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/gnome-move-windows b/bin/gnome-move-windows
index 04698e8..f3a5e34 100755
--- a/bin/gnome-move-windows
+++ b/bin/gnome-move-windows
@@ -11,9 +11,10 @@ done
# Assign windows to predetermined workplaces
misc=$(wmctrl -l | awk '/isco|eepa/ {print $1}')
main="$(wmctrl -xl | awk '/ emacs/ {print $1}')"
-communications="$(wmctrl -l | awk '/ebex|lack|communications|notmuch|Outlook|elfeed/ {print $1}')"
+communications="$(wmctrl -xl | awk 'tolower($0) ~ /(ebex|lack|communications|notmuch|outlook|elfeed|thunderbird)/ {print $1}')"
media="$(wmctrl -l | awk '/YouTube|Spotify/ {print $1}')"
-terminals="$(wmctrl -l | awk '/Alacritty|kitty|terminal|Teleport/ {print $1}')"
+terminals="$(wmctrl -l | awk '/Alacritty|kitty|terminal/ {print $1}')"
+teleport="$(wmctrl -xl | awk 'tolower($0) ~ /teleport/ {print $1}')"
browsers="$(wmctrl -xl | awk '/irefox|hrom/ {print $1}')"
for window_id in $misc; do
@@ -36,6 +37,10 @@ for window_id in $terminals; do
wmctrl -i -r $window_id -t 3
done
+for window_id in $teleport; do
+ wmctrl -i -r $window_id -t 5
+done
+
for window_id in $media; do
wmctrl -i -r $window_id -t 8
done
nihil fit ex nihilo