Start re-organising my dotfiles

This commit is contained in:
Jonathan Hodgson 2018-04-16 23:03:29 +01:00
parent 654a7fe8ca
commit 2749e72abe
101 changed files with 40 additions and 3228 deletions

31
i3/i3exit Executable file
View file

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