This commit is contained in:
Thomas Forgione 2024-06-22 12:20:07 +02:00
parent 3a1e45da46
commit 2607923971
1 changed files with 14 additions and 0 deletions

14
rc.lua
View File

@ -804,6 +804,20 @@ screen.connect_signal("arrange", function (s)
end
end)
-- Make wibar not on top when fullscreen clients
function toggle_wibar_ontop(c)
if c.fullscreen then
c.screen.mywibox.ontop = false
else
c.screen.mywibox.ontop = true
end
end
client.connect_signal("manage", toggle_wibar_ontop)
client.connect_signal("focus", toggle_wibar_ontop)
client.connect_signal("property::floating", toggle_wibar_ontop)
client.connect_signal("property::fullscreen", toggle_wibar_ontop)
-- awful.screen.set_auto_dpi_enabled(true)
-- load the widget code