1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01: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")
else if builtins.isString v then
''"${v}"''
else if builtins.isList v then
"[${concatStringsSep ", " (map formatValue v)}]"
else
builtins.toString v;
in if builtins.isAttrs v then

View file

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