Replace bar settings with inline config panel
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
-- Window and layer rules for the Omarchy Quickshell surfaces. The
|
||||
-- shell-wide bar / menu / popouts are layer-shell; the bar settings panel
|
||||
-- is a regular Hyprland window via Quickshell's FloatingWindow.
|
||||
-- shell-wide bar / menu / popouts are layer-shell.
|
||||
|
||||
-- Keep the bar instant: no layer-shell fade/slide animation.
|
||||
hl.layer_rule({ match = { namespace = "omarchy-bar" }, no_anim = true, animation = "none" })
|
||||
@@ -10,22 +9,6 @@ hl.layer_rule({ match = { namespace = "omarchy-bar" }, no_anim = true, animation
|
||||
-- QML opacity transition for normal open/close, and skip it for panel handoff.
|
||||
hl.layer_rule({ match = { namespace = "^(omarchy-menu|omarchy-launcher|omarchy-image-selector|omarchy-emojis|omarchy-clipboard|omarchy-keyboard-panel)$" }, no_anim = true, animation = "none" })
|
||||
|
||||
-- Bar settings floats centered with a sensible default size instead of
|
||||
-- tiling — it's a transient dialog, not a workspace surface.
|
||||
o.window({
|
||||
class = "^org.quickshell$",
|
||||
title = "^Omarchy Bar Settings$",
|
||||
}, {
|
||||
float = true,
|
||||
center = true,
|
||||
size = { 760, 620 },
|
||||
})
|
||||
|
||||
-- Dev gallery is the main shell workbench; open it maximized like
|
||||
-- SUPER+ALT+F so component previews have the whole workspace.
|
||||
o.window({ class = "^org.quickshell$", title = "^Omarchy shell – dev gallery$" }, { maximize = true })
|
||||
|
||||
-- Per-widget settings dialog opens as a smaller FloatingWindow off the
|
||||
-- bar settings panel; keep it floating with its own default size.
|
||||
o.window({ class = "^org.quickshell$", title = "^Widget settings " }, { float = true })
|
||||
o.window({ class = "^org.quickshell$", title = "^Widget settings " }, { size = { 380, 320 } })
|
||||
|
||||
Reference in New Issue
Block a user