qutebrowser: split config
This commit is contained in:
parent
5c58b4c78e
commit
b9ac3acbf6
3 changed files with 297 additions and 241 deletions
36
user/qutebrowser/fonts.nix
Normal file
36
user/qutebrowser/fonts.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ 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 = BIG_INTER;
|
||||
info = BIG_INTER;
|
||||
warning = BIG_INTER;
|
||||
};
|
||||
tabs = {
|
||||
selected = DEF_INTER;
|
||||
unselected = DEF_INTER;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue