From 2b157d127542950442d373c486635611f6db2191 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 10 Jul 2024 22:48:24 +0100 Subject: [PATCH] awesome: allow toggling the wibar with `Mod+b` --- config/awesome/rc.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index ce0a39b..a8aa9fb 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -498,6 +498,11 @@ for i = 1, 9 do end end, { description = "view tag #" .. i, group = "tag" }), + awful.key({ modkey }, "b", function() + local myscreen = awful.screen.focused() + myscreen.mywibox.visible = not myscreen.mywibox.visible + end, { description = "toggle statusbar" }), + -- Toggle tag display. awful.key({ modkey, "Control" }, "#" .. i + 9, function() local screen = awful.screen.focused()