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:
+14
-2
@@ -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( {
|
||||
|
||||
Reference in New Issue
Block a user