From 9a4563386f6d2859be33c52b430582a1aa8b0568 Mon Sep 17 00:00:00 2001 From: Toma Adrian Ionut Date: Fri, 14 Oct 2022 18:14:36 +0300 Subject: [PATCH] freedesktop menu width change --- themes/vertex/rc.lua.custom | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/themes/vertex/rc.lua.custom b/themes/vertex/rc.lua.custom index d2ef161..7b85c4b 100644 --- a/themes/vertex/rc.lua.custom +++ b/themes/vertex/rc.lua.custom @@ -199,7 +199,8 @@ awful.util.mymainmenu = freedesktop.menu.build { before = {{"Awesome", myawesomemenu, beautiful.awesome_icon} -- other triads can be put here }, after = {{"Open terminal", terminal} -- other triads can be put here - } + }, + width = 250 } -- Hide the menu when the mouse leaves it @@ -976,9 +977,11 @@ client.connect_signal("request::titlebars", function(c) end) -- Enable sloppy focus, so that focus follows mouse. --- client.connect_signal("mouse::enter", function(c) --- c:emit_signal("request::activate", "mouse_enter", {raise = vi_focus}) --- end) +client.connect_signal("mouse::enter", function(c) + c:emit_signal("request::activate", "mouse_enter", { + raise = vi_focus + }) +end) client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus