about summary refs log tree commit diff
path: root/i3_exit
diff options
context:
space:
mode:
Diffstat (limited to 'i3_exit')
-rwxr-xr-xi3_exit30
1 files changed, 0 insertions, 30 deletions
diff --git a/i3_exit b/i3_exit
deleted file mode 100755
index f411d4e57c95..000000000000
--- a/i3_exit
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-lock() {
-    i3lock
-}
-
-case "$1" in
-    lock)
-        xsecurelock
-        ;;
-    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