qtile gives me more than dwm. I will try to live with it's quirks.
This commit is contained in:
parent
35ccb08948
commit
75517d5ad3
35 changed files with 9 additions and 9 deletions
4
_unused/dwmblocks/_scripts/sb-vol-out
Executable file
4
_unused/dwmblocks/_scripts/sb-vol-out
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
vol=$(pactl get-sink-volume @DEFAULT_SINK@ | awk -F' / ' '{print $2}' | tr -d '%')
|
||||
[ $(pactl get-sink-mute @DEFAULT_SINK@ | awk -F': ' '{print $2}') = yes ] || [ "$vol" -eq 0 ] && printf "^c#ffffff^^b#770000^mute^d^" || printf "${vol}%%"
|
Loading…
Add table
Add a link
Reference in a new issue