mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Merge pull request #780 from kalbasit/update_yabai_sa_script
services/yabai: Remove --check-sa and --install-sa flags
This commit is contained in:
commit
91b9daf672
1 changed files with 1 additions and 8 deletions
|
@ -91,14 +91,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…
Reference in a new issue