summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-11-18 15:05:14 -0600
committerzachir <zachir@librem.one>2023-11-18 15:06:31 -0600
commit73ac8f91cea35b9a89a4fc47d9613410aa30bb29 (patch)
treea2f12e71226bc7c64ae48b42abe0d1c3b86a64a4
parent78024fd968c9d0ba2c919c50afb16ce4b335d863 (diff)
Add binding to hide statusbar
-rw-r--r--awesome/rc.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 70141cf..a5605d1 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -643,7 +643,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