init
This commit is contained in:
12
bin/volumectl
Executable file
12
bin/volumectl
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
INCREMENT="2"
|
||||
|
||||
if [[ "$1" == "up" ]]; then
|
||||
wpctl set-volume @DEFAULT_SINK@ $INCREMENT%+
|
||||
elif [[ "$1" == "down" ]]; then
|
||||
wpctl set-volume @DEFAULT_SINK@ $INCREMENT%-
|
||||
elif [[ "$1" == "mute" ]]; then
|
||||
wpctl set-mute @DEFAULT_SINK@ toggle
|
||||
fi
|
||||
|
||||
kill -n 35 $(pidof dwmblocks)
|
||||
Reference in New Issue
Block a user