From 23d3e18cfb01e7c3e4b4d144989590ac21773781 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 22 Dec 2024 09:31:03 +0100 Subject: Updated the rules assign a desktop for a application --- bspwm/scripts/bspwm/desktops.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bspwm/scripts') diff --git a/bspwm/scripts/bspwm/desktops.sh b/bspwm/scripts/bspwm/desktops.sh index d63b0aa..e94c084 100755 --- a/bspwm/scripts/bspwm/desktops.sh +++ b/bspwm/scripts/bspwm/desktops.sh @@ -10,7 +10,7 @@ run_desktop() { application=$2 window_name=$3 bspc node @$name:/ -i - gspc rule --add $window_name --one-shot node=@$name:/ + bspc rule --add $window_name --one-shot node=@$name:/ follow=off focus=off $application & } @@ -42,7 +42,7 @@ bspc subscribe desktop | while read -r event monitor_id desktop_id name; do run_desktop $name firefox-esr firefox-esr ;; Mail) - run_desktop $name thunderbird thunderbird + run_desktop $name thunderbird thunderbird-default ;; Discord) run_desktop $name discord discord -- cgit v1.2.3