summaryrefslogtreecommitdiff
path: root/mut
diff options
context:
space:
mode:
authorroot <root@localhost>2025-01-21 17:25:31 +0000
committerroot <root@localhost>2025-01-21 17:25:31 +0000
commit6043502305e3d5ccc6c537d4ed085d8b2454c5c8 (patch)
treef620aad6bbc32ea6736bc0381a955acdc671be20 /mut
parent1c0865add6a293d2521aaa7424eb43efb2faad36 (diff)
use linux builder
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
)