summaryrefslogtreecommitdiffstats
path: root/i3/.local/bin/i3exit
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xi3/.local/bin/i3exit24
1 files changed, 0 insertions, 24 deletions
diff --git a/i3/.local/bin/i3exit b/i3/.local/bin/i3exit
deleted file mode 100755
index 047edbf..0000000
--- a/i3/.local/bin/i3exit
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-lock() {
- i3lock-wrapper && sleep 1
-}
-
-case "$1" in
- lock)
- lock
- ;;
- logout)
- i3-msg exit
- ;;
- reboot)
- systemctl reboot
- ;;
- shutdown)
- systemctl poweroff
- ;;
- *)
- echo "Usage: $0 {lock|logout|reboot|shutdown}"
- exit 2
-esac
-
-exit 0