diff options
| author | Mikkel Thestrup <mikkel@mithe.dk> | 2026-01-28 17:04:47 +0100 |
|---|---|---|
| committer | Mikkel Thestrup <mikkel@mithe.dk> | 2026-01-28 17:04:47 +0100 |
| commit | 0d903197c98d25ca42d234571a14ff0b243d8282 (patch) | |
| tree | 2a275b54ccef149fdc7b46c973ed19329fb727bc | |
| parent | 5725b4534a45e105f6066d18f8a59f5c01add1ce (diff) | |
| download | dwm-0d903197c98d25ca42d234571a14ff0b243d8282.tar.gz dwm-0d903197c98d25ca42d234571a14ff0b243d8282.zip | |
Added prompt for shutting down computer
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index 51beea8..eb6b7c6 100644 --- a/config.def.h +++ b/config.def.h @@ -90,7 +90,7 @@ static const Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) - { MODKEY|ShiftMask, XK_e, quit, {0} }, + { MODKEY|ShiftMask, XK_e, spawn, SHCMD("prompt 'Are you sure you want to Shutdown?' 'sudo shutdown -h now'") }, }; /* button definitions */ |