replace theme.sh with custom Terminal profile switcher
1 file changed, 12 insertions(+), 0 deletions(-)
changed files
M user/settings/darwin.nix → user/settings/darwin.nix
@@ -107,6 +107,18 @@ )) ]; }; }; + set-terminal-theme = { + enable = true; + config = { + WatchPaths = [ "${config.home.homeDirectory}/Library/Preferences/.GlobalPreferences.plist" ]; + RunAtLoad = true; + KeepAlive = false; + ProgramArguments = [ + "/usr/bin/osascript" + (builtins.toString ../../scripts/terminal/set-terminal-theme.applescript) + ]; + }; + }; }; home.shellAliases = {