nwg-panel: fix clock size to actually be larger on lappy/desko

This commit is contained in:
Colin 2024-06-18 01:07:43 +00:00
parent 6f0a455d0b
commit ef29b569e5

View File

@ -23,7 +23,8 @@ in
# what looks good:
# - 15px on moby
# - 24px on lappy
default = lib.min 24 (cfg.config.fontSize - 1);
# there's about 10px padding total around this (above + below)
default = lib.min 24 (cfg.config.height - 11);
};
fontSize = mkOption {
type = types.int;