fix window corners (now drawn by awesome, not picom) and wrong center bar radius

This commit is contained in:
Kievits Rene
2022-04-20 08:03:49 +02:00
parent a7e4a1214f
commit 23ec565713
5 changed files with 14 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
-- Awesome Libs
local awful = require("awful")
local beautiful = require("beautiful")
local gears = require("gears")
screen.connect_signal(
"added",
@@ -22,6 +23,9 @@ client.connect_signal(
if awesome.startup and not c.size_hints.user_porition and not c.size_hints.program_position then
awful.placement.no_offscreen(c)
end
c.shape = function(cr, width, height)
gears.shape.rounded_rect(cr, width, height, 10)
end
end
)