From 091f52197d9179d902d33d348d2e1c4f66defc06 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Mon, 24 Sep 2018 23:24:04 +0200 Subject: [PATCH] xresources: remove unnecessary parentheses (cherry picked from commit 695791165769f8ba5c5097af9acd62c2ddeceff7) --- modules/xresources.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/xresources.nix b/modules/xresources.nix index 96580f575..384008e24 100644 --- a/modules/xresources.nix +++ b/modules/xresources.nix @@ -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