mirror of
https://github.com/nix-community/home-manager
synced 2024-12-02 16:09:46 +01:00
polybar: fix the case when config value is a path
Polybar treats 'include-file' property differently. In particular, its value can't be enclosed in double quotes. Fixes #185.
This commit is contained in:
parent
071f7aea82
commit
1b0a5eb54a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ let
|
||||||
let
|
let
|
||||||
value' =
|
value' =
|
||||||
if isBool value then (if value then "true" else "false")
|
if isBool value then (if value then "true" else "false")
|
||||||
else if isString value then "\"${value}\""
|
else if (isString value && key != "include-file") then ''"${value}"''
|
||||||
else toString value;
|
else toString value;
|
||||||
in
|
in
|
||||||
"${key}=${value'}";
|
"${key}=${value'}";
|
||||||
|
|
Loading…
Reference in a new issue