summaryrefslogtreecommitdiff
path: root/mut/aerospace
diff options
context:
space:
mode:
authorroot <root@localhost>2025-01-21 15:24:51 +0000
committerroot <root@localhost>2025-01-21 15:24:51 +0000
commit5290a23366f4941d5742ce20e55783b74eb3e4e1 (patch)
tree1cb3132168769b478169002fea27158b23e95224 /mut/aerospace
parentde6aa72099a2b8618562c2ab4230a2c2044655d2 (diff)
fix clipboard
Diffstat (limited to 'mut/aerospace')
-rw-r--r--mut/aerospace/aerospace.toml10
1 files changed, 8 insertions, 2 deletions
diff --git a/mut/aerospace/aerospace.toml b/mut/aerospace/aerospace.toml
index c5e9a16..c11e5c5 100644
--- a/mut/aerospace/aerospace.toml
+++ b/mut/aerospace/aerospace.toml
@@ -92,8 +92,14 @@ automatically-unhide-macos-hidden-apps = false
cmd-shift-d = 'exec-and-forget source /etc/profile; PATH="$HOME/.local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:$PATH" passmenu'
cmd-d = 'exec-and-forget source /etc/profile; PATH="$HOME/.local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:$PATH" dmenu'
cmd-enter = '''exec-and-forget osascript -e '
- tell application "Ghostty"
- activate
+ tell application "System Events"
+ if exists application process "Ghostty" then
+ tell application process "Ghostty"
+ click menu item "New Window" of menu "File" of menu bar 1
+ end tell
+ else
+ tell application "Ghostty" to activate
+ end if
end tell'
'''
cmd-w = '''exec-and-forget osascript -e '