From 2f726527409398f44065f747c53b8484fddcf3fd Mon Sep 17 00:00:00 2001 From: Luca CPZ Date: Sun, 23 Dec 2018 21:03:45 +0100 Subject: [PATCH] freedesktop.menu: add (commented) signal for hiding when mouse leaves --- lain | 2 +- rc.lua.template | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lain b/lain index 8d1a905..1342ae4 160000 --- a/lain +++ b/lain @@ -1 +1 @@ -Subproject commit 8d1a9054798accb9dfe754fcaf6264609787868d +Subproject commit 1342ae481bc727c45a7e773ec8f815177a9299f5 diff --git a/rc.lua.template b/rc.lua.template index 515bf62..75f8026 100644 --- a/rc.lua.template +++ b/rc.lua.template @@ -207,6 +207,9 @@ awful.util.mymainmenu = freedesktop.menu.build({ -- other triads can be put here } }) +-- hide menu when mouse leaves it +--awful.util.mymainmenu.wibox:connect_signal("mouse::leave", function() awful.util.mymainmenu:hide() end) + --menubar.utils.terminal = terminal -- Set the Menubar terminal for applications that require it -- }}}