* Make application transparency opt-in * Use the transparency helper for Kanagawa * Address transparency review findings * Toggle transparency for opaque windows too
21 lines
606 B
Lua
21 lines
606 B
Lua
-- Picture-in-picture overlays.
|
|
o.window({ title = "(Picture.?in.?[Pp]icture)" }, { tag = "+pip" })
|
|
o.window({ tag = "pip" }, {
|
|
float = true,
|
|
pin = true,
|
|
size = { 600, 338 },
|
|
keep_aspect_ratio = true,
|
|
border_size = 0,
|
|
move = { "(monitor_w-window_w-40)", "(monitor_h*0.04)" },
|
|
})
|
|
|
|
-- Google Meet PiP uses the meeting title instead of "Picture-in-Picture".
|
|
o.window({ tag = "chromium-based-browser", title = "^Meet - .+" }, {
|
|
float = true,
|
|
pin = true,
|
|
size = { 600, 338 },
|
|
keep_aspect_ratio = true,
|
|
border_size = 0,
|
|
move = { "(monitor_w-window_w-40)", "(monitor_h-window_h-40)" },
|
|
})
|