kunsis-dotfiles/.bin/screenlock.sh

16 lines
363 B
Bash
Raw Normal View History

2018-12-21 16:38:50 +00:00
#!/bin/bash
tmpbg="/tmp/lock_$(whoami).png"
2018-12-21 16:38:50 +00:00
xset s noblank
xset s 90 10
2018-12-21 16:38:50 +00:00
pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo 1
2018-12-21 16:38:50 +00:00
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