Initial commit.

This commit is contained in:
2013-09-14 14:35:23 +02:00
commit 6252ec3a09
19 changed files with 959 additions and 0 deletions

33
i3/i3/scripts/i3exit.bash Executable file
View File

@@ -0,0 +1,33 @@
#!/bin/bash
### From http://www.archlinux.org/index.php/i3
lock() {
i3lock --image="$HOME/.i3/data/lockscreen.png"
}
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

View File

@@ -0,0 +1 @@
/home/hannes/development/projects/wallchanger/wallchanger.bash