Added some more scripts
This commit is contained in:
parent
f51337a774
commit
bb654d4718
7
lock-screen.sh
Executable file
7
lock-screen.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env zsh
|
||||||
|
dunstctl set-paused true
|
||||||
|
xset dpms 0 0 15
|
||||||
|
i3lock -e -n -i "${HOME}/Pictures/Screensavers/Lyza and Riko.png"
|
||||||
|
xset -dpms
|
||||||
|
dunstctl set-paused false
|
||||||
|
mailnag &
|
8
reset-saver-daemon.sh
Executable file
8
reset-saver-daemon.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/zsh
|
||||||
|
while true; do
|
||||||
|
if pactl list sink-inputs | grep -i -B13 'firefox' | grep 'Corked: no' >/dev/null || pactl list sink-inputs | grep -i -B13 'chromium' | grep 'Corked: no' >/dev/null; then
|
||||||
|
echo reset
|
||||||
|
xset s reset
|
||||||
|
fi
|
||||||
|
sleep 1m
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user