Browse Source

fuck

master
Sophie Hirn 3 months ago
parent
commit
be995bfb9c
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      .local/bin/lock

+ 4
- 4
.local/bin/lock View File

@@ -3,14 +3,14 @@
beacon stop {%{compositor}%} 2>/dev/null
xset +dpms dpms 5 5 5 s 5

for s in $(pactl list short sinks | cut -f 1); do
echo pacmd set-sink-mute "$s" 1
pactl list short sinks | cut -f 1 | while read -r s; do
pacmd set-sink-mute "$s" 1
done

i3lock -n -i "$HOME/wp/curr/all.png"

for s in $(pactl list short sinks | cut -f 1); do
echo pacmd set-sink-mute "$s" 0
pactl list short sinks | cut -f 1 | while read -r s; do
pacmd set-sink-mute "$s" 0
done

xset -dpms s off

Loading…
Cancel
Save