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-18 15:05:14 -0600
commit4c7225c1b3665bc981cbdedb6a791f137669057b (patch)
treebd432ed8a6d564f6c54ffc28c9fa3bdf67012a72 /awesome
parent167a4e06dca29940190f271fbd6652f15d3b04c3 (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 42cc9a1..73901d7 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