Keybind fixes for desktop elements

This commit is contained in:
elenapan 2020-03-18 08:50:15 +02:00
parent cbde9602e9
commit 2a912fc8fe

View file

@ -40,12 +40,16 @@ keys.desktopbuttons = gears.table.join(
-- Right click - Show app drawer
-- awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 3, function ()
app_drawer_show()
if app_drawer_show then
app_drawer_show()
end
end),
-- Middle button - Toggle dashboard
awful.button({ }, 2, function ()
dashboard_show()
if dashboard_show then
dashboard_show()
end
end),
-- Scrolling - Switch tags