feat(hyprlua): size filepicker dialog to 5% of the display
Add a size rule alongside the move so the zenity dialog no longer opens at its default ~50% size. zenity clamps to its GTK minimum (~738x363), which is well under half the screen. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>feat/astal-menu
parent
d9e6ee0f10
commit
54338f3602
|
|
@ -73,12 +73,13 @@ hl.window_rule({
|
|||
size = "(monitor_w*0.2) (monitor_h*0.2)",
|
||||
})
|
||||
|
||||
-- filepicker — float near the top-left, 5% into the display
|
||||
-- filepicker — float near the top-left, sized 5% of the display
|
||||
hl.window_rule({
|
||||
name = "filepicker",
|
||||
match = { tag = "filepicker" },
|
||||
float = true,
|
||||
move = "(monitor_w*0.05) (monitor_h*0.05)",
|
||||
size = "(monitor_w*0.05) (monitor_h*0.05)",
|
||||
})
|
||||
|
||||
-- spotify floating
|
||||
|
|
|
|||
Loading…
Reference in New Issue