diff options
Diffstat (limited to 'vol.sh')
-rwxr-xr-x | vol.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/bin/bash +if [ $1 = "mute" ]; then + pactl set-sink-mute 0 toggle +else + pactl set-sink-volume 0 $1% +fi + +notify-send -t 500 "$(~/scripts/i3blocks/i3vol.sh)" +pkill -SIGRTMIN+10 i3blocks |