added floating firefox window rule for more convenient firefox video

player popouts. Need to make it not full screen every time
This commit is contained in:
venus
2026-09-10 20:00:32 -05:00
parent b828c9586b
commit 1881e0f059
+14 -2
View File
@@ -76,13 +76,25 @@ hl.workspace_rule({
gaps_out = 10 gaps_out = 10
}) })
-- Set firefox floating player to float and pin it
hl.window_rule( {
name = "floating player",
match = {class = "^firefox", initial_title = "^Picture-in-Picture"},
float = true,
pin = true,
center = true,
-- keepaspectratio = true,
move = {"3500", "50" },
keep_aspect_ratio = true,
persistent_size = true
})
-- Hyprland-run hl.window_rule( -- Hyprland-run hl.window_rule(
hl.window_rule( { hl.window_rule( {
name = "move-hyprland-run", name = "move-hyprland-run",
match = {class = "hyprland-run"},
move = {20,"monitor_h-120"}, move = {20,"monitor_h-120"},
float = true float = true,
}) })
hl.window_rule( { hl.window_rule( {