From cae7d561524ec143baa849237b5a7bbb7051502e Mon Sep 17 00:00:00 2001 From: Shivesh Mandalia Date: Thu, 23 Sep 2021 15:09:20 +0100 Subject: Implement hiding of the window frame - Config option to set whether the frame is hidden on start - Keyboard shortcut to toggle whether the frame is hidden or not --- config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 90afef1..eb48ad7 100644 --- a/config.h +++ b/config.h @@ -14,6 +14,7 @@ static const char titletrim[] = "..."; static const int tabwidth = 200; static const Bool foreground = True; static Bool urgentswitch = False; +static Bool hideframe = True; /* * Where to place a new tab when it is opened. When npisrelative is True, @@ -63,5 +64,6 @@ static Key keys[] = { // { CTRLMODKEY, XK_u, focusurgent, { 0 } }, // { CTRLMODKEY|ShiftMask, XK_u, toggle, { .v = (void*) &urgentswitch } }, + { 0, XK_F10, toggleframe, { 0 } }, { 0, XK_F11, fullscreen, { 0 } }, }; -- cgit v1.2.3