dwmblocks scripts.

This commit is contained in:
Bartek Stalewski 2021-06-19 15:50:04 +02:00
parent d25a6431fb
commit 24dd7f46c9
6 changed files with 97 additions and 0 deletions

5
_suckless/_scripts/sb-volume Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
[ $(pamixer --get-mute) = true ] && echo "^c#161616^^b#fd4285^mute^d^" && exit
vol="$(pamixer --get-volume)"
[ $(echo $vol | wc -c) -lt 4 ] && echo " ${vol}%" || echo "${vol}%"