From 0d903197c98d25ca42d234571a14ff0b243d8282 Mon Sep 17 00:00:00 2001 From: Mikkel Thestrup Date: Wed, 28 Jan 2026 17:04:47 +0100 Subject: Added prompt for shutting down computer --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3-70-g09d2