dwmblocks scripts.
This commit is contained in:
parent
d25a6431fb
commit
24dd7f46c9
6 changed files with 97 additions and 0 deletions
5
_suckless/_scripts/sb-volume
Executable file
5
_suckless/_scripts/sb-volume
Executable 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}%"
|
Loading…
Add table
Add a link
Reference in a new issue