umbriel: scratchpad residents float as a centered 960px square instead of maximized

This commit is contained in:
Prad Nukala committed 2026-10-17 13:36:49 -04:00
1 parent cdd0ee07ed
commit baa8f7d436
3 files changed
+21 -7

No files matched your search

+3 -3
View File
@@ -111,9 +111,9 @@ curve = "spring:0.78,1350"
curve = "spring:0.85,1463"
workspace_curve = "spring:0.78,1350"
# Hyprland's special workspaces show their app tiled over the whole output
# above a dimmed desktop; maximize is the scratchpad equivalent.
# Scratchpad residents float as a centered square (rules.toml, the last
# window rule) above a dimmed desktop, so maximize stays off here.
[animation.scratchpad]
curve = "spring:0.85,1463"
dim = 0.6
maximize = true
maximize = false
+16 -2
View File
@@ -119,8 +119,7 @@ default_output = "Apple Computer Inc StudioDisplay 0x984262A7"
match.title = "^Sticky Notes$"
default_output = "Apple Computer Inc StudioDisplay 0x984262A7"
# Scratchpad residents, last so they win over the placement rules above. Their
# presentation (maximized) is animation.scratchpad in config.toml.
# Scratchpad residents, last so they win over the placement rules above.
[[window_rule]]
match.app_id = "^so[.]stencil[.]tern$"
default_scratchpad = "tern"
@@ -145,6 +144,21 @@ default_scratchpad = "home"
match.app_id = "^ai[.]elementlabs[.]lmstudio$"
default_scratchpad = "lmstudio"
# Presentation shared by every scratchpad resident: a 960px square centered on
# the output (fits the laptop panel's 1038px usable height), floating so it
# never joins the strip. Last, so it overrides default_floating = false from
# the translucent-apps rule for Claude and Beeper.
[[window_rule]]
match.app_id = [
"^so[.]stencil[.]tern$", "^com[.]anthropic[.]Claude$",
"^com[.-]fastmail[.-][Ff]astmail$", "^Beeper$",
"^brave-home[.]google[.]com__", "^ai[.]elementlabs[.]lmstudio$",
]
default_floating = true
default_maximize = false
default_floating_size_px = { width = 960, height = 960 }
default_position = { x = 0, y = 0, anchor = "center" }
# ==============================================================================
# Layer rules