From f4c13d3b54f0b1295fd7eba31cea14a4744f414a Mon Sep 17 00:00:00 2001 From: Jonathan Reeve Date: Wed, 29 Aug 2018 11:30:30 -0400 Subject: [PATCH] polybar: correcting indentation --- modules/services/polybar.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/polybar.nix b/modules/services/polybar.nix index 3bdc836e..c6ac01fb 100644 --- a/modules/services/polybar.nix +++ b/modules/services/polybar.nix @@ -10,7 +10,7 @@ let toPolybarIni = generators.toINI { mkKeyValue = key: value: - let + let quoted = v: if hasPrefix " " v || hasSuffix " " v then ''"${v}"'' @@ -20,7 +20,7 @@ let if isBool value then (if value then "true" else "false") else if (isString value && key != "include-file") then quoted value else toString value; - in + in "${key}=${value'}"; };