diff options
| -rw-r--r-- | common/modules/mango/default.nix | 12 | ||||
| -rw-r--r-- | common/modules/matugen/templates/matugen-zen.nix | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/common/modules/mango/default.nix b/common/modules/mango/default.nix index b32d86e..ec675aa 100644 --- a/common/modules/mango/default.nix +++ b/common/modules/mango/default.nix @@ -36,6 +36,17 @@ let smart-ghostty else config.beeMods.terminal.default; + settings-persist = pkgs.writeShellScript "settings-persist" '' + SETTINGS_FILE="$HOME/.config/beeSettings" + + if [[ -f "$SETTINGS_FILE" ]]; then + IS_NIGHTMODE=$(${pkgs.ripgrep}/bin/rg "nightlight" "$SETTINGS_FILE" | cut -d"=" -f2) + + if [[ "$IS_NIGHTMODE" == "on" ]]; then + ${pkgs.wlsunset}/bin/wlsunset -T 4500 & + fi + fi + ''; in { imports = @@ -399,6 +410,7 @@ in ${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1 & gnome-keyring-daemon --start --components=secrets,ssh,pkcs11 & awww-daemon -q & + ${settings-persist} ${lib.optionalString (config.beeMods.dwm.enable) '' systemctl --user stop xidlehook.service diff --git a/common/modules/matugen/templates/matugen-zen.nix b/common/modules/matugen/templates/matugen-zen.nix index cd98991..313b754 100644 --- a/common/modules/matugen/templates/matugen-zen.nix +++ b/common/modules/matugen/templates/matugen-zen.nix @@ -133,7 +133,7 @@ } * { - font-family: "JetBrainsMono Nerd Font", monospace !important; + font-family: "IosevkaInput", monospace !important; border-radius: 0 !important; } |
