.bin/screenlock.sh: pixelate screenshot instead of showing static lock image
This commit is contained in:
parent
33f022a2ee
commit
307017eec2
1 changed files with 7 additions and 1 deletions
|
@ -1,9 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
tmpbg="/tmp/lock_$(whoami).png"
|
||||||
|
|
||||||
xset s noblank
|
xset s noblank
|
||||||
xset s 90 10
|
xset s 90 10
|
||||||
|
|
||||||
pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo 1
|
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
|
pactl set-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo 1
|
||||||
|
|
||||||
i3lock -e -t -i /home/kunsi/Pictures/laptop_unbenutzbar.png
|
#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
|
||||||
|
|
Loading…
Reference in a new issue