summaryrefslogtreecommitdiff
path: root/awesome
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-11-18 15:05:14 -0600
committerzachir <zachir@librem.one>2023-11-24 01:20:53 -0600
commitfa1b8d5a64d9ef26c9bdc5793a1fde2281afe1af (patch)
treef1ec6d2610a1ee70d6e711e39959fc3ec41de68d /awesome
parentd137776fc65ee57d7f278f25876806812c31460b (diff)
Add binding to hide statusbar
Diffstat (limited to 'awesome')
-rw-r--r--awesome/rc.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 8fb9770..2a0513b 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -615,7 +615,16 @@ globalkeys = gears.table.join(
function ()
awful.tag.incncol(-1, nil, true)
end,
- {description = "decrease the number of columns", group = "layout"})
+ {description = "decrease the number of columns", group = "layout"}),
+ --]]
+
+ ---[[ Hides the statusbar
+ awful.key({ modkey, "Shift" }, "b",
+ function ()
+ myscreen = awful.screen.focused()
+ myscreen.mywibox.visible = not myscreen.mywibox.visible
+ end,
+ { description = "toggle statusbar", group = "awesome" })
--]]
--[[ Changes the layout used