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" = { home.file.".Xresources" = {
text = text =
concatStringsSep "\n" ([] concatStringsSep "\n" ([]
++ (optional (cfg.extraConfig != "") cfg.extraConfig) ++ optional (cfg.extraConfig != "") cfg.extraConfig
++ (optionals (cfg.properties != null) (mapAttrsToList formatLine cfg.properties)) ++ optionals (cfg.properties != null) (mapAttrsToList formatLine cfg.properties)
) + "\n"; ) + "\n";
onChange = '' onChange = ''
if [[ -v DISPLAY ]] ; then if [[ -v DISPLAY ]] ; then