Skip to content

Commit

Permalink
espanso: remove background process type on Darwin
Browse files Browse the repository at this point in the history
This leads to a considerably slower expansion time for snippets, which
severely degrades the user experience.

Also, the launchd plist from the source omits this key:

    https://github.com/espanso/espanso/blob/8daadcc949c35a7b7aa20b7f544fdcff83e2c5f7/espanso/src/res/macos/com.federicoterzi.espanso.plist

PR nix-community#5411
  • Loading branch information
n8henrie authored and rycee committed May 17, 2024
1 parent 65b74b2 commit e3ad510
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion modules/services/espanso.nix
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ in {
Crashed = true;
SuccessfulExit = false;
};
ProcessType = "Background";
RunAtLoad = true;
};
};
Expand Down
2 changes: 0 additions & 2 deletions tests/modules/services/espanso-darwin/launchd.plist
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
</dict>
<key>Label</key>
<string>org.nix-community.home.espanso</string>
<key>ProcessType</key>
<string>Background</string>
<key>ProgramArguments</key>
<array>
<string>@espanso@/bin/espanso</string>
Expand Down

0 comments on commit e3ad510

Please sign in to comment.