Minor fix
This commit is contained in:
parent
ad3718e7a8
commit
24b01e0697
|
@ -186,7 +186,7 @@ vicious.register(cpuwidget, vicious.widgets.cpu, " $1 ", 1)
|
||||||
|
|
||||||
memwidget = wibox.widget.textbox()
|
memwidget = wibox.widget.textbox()
|
||||||
vicious.cache(vicious.widgets.mem)
|
vicious.cache(vicious.widgets.mem)
|
||||||
vicious.register(memwidget, vicious.widgets.mem, " $2 MiB ", 1)
|
vicious.register(memwidget, vicious.widgets.mem, " $2 MiB ", 1)
|
||||||
|
|
||||||
-- 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", set_wallpaper)
|
screen.connect_signal("property::geometry", set_wallpaper)
|
||||||
|
@ -259,6 +259,8 @@ awful.screen.connect_for_each_screen(function(s)
|
||||||
dock_hide_timer:connect_signal("timeout", function() stopgaps(s.mywibox) end )
|
dock_hide_timer:connect_signal("timeout", function() stopgaps(s.mywibox) end )
|
||||||
|
|
||||||
dock_trigger:connect_signal("mouse::enter", function() startgaps(s.mywibox) end)
|
dock_trigger:connect_signal("mouse::enter", function() startgaps(s.mywibox) end)
|
||||||
|
s.mywibox:connect_signal("mouse::enter", function() if dock_hide_timer.started then dock_hide_timer:stop() end end)
|
||||||
|
s.mywibox:connect_signal("mouse::leave", function() dock_hide_timer:again() end)
|
||||||
dock_trigger:connect_signal("mouse::enter", function() if dock_hide_timer.started then dock_hide_timer:stop() end end)
|
dock_trigger:connect_signal("mouse::enter", function() if dock_hide_timer.started then dock_hide_timer:stop() end end)
|
||||||
dock_trigger:connect_signal("mouse::leave", function() dock_hide_timer:again() end)
|
dock_trigger:connect_signal("mouse::leave", function() dock_hide_timer:again() end)
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue