Reduce Settings to just Bar Settings
The other don't add enough over the Omarchy Menu
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-- Window and layer rules for the Omarchy Quickshell surfaces. The
|
||||
-- shell-wide bar / menu / popouts are layer-shell; the settings panel is
|
||||
-- a regular Hyprland window via Quickshell's FloatingWindow.
|
||||
-- shell-wide bar / menu / popouts are layer-shell; the bar settings panel
|
||||
-- is a regular Hyprland window via Quickshell's FloatingWindow.
|
||||
|
||||
-- Keep the menu instant: no layer-shell fade/slide animation.
|
||||
hl.layer_rule({ match = { namespace = "omarchy-menu" }, no_anim = true, animation = "none" })
|
||||
@@ -8,13 +8,13 @@ hl.layer_rule({ match = { namespace = "omarchy-menu" }, no_anim = true, animatio
|
||||
-- Image selector overlay should also pop without animation.
|
||||
hl.layer_rule({ match = { namespace = "omarchy-image-selector" }, no_anim = true, animation = "none" })
|
||||
|
||||
-- Settings panel floats centered with a sensible default size instead of
|
||||
-- Bar settings floats centered with a sensible default size instead of
|
||||
-- tiling — it's a transient dialog, not a workspace surface.
|
||||
hl.window_rule({ match = { class = "^org.quickshell$", title = "^Omarchy Settings$" }, float = true })
|
||||
hl.window_rule({ match = { class = "^org.quickshell$", title = "^Omarchy Settings$" }, center = true })
|
||||
hl.window_rule({ match = { class = "^org.quickshell$", title = "^Omarchy Settings$" }, size = { 960, 700 } })
|
||||
hl.window_rule({ match = { class = "^org.quickshell$", title = "^Omarchy Bar Settings$" }, float = true })
|
||||
hl.window_rule({ match = { class = "^org.quickshell$", title = "^Omarchy Bar Settings$" }, center = true })
|
||||
hl.window_rule({ match = { class = "^org.quickshell$", title = "^Omarchy Bar Settings$" }, size = { 760, 620 } })
|
||||
|
||||
-- Per-widget settings dialog opens as a smaller FloatingWindow off the
|
||||
-- settings panel; keep it floating with its own default size.
|
||||
-- bar settings panel; keep it floating with its own default size.
|
||||
hl.window_rule({ match = { class = "^org.quickshell$", title = "^Widget settings " }, float = true })
|
||||
hl.window_rule({ match = { class = "^org.quickshell$", title = "^Widget settings " }, size = { 380, 320 } })
|
||||
|
||||
Reference in New Issue
Block a user