From 3e0d17b7676a3e92c64ea6123cd80a9763548bd0 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Tue, 16 Nov 2021 13:53:56 +0100 Subject: Added Signal in bspwm desktop --- bspwm/scripts/bspwm/desktops.sh | 5 +++++ sxhkd/scripts/sxhkd/rofi_new.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bspwm/scripts/bspwm/desktops.sh b/bspwm/scripts/bspwm/desktops.sh index d073bb8..61d75b5 100755 --- a/bspwm/scripts/bspwm/desktops.sh +++ b/bspwm/scripts/bspwm/desktops.sh @@ -14,6 +14,11 @@ bspc subscribe desktop | while read -r event monitor_id desktop_id name; do desktop_add) bspc monitor -o $(bspc query --names -D| sort -V | tr -s '\n' ' ') case $name in + Chat) + bspc node @$name:/ -i + bspc rule --add Signal -o node=@$name:/ + signal-desktop & + ;; Musique) bspc node @$name:/ -i bspc rule --add Gmpc -o node=@$name:/ diff --git a/sxhkd/scripts/sxhkd/rofi_new.sh b/sxhkd/scripts/sxhkd/rofi_new.sh index 4e28454..47a0ae7 100755 --- a/sxhkd/scripts/sxhkd/rofi_new.sh +++ b/sxhkd/scripts/sxhkd/rofi_new.sh @@ -1,6 +1,6 @@ #!/bin/bash if [ -z $1 ]; then - cat <(echo -e "Web\nMail\nMusique") <(bspc query --names -D) | sort -u + cat <(echo -e "Chat\nWeb\nMail\nMusique") <(bspc query --names -D) | sort -u else ~/scripts/sxhkd/show.sh $1 fi -- cgit v1.2.3