1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

layout: property::selected signal hack

This commit is contained in:
copycat-killer 2017-01-28 15:56:10 +01:00
parent d79dedd635
commit 2ce94d0fb6

View file

@ -175,6 +175,10 @@ local mymainmenu = freedesktop.menu.build({
-- }}} -- }}}
-- {{{ Screen -- {{{ Screen
-- if we want to be modular and see the layout icons at start
for s in screen do
s.selected_tag:emit_signal("property::layout")
end
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution) -- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)
screen.connect_signal("property::geometry", function(s) screen.connect_signal("property::geometry", function(s)
-- Wallpaper -- Wallpaper