diff options
author | sefidel <contact@sefidel.net> | 2023-09-14 22:48:51 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-09-14 22:48:51 +0900 |
commit | 037b50d6087faf294c657cae944c4a10b6d5250c (patch) | |
tree | 38d01e93782b5f2fa140e62e6bcaf4a508f7b21c /home/profiles/gui/config/dunst.nix | |
parent | 75b3280002b55e0be4ac97fb180af2248c710106 (diff) | |
download | nixrc-037b50d6087faf294c657cae944c4a10b6d5250c.tar.gz nixrc-037b50d6087faf294c657cae944c4a10b6d5250c.zip |
feat(home): basic HiDPI support
Diffstat (limited to 'home/profiles/gui/config/dunst.nix')
-rw-r--r-- | home/profiles/gui/config/dunst.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/home/profiles/gui/config/dunst.nix b/home/profiles/gui/config/dunst.nix index 60ed15f..b614de5 100644 --- a/home/profiles/gui/config/dunst.nix +++ b/home/profiles/gui/config/dunst.nix @@ -1,6 +1,10 @@ -{ neotheme }: +{ config, neotheme }: with neotheme.colors; + +let + guiCfg = config.profiles.gui; +in { global = { padding = 8; @@ -19,7 +23,7 @@ with neotheme.colors; word_wrap = true; show_indicators = false; format = "<b>%s</b>\\n\\n%b"; - font = "Dina 10"; + font = "${guiCfg.font.name} ${toString guiCfg.font.size}"; frame_color = "#${color3}"; separator_color = "auto"; max_icon_size = 80; |