1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-01-09 02:29:50 +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" = { 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