aboutsummaryrefslogtreecommitdiff
path: root/bin/gnome-move-windows
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2024-11-08 07:49:50 -0800
committerRaúl Benencia <id@rbenencia.name>2024-11-08 07:50:51 -0800
commitfde22ce2325c0bcdeb523d0c2432dde95c977d64 (patch)
tree8d635902ce6cdbeee2e36ea07ae7850006c6221e /bin/gnome-move-windows
parent662f71d070bd25e864d1d8951d410a68d4992466 (diff)
gnome-move-windows: add generic rules
Diffstat (limited to 'bin/gnome-move-windows')
-rwxr-xr-xbin/gnome-move-windows8
1 files 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
nihil fit ex nihilo