diff options
Diffstat (limited to 'bin/gnome-move-windows')
-rwxr-xr-x | bin/gnome-move-windows | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/bin/gnome-move-windows b/bin/gnome-move-windows index d6cd934..f4fcd4e 100755 --- a/bin/gnome-move-windows +++ b/bin/gnome-move-windows @@ -10,10 +10,11 @@ done # Assign windows to predetermined workplaces misc=$(wmctrl -l | awk '/isco|eepa/ {print $1}') -main="$(wmctrl -l | awk '/ main$/ {print $1}')" -communications="$(wmctrl -l | awk '/Webex|Slack|communications/ {print $1}')" -terminals="$(wmctrl -l | awk '/Alacritty|terminals$/ {print $1}')" -browsers="$(wmctrl -l | awk '/Firefox|Chrom/ {print $1}')" +main="$(wmctrl -xl | awk '/ emacs/ {print $1}')" +communications="$(wmctrl -l | awk '/ebex|lack|communications|notmuch|Outlook|elfeed/ {print $1}')" +media="$(wmctrl -l | awk '/YouTube|Spotify/ {print $1}')" +terminals="$(wmctrl -l | awk '/Alacritty|kitty|terminal/ {print $1}')" +browsers="$(wmctrl -xl | awk '/irefox|hrom/ {print $1}')" for window_id in $misc; do wmctrl -i -r $window_id -t 4 @@ -34,3 +35,7 @@ done for window_id in $terminals; do wmctrl -i -r $window_id -t 3 done + +for window_id in $media; do + wmctrl -i -r $window_id -t 8 +done |