mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-05-11 17:58:37 +00:00
Make workspaces clickable
This commit is contained in:
parent
52a00e9d29
commit
823a8ad428
2 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,9 @@ main() {
|
||||||
* ) continue ;;
|
* ) continue ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
prefix="${prefix}%{A:focusws $name:}"
|
||||||
|
suffix="${suffix}%{A}"
|
||||||
|
|
||||||
if [[ "$name" == "0" ]]; then
|
if [[ "$name" == "0" ]]; then
|
||||||
name=10
|
name=10
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -34,6 +34,7 @@ RIGHT_MODULES=("kernel" "battery" "memory" "storage" "cpu" "volume" "uptime" "bi
|
||||||
typeset -A CMDS
|
typeset -A CMDS
|
||||||
CMDS[volup]="pulsemixer --change-volume +3"
|
CMDS[volup]="pulsemixer --change-volume +3"
|
||||||
CMDS[voldown]="pulsemixer --change-volume -3"
|
CMDS[voldown]="pulsemixer --change-volume -3"
|
||||||
|
CMDS[focusws]="bspc desktop -f"
|
||||||
|
|
||||||
typeset -A PREFIX
|
typeset -A PREFIX
|
||||||
typeset -A SUFFIX
|
typeset -A SUFFIX
|
||||||
|
|
Loading…
Add table
Reference in a new issue