kunsis-dotfiles/.bin/screenlock.sh

16 lines
381 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
2022-02-14 19:18:44 +00:00
pactl set-sink-mute alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_1__sink 1
pactl set-source-mute alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source 1
2018-12-21 16:38:50 +00:00
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