15 lines
361 B
Bash
Executable file
15 lines
361 B
Bash
Executable file
#!/bin/bash
|
|
|
|
tmpbg="/tmp/lock_$(whoami).png"
|
|
|
|
xset s noblank
|
|
xset s 90 10
|
|
|
|
pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo 1
|
|
pactl set-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo 1
|
|
|
|
#i3lock -e -t -i /home/kunsi/Pictures/laptop_unbenutzbar.png
|
|
|
|
maim $tmpbg
|
|
/usr/bin/gm convert $tmpbg -scale 10% -scale 1000% $tmpbg
|
|
i3lock -feu -i $tmpbg
|