From fde22ce2325c0bcdeb523d0c2432dde95c977d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Fri, 8 Nov 2024 07:49:50 -0800 Subject: gnome-move-windows: add generic rules --- bin/gnome-move-windows | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/gnome-move-windows b/bin/gnome-move-windows index 319f159..0b6c0cc 100755 --- a/bin/gnome-move-windows +++ b/bin/gnome-move-windows @@ -10,10 +10,10 @@ 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|notmuch|elfeed/ {print $1}')" -terminals="$(wmctrl -l | awk '/Alacritty|terminal/ {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|elfeed/ {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 -- cgit v1.2.3