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:
parent
ee18288eeb
commit
5b7b9821e0
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue