replace theme.sh with custom Terminal profile switcher
1 file changed, 3 insertions(+), 16 deletions(-)
changed files
M user/settings/theme.nix → user/settings/theme.nix
@@ -54,10 +54,6 @@ }; }; }; - home.packages = with pkgs; [ - theme-sh - ]; - programs.nixvim.extraConfigVim = '' set notermguicolors '';@@ -88,22 +84,13 @@ home.sessionVariables = { CLICOLOR = "1"; LSCOLORS = "gxfxcxdxDxegedabagacad"; # for macOS's ls - THEME_LIGHT = "atelier-dune-light"; - THEME_DARK = "atelier-dune"; + TERMINAL_THEME_DARK = "Flexoki Dark"; + TERMINAL_THEME_LIGHT = "Flexoki Light"; }; programs.fish = { - shellAliases.theme = "theme.sh"; - - loginShellInit = '' - if test -e $XDG_CONFIG_HOME/.theme_history - theme.sh (theme.sh -l | tail -n1) - else - theme.sh $THEME_LIGHT - end - ''; interactiveShellInit = '' - bind ctrl-o toggle-light-dark + bind ctrl-o "sf terminal toggle-light-dark" ''; };