diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-11-16 13:53:56 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2021-11-16 13:56:50 +0100 |
commit | 3e0d17b7676a3e92c64ea6123cd80a9763548bd0 (patch) | |
tree | 3635e6291a07de502f3e80778b0232ead9bee378 | |
parent | 7f723c25757847eca332e1229a5131f40ed44561 (diff) |
Added Signal in bspwm desktop
-rwxr-xr-x | bspwm/scripts/bspwm/desktops.sh | 5 | ||||
-rwxr-xr-x | sxhkd/scripts/sxhkd/rofi_new.sh | 2 |
2 files changed, 6 insertions, 1 deletions
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 |