Cleanup stuff

This commit is contained in:
2023-11-14 20:54:20 -08:00
parent a502b72299
commit 5d80c98c1f
12 changed files with 24 additions and 10 deletions

19
old/x11/lock-screen.sh Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env zsh
local i3lock_args=()
let image_index=1
for arg; do
case "${arg}"; in
--no-empty-pass|-e)
i3lock_args+=(-e)
image_index+=1
;;
esac
done
dunstctl set-paused true
xset dpms 0 0 15
i3lock ${i3lock_args} -n -i "${@[${image_index}]}"
xset -dpms
dunstctl set-paused false