lock.sh: mute default pulse sink on lock

This commit is contained in:
Adam Goldsmith 2018-06-22 01:14:20 -04:00
parent 07865b69c9
commit ebff38a9fa

View File

@ -2,6 +2,7 @@
lock() {
killall -SIGHUP gpg-agent
pactl set-sink-mute @DEFAULT_SINK@ true
# needs i3lock-color
i3lock --ignore-empty-password --clock --indicator --show-failed-attempts \