1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 09:58:32 +02:00

qutebrowser: add support for list values in settings

This commit is contained in:
Terje Larsen 2020-04-09 17:40:37 +02:00 committed by Robert Helgesson
parent ee18288eeb
commit 5b7b9821e0
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,8 @@ let
(if v then "True" else "False") (if v then "True" else "False")
else if builtins.isString v then else if builtins.isString v then
''"${v}"'' ''"${v}"''
else if builtins.isList v then
"[${concatStringsSep ", " (map formatValue v)}]"
else else
builtins.toString v; builtins.toString v;
in if builtins.isAttrs v then in if builtins.isAttrs v then

View File

@ -15,6 +15,7 @@ with lib;
}; };
tabs.bar.bg = "#000000"; tabs.bar.bg = "#000000";
}; };
spellcheck.languages = [ "en-US" "sv-SE" ];
tabs.tabs_are_windows = true; tabs.tabs_are_windows = true;
}; };
@ -37,6 +38,7 @@ with lib;
c.colors.hints.bg = "#000000" c.colors.hints.bg = "#000000"
c.colors.hints.fg = "#ffffff" c.colors.hints.fg = "#ffffff"
c.colors.tabs.bar.bg = "#000000" c.colors.tabs.bar.bg = "#000000"
c.spellcheck.languages = ["en-US", "sv-SE"]
c.tabs.tabs_are_windows = True c.tabs.tabs_are_windows = True
# Extra qutebrowser configuration. # Extra qutebrowser configuration.
'' ''