summaryrefslogtreecommitdiffstats
path: root/.fluxbox
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-06-02 17:50:56 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-06-02 19:11:12 (EDT)
commit0d78b4fb96ab986f5aa2ed4137ff07c84580b3d2 (patch)
tree818d365a955e9e0436a650da0d9d9f4a655032c8 /.fluxbox
parent4e3540fdd2f725ba4124312d0db806b0037ec963 (diff)
downloadfluxbox-0d78b4fb96ab986f5aa2ed4137ff07c84580b3d2.zip
fluxbox-0d78b4fb96ab986f5aa2ed4137ff07c84580b3d2.tar.gz
fluxbox-0d78b4fb96ab986f5aa2ed4137ff07c84580b3d2.tar.bz2
.fluxbox/keys: Confirm logout, shutdown, and reboot actions
Diffstat (limited to '.fluxbox')
-rw-r--r--.fluxbox/keys6
1 files changed, 3 insertions, 3 deletions
diff --git a/.fluxbox/keys b/.fluxbox/keys
index 7b88d5f..8b053d2 100644
--- a/.fluxbox/keys
+++ b/.fluxbox/keys
@@ -122,9 +122,9 @@ Control Shift F12 :TakeToWorkspace 12
# Session/screen management
Pause :Delay {Exec xset dpms force off} 100000
Control Mod1 Delete l :Exec xscreensaver-command -lock
-Control Mod1 Delete q :Exec printf 'quit\n' >~/.xsessionmanage
-Control Mod1 Delete s :Exec sudo shutdown -hP now
-Control Mod1 Delete r :Exec sudo reboot
+Control Mod1 Delete q :Exec zenity --question --title='Log Out' --window-icon='/usr/share/icons/gnome/16x16/actions/system-log-out.png' --text='Are you sure you want to log out?' --ok-label='Log Out' --cancel-label='Cancel' && printf 'quit\n' >~/.xsessionmanage
+Control Mod1 Delete s :Exec zenity --question --title='Shut Down' --window-icon='/usr/share/icons/gnome/16x16/actions/system-shutdown.png' --text='Are you sure you want to shut down this system?' --ok-label='Shut Down' --cancel-label='Cancel' && sudo shutdown -hP now
+Control Mod1 Delete r :Exec zenity --question --title='Reboot' --window-icon='/usr/share/icons/gnome/16x16/actions/system-shutdown.png' --text='Are you sure you want to reboot this system?' --ok-label='Reboot' --cancel-label='Cancel' && sudo reboot
Control Mod1 Delete c :Reconfigure
# Audio