From a12c7638d0b2669a11c0260f50d9efb0c6c5e44f Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 11 Dec 2023 01:22:18 +0100 Subject: [PATCH] config updated to match newest patch --- README.md | 3 ++- config.def.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 70f0973..1874157 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ The list below shows the currently applied patches to the master branch. - dwm-noborder-6.2.diff (removes border if there is only one window) - dwm-notitle-6.2.diff (removes window title in the middle of the bar) - dwm-pertag-20170513-ceac8c9.diff (allows having a layout/mwfact/barpos/nmaster per tag) +- dwm-quitprompt-20220718-6613d9f.diff (adds a confirmation prompt before exiting dwm) - dwm-status2d-6.2.diff (adds colors and ability to draw rectangles) - dwm-statusallmons-6.2.diff (display statusbar on every monitors) - dwm-statuscmd-6.2.diff (enables dwmblocks compatibility) @@ -43,7 +44,7 @@ build are the following. | Super | | 1/2/.../9/0 | Show tag 1/2/.../9/0 | | Super | | . | Show monitor lower in stack | | Super | | , | Show monitor higher in stack | -| Super | Shift | Escape | Quit dwm | +| Super | Shift | Escape | Quit dwm with call for confirmation | | Super | Shift | b | Toggle dwmbar | | Super | Shift | c | Enable deck(/card) layout | | Super | Shift | d | Toggle floating/tiled for selected window | diff --git a/config.def.h b/config.def.h index 552d1fd..34b71f1 100644 --- a/config.def.h +++ b/config.def.h @@ -86,7 +86,7 @@ static const Layout layouts[] = { static Key keys[] = { /* modifier key function argument */ - { MODKEY|ShiftMask, XK_Escape, quit, {0} }, + { MODKEY|ShiftMask, XK_Escape, quitprompt, {0} }, { MODKEY|ShiftMask, XK_b, togglebar, {0} }, { MODKEY|ShiftMask, XK_c, setlayout, {.v = &layouts[2]} }, { MODKEY|ShiftMask, XK_d, togglefloating, {0} },