summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNick Hu <me@nickhu.co.uk>2024-10-17 23:30:31 +0100
committerNick Hu <me@nickhu.co.uk>2024-10-19 10:49:55 +0100
commit7ebf95a73e3b54e0f9c48f50fde29e96257417ac (patch)
treeb7d828d84c6ca76149c8b8b1b41f7ce6918553ac /tests
parent72e93853c2d16d1ce04a5e8eee6695e2493ca80d (diff)
style fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/services-aerospace.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/services-aerospace.nix b/tests/services-aerospace.nix
index 7656caf..8cbd292 100644
--- a/tests/services-aerospace.nix
+++ b/tests/services-aerospace.nix
@@ -27,7 +27,7 @@ in
grep "org.nixos.aerospace" ${config.out}/user/Library/LaunchAgents/org.nixos.aerospace.plist
grep "${aerospace}/Applications/AeroSpace.app/Contents/MacOS/AeroSpace" ${config.out}/user/Library/LaunchAgents/org.nixos.aerospace.plist
- conf=`sed -En '/<string>--config-path<\/string>/{n; s/\s+?<\/?string>//g; p;}' \
+ conf=`sed -En 's/^[[:space:]]*<string>.*--config-path (.*)<\/string>$/\1/p' \
${config.out}/user/Library/LaunchAgents/org.nixos.aerospace.plist`
echo >&2 "checking config in $conf"