diff options
| author | brustybee <beebeeb5k@gmail.com> | 2026-04-02 23:50:09 +0530 |
|---|---|---|
| committer | brustybee <beebeeb5k@gmail.com> | 2026-04-02 23:50:09 +0530 |
| commit | 141855bcaed2d386107240f4090bf7f4a7364f7f (patch) | |
| tree | eee7e3e8bf34e14c1a1d610a217367e4aa98cb32 | |
| parent | 6b6db64866587aabf434a1fcaa6d8cd235c00342 (diff) | |
chnage zen ui font and add settings-persist script
| -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; } |
