move all existing stuff to old/
This commit is contained in:
parent
c215878777
commit
35f5e8472b
49 changed files with 0 additions and 0 deletions
35
_bin/i3exit
35
_bin/i3exit
|
@ -1,35 +0,0 @@
|
|||
#!/bin/sh
|
||||
lock() {
|
||||
if [ -e "$(which i3lock)" ]; then
|
||||
i3lock
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
lock)
|
||||
~/bin/lockscreen
|
||||
;;
|
||||
logout)
|
||||
i3-msg exit
|
||||
;;
|
||||
suspend)
|
||||
lock && systemctl suspend
|
||||
;;
|
||||
hibernate)
|
||||
lock && systemctl hibernate
|
||||
;;
|
||||
blank)
|
||||
sleep 1; xset dpms force off
|
||||
;;
|
||||
reboot)
|
||||
systemctl reboot
|
||||
;;
|
||||
shutdown)
|
||||
systemctl poweroff
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {lock|logout|suspend|hibernate|blank|reboot|shutdown}"
|
||||
exit 2
|
||||
esac
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue