umbriel: scratchpad residents 48%x77% of the output, the size Fastmail was resized to

This commit is contained in:
Prad Nukala committed 2026-10-17 13:38:00 -04:00
1 parent baa8f7d436
commit 5bb0237339
2 files changed
+9 -7

No files matched your search

+2 -2
View File
@@ -61,7 +61,7 @@ The Studio Display's phantom 640x480 connector, which niri switched off as `DP-5
## Scratchpads
Named scratchpads replace Hyprland's `special:*` workspaces and `omarchy-toggle-scratch`. A window rule sends each app into its scratchpad when it opens; toggling an empty scratchpad runs `spawn_when_empty`. A shown scratchpad window floats as a 960 px square centered on the output under the pointer (`default_floating_size_px`, the last window rule in `rules.toml`; 960 fits the laptop panel's 1038 px usable height) over a desktop dimmed to 0.6. `animation.scratchpad.maximize` is off. The size is a default: a resident that was already open before the rule changed keeps its old geometry until it is reopened.
Named scratchpads replace Hyprland's `special:*` workspaces and `omarchy-toggle-scratch`. A window rule sends each app into its scratchpad when it opens; toggling an empty scratchpad runs `spawn_when_empty`. A shown scratchpad window floats centered on the output under the pointer at 48% × 77% of its usable area (`default_floating_size`, the last window rule in `rules.toml`: 1638×1109 on the ultrawide, 819×799 on the laptop panel, 1229×1109 on the Studio Display) over a desktop dimmed to 0.6. `animation.scratchpad.maximize` is off. The size is a default: a resident that was already open before the rule changed keeps its old geometry until it is reopened.
| Scratchpad | App id | Launch | Keys |
| --- | --- | --- | --- |
@@ -85,7 +85,7 @@ Named scratchpads replace Hyprland's `special:*` workspaces and `omarchy-toggle-
| title `Picture-in-Picture` / `Picture in picture` | floating, unfocused, opaque, 24 px from the top-right of `eDP-1` |
| YouTube and chat/mail/dashboard apps (`chromium`, Calendar, Discord, Slack, Gemini, Hermes, Todoist, Cloudflare web apps) | laptop panel, workspace 1, maximized |
| `zed`, `obsidian`, sticky notes, `vacuumtube`, `Fladder`, `kitty`, `kitty-herdr`, `kitty-tmux` | Apple Studio Display |
| the six scratchpad apps | their scratchpad, floating 960×960 centered |
| the six scratchpad apps | their scratchpad, floating 48% × 77% centered |
Noctalia's bar, panels, notifications, dock, OSD, and desktop widgets get blur through a layer rule.
+7 -5
View File
@@ -144,10 +144,12 @@ 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.
# Presentation shared by every scratchpad resident: floating, centered on the
# output, 48% × 77% of its usable area (1638×1109 on the ultrawide, the size
# Fastmail was resized to; 819×799 on the laptop panel; 1229×1109 on the Studio
# Display). Fractions rather than px so it fits the laptop's 1038px height.
# 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$",
@@ -156,7 +158,7 @@ match.app_id = [
]
default_floating = true
default_maximize = false
default_floating_size_px = { width = 960, height = 960 }
default_floating_size = { width = 0.48, height = 0.77 }
default_position = { x = 0, y = 0, anchor = "center" }
# ==============================================================================