hypr: drop Claude scratch workspace
This commit is contained in:
1 parent
87b4d8c4ee
commit
f7e9f7b6bd
3 files changed
+8
-14
No files matched your search
@@ -64,7 +64,6 @@ Omarchy's default bindings stay enabled. `omarchy_default_bindings` and `omarchy
|
|||||||
| `^brave-www\.tldraw\.com__-Default$` | Workspace 3 |
|
| `^brave-www\.tldraw\.com__-Default$` | Workspace 3 |
|
||||||
| `^tldraw-offline$` | Workspace 5, fullscreen |
|
| `^tldraw-offline$` | Workspace 5, fullscreen |
|
||||||
| `^so\.stencil\.tern$` | `special:scratchpad silent` |
|
| `^so\.stencil\.tern$` | `special:scratchpad silent` |
|
||||||
| `^com\.anthropic\.Claude$` | `special:claude silent` |
|
|
||||||
| `^com\.fastmail\.Fastmail$` | `special:fastmail silent` |
|
| `^com\.fastmail\.Fastmail$` | `special:fastmail silent` |
|
||||||
| `^Beeper$` | `special:beeper silent` |
|
| `^Beeper$` | `special:beeper silent` |
|
||||||
| `^brave-home\.google\.com__.*` | `special:home silent` |
|
| `^brave-home\.google\.com__.*` | `special:home silent` |
|
||||||
@@ -231,7 +230,8 @@ Named workspaces provide the per-app workspaces. `SUPER + ALT + S` (send to scra
|
|||||||
|
|
||||||
| Keys | Action | Replaces |
|
| Keys | Action | Replaces |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `SUPER + CTRL + A` | Claude: `omarchy-launch-or-focus claude "gtk-launch com.anthropic.Claude"` | audio panel |
|
| `SUPER + CTRL + ALT + L` | Claude Desktop: `omarchy-launch-or-focus com.anthropic.Claude claude-desktop`; an ordinary window, no scratch workspace | — |
|
||||||
|
| `SUPER + CTRL + A` | Unbound | audio panel |
|
||||||
| `SUPER + CTRL + G` | Gemini: `omarchy-launch-or-focus gemini "gtk-launch gemini-desktop"` | — |
|
| `SUPER + CTRL + G` | Gemini: `omarchy-launch-or-focus gemini "gtk-launch gemini-desktop"` | — |
|
||||||
| `SUPER + CTRL + ALT + H` | `omarchy-cycle ai` | — |
|
| `SUPER + CTRL + ALT + H` | `omarchy-cycle ai` | — |
|
||||||
| `SUPER + CTRL + ALT + J` | `omarchy-cycle-terminal` | — |
|
| `SUPER + CTRL + ALT + J` | `omarchy-cycle-terminal` | — |
|
||||||
@@ -364,13 +364,12 @@ Runs `omarchy-hyprland-workspace-layout-toggle`, then polls the workspace layout
|
|||||||
### omarchy-toggle-scratch
|
### omarchy-toggle-scratch
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
omarchy-toggle-scratch [scratchpad|claude|fastmail|beeper|home|lmstudio]
|
omarchy-toggle-scratch [scratchpad|fastmail|beeper|home|lmstudio]
|
||||||
```
|
```
|
||||||
|
|
||||||
| Profile | Special workspace | Home monitor | Residents (class → launch) |
|
| Profile | Special workspace | Home monitor | Residents (class → launch) |
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
| `scratchpad` | `special:scratchpad` | Studio Display, else Samsung ultrawide | `so.stencil.tern` → `tern` |
|
| `scratchpad` | `special:scratchpad` | Studio Display, else Samsung ultrawide | `so.stencil.tern` → `tern` |
|
||||||
| `claude` | `special:claude` | Studio Display, else Samsung ultrawide | `com.anthropic.Claude` → `claude-desktop` |
|
|
||||||
| `fastmail` | `special:fastmail` | `eDP-1` | `com.fastmail.Fastmail` → `gtk-launch com.fastmail.Fastmail` |
|
| `fastmail` | `special:fastmail` | `eDP-1` | `com.fastmail.Fastmail` → `gtk-launch com.fastmail.Fastmail` |
|
||||||
| `beeper` | `special:beeper` | `eDP-1` | `Beeper` → `gtk-launch beeper` |
|
| `beeper` | `special:beeper` | `eDP-1` | `Beeper` → `gtk-launch beeper` |
|
||||||
| `home` | `special:home` | focused | `brave-home\.google\.com__.*` → `gtk-launch 'Google Home'` |
|
| `home` | `special:home` | focused | `brave-home\.google\.com__.*` → `gtk-launch 'Google Home'` |
|
||||||
|
|||||||
+1
-1
Submodule dot_config/hypr updated: 9c4902b0e2...f12995647d.
@@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# omarchy:summary=Toggle a scratch workspace (scratchpad, claude, fastmail, beeper, home, lmstudio), starting its resident apps when any is missing.
|
# omarchy:summary=Toggle a scratch workspace (scratchpad, fastmail, beeper, home, lmstudio), starting its resident apps when any is missing.
|
||||||
|
|
||||||
set -uo pipefail
|
set -uo pipefail
|
||||||
|
|
||||||
# Usage: omarchy-toggle-scratch [scratchpad|claude|fastmail|beeper|home|lmstudio]
|
# Usage: omarchy-toggle-scratch [scratchpad|fastmail|beeper|home|lmstudio]
|
||||||
#
|
#
|
||||||
# Each profile is a special workspace, the monitor it opens on, and its
|
# Each profile is a special workspace, the monitor it opens on, and its
|
||||||
# resident apps (class pattern -> launch command; the pattern is an anchored
|
# resident apps (class pattern -> launch command; the pattern is an anchored
|
||||||
@@ -29,11 +29,6 @@ scratchpad)
|
|||||||
HOME_MONITOR=$EXTERNAL
|
HOME_MONITOR=$EXTERNAL
|
||||||
MEMBERS=("so.stencil.tern|tern")
|
MEMBERS=("so.stencil.tern|tern")
|
||||||
;;
|
;;
|
||||||
claude)
|
|
||||||
NAME="claude"
|
|
||||||
HOME_MONITOR=$EXTERNAL
|
|
||||||
MEMBERS=("com.anthropic.Claude|claude-desktop")
|
|
||||||
;;
|
|
||||||
fastmail)
|
fastmail)
|
||||||
NAME="fastmail"
|
NAME="fastmail"
|
||||||
HOME_MONITOR="eDP-1"
|
HOME_MONITOR="eDP-1"
|
||||||
@@ -53,7 +48,7 @@ lmstudio)
|
|||||||
MEMBERS=("ai\.elementlabs\.lmstudio|gtk-launch ai.elementlabs.lmstudio")
|
MEMBERS=("ai\.elementlabs\.lmstudio|gtk-launch ai.elementlabs.lmstudio")
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "usage: ${0##*/} [scratchpad|claude|fastmail|beeper|home|lmstudio]" >&2
|
echo "usage: ${0##*/} [scratchpad|fastmail|beeper|home|lmstudio]" >&2
|
||||||
exit 2
|
exit 2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -121,7 +116,7 @@ for member in "${MEMBERS[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if ((launched)); then
|
if ((launched)); then
|
||||||
# Reveal once the first newcomer lands (Claude takes a few seconds); any
|
# Reveal once the first newcomer lands (Electron apps take a few seconds); any
|
||||||
# later ones drop straight onto the now-visible scratchpad. Deciding the
|
# later ones drop straight onto the now-visible scratchpad. Deciding the
|
||||||
# reveal after the window lands keeps this correct whether or not the rule
|
# reveal after the window lands keeps this correct whether or not the rule
|
||||||
# already showed the workspace.
|
# already showed the workspace.
|
||||||
|
|||||||
Reference in new issue
Block a user