1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 00:59:44 +01:00

xresources: remove unnecessary parentheses

(cherry picked from commit 6957911657)
This commit is contained in:
Robert Helgesson 2018-09-24 23:24:04 +02:00
parent 68228fce93
commit 091f52197d
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -72,8 +72,8 @@ in
home.file.".Xresources" = {
text =
concatStringsSep "\n" ([]
++ (optional (cfg.extraConfig != "") cfg.extraConfig)
++ (optionals (cfg.properties != null) (mapAttrsToList formatLine cfg.properties))
++ optional (cfg.extraConfig != "") cfg.extraConfig
++ optionals (cfg.properties != null) (mapAttrsToList formatLine cfg.properties)
) + "\n";
onChange = ''
if [[ -v DISPLAY ]] ; then