mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
feat(awesomeWM): add keybinding to toggle the bar
This commit is contained in:
@ -103,6 +103,15 @@ awful.keyboard.append_global_keybindings({
|
||||
awful.tag.incmwfact(0.05)
|
||||
end, { description = "increase master width factor", group = "layout" }),
|
||||
|
||||
-- Wibar related keybindings.
|
||||
awful.key({ modkey, mod.shift }, "b", function()
|
||||
for s in screen do
|
||||
if s.mywibox then
|
||||
s.mywibox.visible = not s.mywibox.visible
|
||||
end
|
||||
end
|
||||
end, { description = "hide bar", group = "layout" }),
|
||||
|
||||
-- Tag related keybindings.
|
||||
awful.key({
|
||||
modifiers = { modkey },
|
||||
|
Reference in New Issue
Block a user