Changing from i3 to dwm - tidied ip bin folder

This commit is contained in:
Jonathan Hodgson 2019-05-17 12:52:12 +01:00
parent 265a3ad84e
commit 8ced2f42f5
47 changed files with 254 additions and 245 deletions

31
bin/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