From 25b947edf445a96db335fe285a8b253b214649ff Mon Sep 17 00:00:00 2001
From: Aaron LI <aaronly.me@gmail.com>
Date: Wed, 6 Jan 2016 22:59:26 +0800
Subject: Rename .* => _*; Move out private contents.

---
 .i3/scripts/i3exit.sh | 43 -------------------------------------------
 1 file changed, 43 deletions(-)
 delete mode 100755 .i3/scripts/i3exit.sh

(limited to '.i3/scripts')

diff --git a/.i3/scripts/i3exit.sh b/.i3/scripts/i3exit.sh
deleted file mode 100755
index 3616139..0000000
--- a/.i3/scripts/i3exit.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-#
-# exit script used in i3 wm
-#
-
-PNG_IMAGE="~/.i3/images/wallpaper.png"
-
-lock() {
-    if [ -f ${PNG_IMAGE} ]; then
-        i3lock -d -ti "${PNG_IMAGE}"
-    else
-        i3lock -d -c 000000
-    fi
-}
-
-case "$1" in
-    lock)
-        lock
-        ;;
-    logout)
-        i3-msg exit
-        ;;
-    suspend)
-        lock
-        dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
-        ;;
-    hibernate)
-        lock
-        dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate
-        ;;
-    reboot)
-        dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
-        ;;
-    shutdown)
-        dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
-        ;;
-    *)
-        echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
-        exit 2
-esac
-
-exit 0
-
-- 
cgit v1.2.2