diff options
author | Raul Benencia <raul@thousandeyes.com> | 2025-03-28 14:31:21 -0700 |
---|---|---|
committer | Raul Benencia <raul@thousandeyes.com> | 2025-03-28 14:31:21 -0700 |
commit | 67e9f813e33c5a42f13c18b63a2b141e54868e5d (patch) | |
tree | a7f35b889985d8a42a716b7d904e12df061b09f0 /bin/gnome-move-windows | |
parent | d800519caeb32c1b251d412ed5ab422af133bafe (diff) |
gnome: add new patterns for window moves
Diffstat (limited to 'bin/gnome-move-windows')
-rwxr-xr-x | bin/gnome-move-windows | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/gnome-move-windows b/bin/gnome-move-windows index 0b6c0cc..f4fcd4e 100755 --- a/bin/gnome-move-windows +++ b/bin/gnome-move-windows @@ -11,7 +11,8 @@ 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|elfeed/ {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}')" @@ -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 |