diff --git a/basic/windows.lua b/basic/windows.lua index 1848877..815ca49 100644 --- a/basic/windows.lua +++ b/basic/windows.lua @@ -76,13 +76,25 @@ hl.workspace_rule({ 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( hl.window_rule( { name = "move-hyprland-run", - match = {class = "hyprland-run"}, move = {20,"monitor_h-120"}, - float = true + float = true, }) hl.window_rule( {