first commit
This commit is contained in:
@@ -0,0 +1,90 @@
|
||||
local inFocusOpacity = "0.95"
|
||||
local notInFocusOpacity = "0.8"
|
||||
|
||||
|
||||
|
||||
hl.window_rule({
|
||||
suppress_event = "maximize",
|
||||
match = {
|
||||
class = ".*"
|
||||
}
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
no_initial_focus = true,
|
||||
match = {
|
||||
class = "^$",
|
||||
title = "^$",
|
||||
xwayland = 1,
|
||||
float = 1,
|
||||
fullscreen = 0,
|
||||
pin = 0
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
hl.window_rule({
|
||||
opacity = inFocusOpacity .. " " .. notInFocusOpacity,
|
||||
match = { title = "^.*().*$" }
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
opacity = "0.80",
|
||||
float = true,
|
||||
size = { 600, 400 },
|
||||
match = { class = "^(nwg-displays)$" }
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
opacity = 0.80,
|
||||
float = true,
|
||||
size = { 600, 400 },
|
||||
match = { class = "^(blueman-manager)$" }
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
opacity = 0.80,
|
||||
float = true,
|
||||
size = { 600, 400 },
|
||||
match = { class = "^(org.pulseaudio.pavucontrol)$" }
|
||||
})
|
||||
|
||||
|
||||
-- xwaylandvideobridge
|
||||
hl.window_rule({
|
||||
opacity = "0.0 override",
|
||||
no_anim = 1,
|
||||
no_initial_focus = 1,
|
||||
no_focus = 1,
|
||||
max_size = { 1, 1 },
|
||||
no_blur = 1,
|
||||
match = { class = "^(xwaylandvideobridge)$" }
|
||||
})
|
||||
|
||||
|
||||
|
||||
-- Picture in Picture
|
||||
hl.window_rule({
|
||||
float = true,
|
||||
tile = false,
|
||||
opacity = "1.0",
|
||||
pin = true,
|
||||
match = {
|
||||
title = "(Picture in picture)"
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
-- Spotify mini player
|
||||
hl.window_rule({
|
||||
float = true,
|
||||
tile = false,
|
||||
opacity = "1.0 0.75",
|
||||
size={419, 56},
|
||||
move={1482, 1006},
|
||||
pin = true,
|
||||
match = {
|
||||
workspace = "special:music",
|
||||
class="Chromium-browser",
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user