all repos — nixfiles @ b7be1fa6d865b963af6d212df87e09df33b228d5

System and user configuration, managed by nix and home-manager

replace theme.sh with custom Terminal profile switcher

Alin
commit

b7be1fa6d865b963af6d212df87e09df33b228d5

parent

fb01cdc53b6aaa83fb7df5c1fcb5fd1a93d63305

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 = {