mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 08:17:01 +00:00
services/yabai: Remove --check-sa and --install-sa flags
The --check-sa and --install-sa flags were removed in favor of
--load-sa as of version 5.0.0 of Yabai.
ee0137f37d/CHANGELOG.md (L83)
This commit is contained in:
parent
4496ab2662
commit
30311b6f90
1 changed files with 1 additions and 8 deletions
|
@ -90,14 +90,7 @@ in
|
|||
# TODO: [@cmacrae] Handle removal of yabai scripting additions
|
||||
(mkIf (cfg.enableScriptingAddition) {
|
||||
launchd.daemons.yabai-sa = {
|
||||
script = ''
|
||||
if [ ! $(${cfg.package}/bin/yabai --check-sa) ]; then
|
||||
${cfg.package}/bin/yabai --install-sa
|
||||
fi
|
||||
|
||||
${cfg.package}/bin/yabai --load-sa
|
||||
'';
|
||||
|
||||
script = "${cfg.package}/bin/yabai --load-sa";
|
||||
serviceConfig.RunAtLoad = true;
|
||||
serviceConfig.KeepAlive.SuccessfulExit = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue