mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
docs(docs): add Google Home scratch binding and update omarchy-toggle-scratch options
This commit is contained in:
1 parent
20e5de67bb
commit
348ffc0a49
1 file changed
+4
-5
@@ -64,13 +64,11 @@ Omarchy's default bindings stay enabled. `omarchy_default_bindings` and `omarchy
|
||||
| `^com\.anthropic\.Claude$` | `special:claude silent` |
|
||||
| `^com\.fastmail\.Fastmail$` | `special:fastmail silent` |
|
||||
| `^Beeper$` | `special:beeper silent` |
|
||||
| `^com\.mitchellh\.ghostty$` | `group = "set"`: opens as a group (tabbed, with a groupbar) |
|
||||
| `^brave-home\.google\.com__.*` | `special:home silent` |
|
||||
| `brave-(www\.)?youtube\.com__.*`, title not matching `.*Picture.?in.?[Pp]icture.*` | Float, pin, size 30% × 30% of the monitor, move to `10, monitor_h*0.7-10` (bottom-left corner) |
|
||||
|
||||
Scratch residents are placed `silent` so that [`omarchy-toggle-scratch`](#omarchy-toggle-scratch) decides when to reveal them. The YouTube rule matches both `youtube.com` and `www.youtube.com` because Chromium's class changes once a video plays. It excludes the picture-in-picture overlay so Omarchy's own PiP rule still applies. Its size and inset must stay in sync with [`omarchy-pip`](#omarchy-pip).
|
||||
|
||||
Ghostty runs one tmux session per window and titles the window with the session name, so its groupbar reads as a list of sessions. With Omarchy's `group.auto_group`, more Ghostty windows opened while the group is focused join it. See [Ghostty](/terminal/ghostty#sessions).
|
||||
|
||||
## Input
|
||||
|
||||
`input.lua`:
|
||||
@@ -344,7 +342,7 @@ Runs `omarchy-hyprland-workspace-layout-toggle`, then polls the workspace layout
|
||||
### omarchy-toggle-scratch
|
||||
|
||||
```sh
|
||||
omarchy-toggle-scratch [scratchpad|fastmail|beeper]
|
||||
omarchy-toggle-scratch [scratchpad|claude|fastmail|beeper|home]
|
||||
```
|
||||
|
||||
| Profile | Special workspace | Home monitor | Residents (class → launch) |
|
||||
@@ -353,8 +351,9 @@ omarchy-toggle-scratch [scratchpad|fastmail|beeper]
|
||||
| `claude` | `special:claude` | Apple Studio Display | `com.anthropic.Claude` → `claude-desktop` |
|
||||
| `fastmail` | `special:fastmail` | focused | `com.fastmail.Fastmail` → `gtk-launch com.fastmail.Fastmail` |
|
||||
| `beeper` | `special:beeper` | focused | `Beeper` → `gtk-launch beeper` |
|
||||
| `home` | `special:home` | focused | `brave-home\.google\.com__.*` → `gtk-launch 'Google Home'` |
|
||||
|
||||
If the workspace is visible, the script hides it. If not, it launches any resident with no window there, waits up to 8 s for the first new window, and reveals the workspace on the home monitor (or the focused one if the home monitor is absent). Launching only missing residents avoids duplicate web-app windows. Bound to `SUPER + CTRL + S`, `SUPER + A`, `SUPER + CTRL + ALT + E`, and `SUPER + CTRL + ALT + M`.
|
||||
If the workspace is visible, the script hides it. If not, it launches any resident with no window there, waits up to 8 s for the first new window, and reveals the workspace on the home monitor (or the focused one if the home monitor is absent). Launching only missing residents avoids duplicate web-app windows. Bound to `SUPER + CTRL + S`, `SUPER + A`, `SUPER + CTRL + ALT + E`, `SUPER + CTRL + ALT + M`, and `SUPER + CTRL + H`.
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
Reference in new issue
Block a user