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
@@ -1,10 +1,10 @@
|
||||
#!/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
|
||||
|
||||
# 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
|
||||
# resident apps (class pattern -> launch command; the pattern is an anchored
|
||||
@@ -29,11 +29,6 @@ scratchpad)
|
||||
HOME_MONITOR=$EXTERNAL
|
||||
MEMBERS=("so.stencil.tern|tern")
|
||||
;;
|
||||
claude)
|
||||
NAME="claude"
|
||||
HOME_MONITOR=$EXTERNAL
|
||||
MEMBERS=("com.anthropic.Claude|claude-desktop")
|
||||
;;
|
||||
fastmail)
|
||||
NAME="fastmail"
|
||||
HOME_MONITOR="eDP-1"
|
||||
@@ -53,7 +48,7 @@ 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
|
||||
;;
|
||||
esac
|
||||
@@ -121,7 +116,7 @@ for member in "${MEMBERS[@]}"; do
|
||||
done
|
||||
|
||||
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
|
||||
# reveal after the window lands keeps this correct whether or not the rule
|
||||
# already showed the workspace.
|
||||
|
||||
Reference in new issue
Block a user