From 5bb02373396eb11486c7a3dd3d4cef98bc49f3a9 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Sat, 17 Oct 2026 13:38:00 -0400 Subject: [PATCH] umbriel: scratchpad residents 48%x77% of the output, the size Fastmail was resized to --- docs/desktop/umbriel.mdx | 4 ++-- dot_config/umbriel/rules.toml | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/desktop/umbriel.mdx b/docs/desktop/umbriel.mdx index 63f13a4..cb5726c 100644 --- a/docs/desktop/umbriel.mdx +++ b/docs/desktop/umbriel.mdx @@ -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. diff --git a/dot_config/umbriel/rules.toml b/dot_config/umbriel/rules.toml index 0b5c7b2..a9c13ef 100644 --- a/dot_config/umbriel/rules.toml +++ b/dot_config/umbriel/rules.toml @@ -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" } # ==============================================================================