diff options
author | tdro <tdro@users.noreply.github.com> | 2020-01-17 19:10:41 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-01-17 19:10:41 -0500 |
commit | bf995042a3fe2b6f844edbba3443c24dae67dfc1 (patch) | |
tree | ddb785759e9f9bd6cfea36560603a0d51ba0d3f0 /.config/awesome | |
parent | f8bcbd694beae0a61fd31b70b1d80ab53916f2b0 (diff) | |
download | dotfiles-bf995042a3fe2b6f844edbba3443c24dae67dfc1.tar.gz dotfiles-bf995042a3fe2b6f844edbba3443c24dae67dfc1.tar.bz2 dotfiles-bf995042a3fe2b6f844edbba3443c24dae67dfc1.zip |
.config/awesome/scripts/powerdialog: Move location
Diffstat (limited to '.config/awesome')
-rwxr-xr-x | .config/awesome/scripts/powerdialog | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/.config/awesome/scripts/powerdialog b/.config/awesome/scripts/powerdialog deleted file mode 100755 index afa5005..0000000 --- a/.config/awesome/scripts/powerdialog +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -ACTION=`zenity --width=90 --height=181 --list --radiolist --text="Select Action" --title="Logout" --column "Choice" --column "Action" TRUE Shutdown FALSE Reboot FALSE Suspend FALSE Lock` - -if [ -n "${ACTION}" ];then - case $ACTION in - Shutdown) - zenity --question --text "Are you sure you want to halt?" && gksudo 'systemctl poweroff' - ;; - Reboot) - zenity --question --text "Are you sure you want to reboot?" && gksudo 'systemctl reboot' - ;; - Suspend) - killall -q dmenu - i3lock -d -u -p default -i ~/.config/awesome/themes/default/default_s1280x800.png > /dev/null 2>&1 - systemctl suspend - ;; - Lock) - killall -q dmenu - i3lock -d -u -p default -i ~/.config/awesome/themes/default/default_s1280x800.png > /dev/null 2>&1 - ;; - esac -fi |