Add i3 configs

This commit is contained in:
templis
2018-04-09 01:08:35 +02:00
parent 091caa538e
commit 9f07abe0b0
7 changed files with 801 additions and 0 deletions

30
.i3/i3exit Executable file
View File

@ -0,0 +1,30 @@
#!/bin/sh
lock() {
i3lock
}
case "$1" in
lock)
lock
;;
logout)
i3-msg exit
;;
suspend)
lock && systemctl suspend
;;
hibernate)
lock && systemctl hibernate
;;
reboot)
systemctl reboot
;;
shutdown)
systemctl poweroff
;;
*)
echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
exit 2
esac
exit 0