polybar: correcting indentation
This commit is contained in:
parent
6d7d5106e6
commit
f4c13d3b54
|
@ -10,7 +10,7 @@ let
|
||||||
|
|
||||||
toPolybarIni = generators.toINI {
|
toPolybarIni = generators.toINI {
|
||||||
mkKeyValue = key: value:
|
mkKeyValue = key: value:
|
||||||
let
|
let
|
||||||
quoted = v:
|
quoted = v:
|
||||||
if hasPrefix " " v || hasSuffix " " v
|
if hasPrefix " " v || hasSuffix " " v
|
||||||
then ''"${v}"''
|
then ''"${v}"''
|
||||||
|
@ -20,7 +20,7 @@ let
|
||||||
if isBool value then (if value then "true" else "false")
|
if isBool value then (if value then "true" else "false")
|
||||||
else if (isString value && key != "include-file") then quoted value
|
else if (isString value && key != "include-file") then quoted value
|
||||||
else toString value;
|
else toString value;
|
||||||
in
|
in
|
||||||
"${key}=${value'}";
|
"${key}=${value'}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue