Skip to content

Commit

Permalink
Desktop menu now hides when you left click outside of it. As it should.
Browse files Browse the repository at this point in the history
  • Loading branch information
LycanDarko666 authored and SaintRyoh committed Jun 30, 2024
1 parent 20d0d5f commit 22bf049
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rabbithole/components/buttons/global.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ return setmetatable({}, {
rabbithole__components__menus__main
)
local globalbuttons = gears.table.join(
-- hide menus on left-click
awful.button({ }, 1, function () rabbithole__components__menus__main:hide() end),
awful.button({ }, 3, function () rabbithole__components__menus__main:toggle() end)
--awful.button({ }, 4, awful.tag.viewnext),
--awful.button({ }, 5, awful.tag.viewprev)
Expand Down

0 comments on commit 22bf049

Please sign in to comment.