toggle wibar
This commit is contained in:
parent
5c8bfa72a0
commit
9d8bbd6735
1 changed files with 11 additions and 0 deletions
|
@ -244,6 +244,17 @@ awful.keyboard.append_global_keybindings({
|
||||||
--awful.keyboard.append_global_keybindings({
|
--awful.keyboard.append_global_keybindings({
|
||||||
-- awful.key({ modkey }, "=", function () awful.screen.focused().systray.visible = not awful.screen.focused().systray.visible end, {description = "Toggle systray visibility", group = "custom"})
|
-- awful.key({ modkey }, "=", function () awful.screen.focused().systray.visible = not awful.screen.focused().systray.visible end, {description = "Toggle systray visibility", group = "custom"})
|
||||||
--})
|
--})
|
||||||
|
|
||||||
|
-- Bar :
|
||||||
|
awful.keyboard.append_global_keybindings({
|
||||||
|
awful.key({ modkey }, "=", function ()
|
||||||
|
for s in screen do
|
||||||
|
s.mywibar.visible = not s.mywibar.visible
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
{description = "toggle wibox", group = "awesome"}),
|
||||||
|
})
|
||||||
|
|
||||||
awful.keyboard.append_global_keybindings({
|
awful.keyboard.append_global_keybindings({
|
||||||
awful.key({ alt }, "Tab", function() awesome.emit_signal("sidebar::toggle") end), -- Sidebar
|
awful.key({ alt }, "Tab", function() awesome.emit_signal("sidebar::toggle") end), -- Sidebar
|
||||||
awful.key({ alt }, "t", function() awful.titlebar.toggle(client.focus) end),
|
awful.key({ alt }, "t", function() awful.titlebar.toggle(client.focus) end),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue