First commit

This commit is contained in:
Yusuf İpek
2022-12-10 12:44:53 +03:00
commit b9f81411ac
26 changed files with 904 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/bin/sh
case "$1" in
lock)
i3lock -c 090000
;;
switch)
dm-tool switch-to-greeter
;;
logout)
i3-msg exit
;;
suspend)
systemctl suspend
;;
hibernate)
systemctl hibernate
;;
reboot)
systemctl reboot
;;
shutdown)
shutdown 0
;;
*)
echo "Usage: $0 {lock|switch|logout|suspend|hibernate|reboot|shutdown}"
exit 2
esac
exit 0