move all existing stuff to old/

This commit is contained in:
Mark Riedesel 2023-11-07 13:13:11 -06:00
parent c215878777
commit 35f5e8472b
49 changed files with 0 additions and 0 deletions

35
old/_bin/i3exit Executable file
View file

@ -0,0 +1,35 @@
#!/bin/sh
lock() {
if [ -e "$(which i3lock)" ]; then
i3lock
fi
}
case "$1" in
lock)
~/bin/lockscreen
;;
logout)
i3-msg exit
;;
suspend)
lock && systemctl suspend
;;
hibernate)
lock && systemctl hibernate
;;
blank)
sleep 1; xset dpms force off
;;
reboot)
systemctl reboot
;;
shutdown)
systemctl poweroff
;;
*)
echo "Usage: $0 {lock|logout|suspend|hibernate|blank|reboot|shutdown}"
exit 2
esac
exit 0