theme: switch vivid theme alongside theme.sh
1 file changed, 12 insertions(+), 1 deletion(-)
changed files
M user/settings/theme.nix → user/settings/theme.nix
@@ -1,5 +1,7 @@ { + config, pkgs, + lib, inputs, ... }:@@ -53,7 +55,16 @@ else theme.sh flexoki-light end - bind \co last_theme + function __vivid_update --on-variable VIVID_THEME + set -gx LS_COLORS $(vivid ${ + let + vivid = config.programs.vivid; + in + lib.optionalString (vivid.colorMode != null) "-m ${vivid.colorMode}" + } generate $VIVID_THEME) + end + + bind \co toggle-light-dark ''; };