From 47bd2b74000d761e938da20a4ad7d735478d2194 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Thu, 30 Apr 2026 11:16:39 -0700 Subject: gnome: window routing updates --- bin/gnome-move-windows | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'bin/gnome-move-windows') 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 -- cgit v1.2.3