summaryrefslogtreecommitdiff
path: root/mut
diff options
context:
space:
mode:
Diffstat (limited to 'mut')
-rw-r--r--mut/aerospace/aerospace.toml11
-rwxr-xr-xmut/bin/pnsh-nvim2
2 files changed, 10 insertions, 3 deletions
diff --git a/mut/aerospace/aerospace.toml b/mut/aerospace/aerospace.toml
index c11e5c5..ce9f5fd 100644
--- a/mut/aerospace/aerospace.toml
+++ b/mut/aerospace/aerospace.toml
@@ -102,9 +102,16 @@ automatically-unhide-macos-hidden-apps = false
end if
end tell'
'''
+
cmd-w = '''exec-and-forget osascript -e '
- tell application "Chrome"
- activate
+ tell application "System Events"
+ if exists application process "Google Chrome" then
+ tell application process "Google Chrome"
+ click menu item "New Window" of menu "File" of menu bar 1
+ end tell
+ else
+ tell application "Google Chrome" to activate
+ end if
end tell'
'''
diff --git a/mut/bin/pnsh-nvim b/mut/bin/pnsh-nvim
index 30d8508..f23fd6f 100755
--- a/mut/bin/pnsh-nvim
+++ b/mut/bin/pnsh-nvim
@@ -37,5 +37,5 @@ $" --volume=($env | default "/var/run" XDG_RUNTIME_DIR | get XDG_RUNTIME_DIR)/do
--pnsh-docker-extra-args=$"($args)"
--with-docker
--docker-image=pionativedev.azurecr.io/pionative/pnsh-nvim
- --docker-tag=latest
+ --docker-tag=darwin
)