kunsis-dotfiles/.bin/screenlock.sh

20 lines
474 B
Bash
Executable file

#!/bin/bash
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
#i3lock -e -t -i /home/kunsi/Pictures/lockscreen-lenowo.png
slock
#MOVIE="/home/kunsi/Movies/pause-langsamer.mp4"
#
#ffplay -fs -loop 0 $MOVIE &
#PID=$(ps u | grep ffplay | grep $MOVIE | awk '{print $2}')
#
#alock -bg none && kill $PID