nixos-config/user/qutebrowser/fonts.nix

36 lines
858 B
Nix
Raw Normal View History

2023-01-26 10:20:56 -03:00
{ pkgs, ... }:
let
inherit (pkgs.uservars) font;
in
{
programs.qutebrowser.settings.fonts =
let
mkFont = name: size: "${toString size}px ${name}";
DEF_MONO = mkFont font.mono font.size.medium;
BIG_MONO = mkFont font.mono font.size.big;
DEF_INTER = mkFont font.interface font.size.medium;
BIG_INTER = mkFont font.interface font.size.big;
in
{
debug_console = BIG_INTER;
downloads = BIG_INTER;
hints = "bold " + BIG_MONO;
keyhint = BIG_INTER;
prompts = BIG_INTER;
statusbar = DEF_MONO;
completion = {
entry = BIG_INTER;
category = BIG_INTER;
};
messages = {
error = DEF_INTER;
info = DEF_INTER;
warning = DEF_INTER;
2023-01-26 10:20:56 -03:00
};
tabs = {
selected = BIG_INTER;
unselected = BIG_INTER;
2023-01-26 10:20:56 -03:00
};
};
}