aboutsummaryrefslogtreecommitdiff
path: root/modules/xresources.nix
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2018-09-24 23:24:04 +0200
committerRobert Helgesson <robert@rycee.net>2018-09-24 23:24:04 +0200
commit695791165769f8ba5c5097af9acd62c2ddeceff7 (patch)
tree015ddd6815997c664635db1a7a2fadcc4d8c3af3 /modules/xresources.nix
parent7cc36b7703ccd38f392599a4b1eebf3e4586fc65 (diff)
xresources: remove unnecessary parentheses
Diffstat (limited to 'modules/xresources.nix')
-rw-r--r--modules/xresources.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/xresources.nix b/modules/xresources.nix
index 96580f575a2..384008e2450 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