From 695791165769f8ba5c5097af9acd62c2ddeceff7 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 --- modules/xresources.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/xresources.nix b/modules/xresources.nix index 96580f57..384008e2 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