dotfiles/.bin/screenlock.sh

15 lines
381 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_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
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