xresources: remove unnecessary parentheses

This commit is contained in:
Robert Helgesson 2018-09-24 23:24:04 +02:00
parent 7cc36b7703
commit 6957911657
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