espanso: fix accessibility permissions prompt for macos (#8180)

On macos 26 it seems that one has to run the binary from within the
application bundle to get the Accessibility prompt to work as expected

fixes https://github.com/nix-community/home-manager/issues/8179
This commit is contained in:
Nathan Henrie 2025-11-21 11:06:12 -07:00 committed by GitHub
parent 10cfa0099b
commit d10a9b16b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -205,7 +205,7 @@ in
enable = true;
config = {
ProgramArguments = [
"${cfg.package}/bin/espanso"
"${cfg.package}/Applications/Espanso.app/Contents/MacOS/espanso"
"launcher"
];
EnvironmentVariables.PATH = "${cfg.package}/bin:/usr/bin:/bin:/usr/sbin:/sbin";

View file

@ -18,7 +18,7 @@
<string>org.nix-community.home.espanso</string>
<key>ProgramArguments</key>
<array>
<string>@espanso@/bin/espanso</string>
<string>@espanso@/Applications/Espanso.app/Contents/MacOS/espanso</string>
<string>launcher</string>
</array>
<key>RunAtLoad</key>