mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 13:06:35 +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)
|
awful.tag.incmwfact(0.05)
|
||||||
end, { description = "increase master width factor", group = "layout" }),
|
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.
|
-- Tag related keybindings.
|
||||||
awful.key({
|
awful.key({
|
||||||
modifiers = { modkey },
|
modifiers = { modkey },
|
||||||
|
Reference in New Issue
Block a user