1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2026-03-22 21:45:11 +00:00

freedesktop menu width change

This commit is contained in:
Toma Adrian Ionut 2022-10-14 18:14:36 +03:00
parent b6cfe394cc
commit 9a4563386f

View file

@ -199,7 +199,8 @@ awful.util.mymainmenu = freedesktop.menu.build {
before = {{"Awesome", myawesomemenu, beautiful.awesome_icon} -- other triads can be put here before = {{"Awesome", myawesomemenu, beautiful.awesome_icon} -- other triads can be put here
}, },
after = {{"Open terminal", terminal} -- 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 -- Hide the menu when the mouse leaves it
@ -976,9 +977,11 @@ client.connect_signal("request::titlebars", function(c)
end) end)
-- Enable sloppy focus, so that focus follows mouse. -- Enable sloppy focus, so that focus follows mouse.
-- client.connect_signal("mouse::enter", function(c) client.connect_signal("mouse::enter", function(c)
-- c:emit_signal("request::activate", "mouse_enter", {raise = vi_focus}) c:emit_signal("request::activate", "mouse_enter", {
-- end) raise = vi_focus
})
end)
client.connect_signal("focus", function(c) client.connect_signal("focus", function(c)
c.border_color = beautiful.border_focus c.border_color = beautiful.border_focus