From 008f8a61770c966a2a644ee8fa9a9dd15c84799d Mon Sep 17 00:00:00 2001 From: Malfurious Date: Mon, 22 Jun 2020 01:05:21 -0400 Subject: patch: autobar dwm will automatically hide the monitor's statusbar when only 1 tag is being utilized (viewing an empty tag counts as 'utilization'). The hotkey for controlling visibility manually is removed, and all monitors default to statusbar hidden at startup (since no clients would be active). --- config.def.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 9c6dc83..1b5b710 100644 --- a/config.def.h +++ b/config.def.h @@ -3,7 +3,6 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ -static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const char *fonts[] = { "monospace:size=10" }; static const char dmenufont[] = "monospace:size=10"; @@ -78,7 +77,6 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_z, spawn, {.v = slockucmd } }, { MODKEY|ShiftMask, XK_backslash, spawn, {.v = browsercmd } }, { MODKEY|ControlMask|ShiftMask, XK_backslash, spawn, {.v = browserpcmd } }, - { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY, XK_i, incnmaster, {.i = +1 } }, -- cgit v1.2.3