polybar: change restart trigger to contain a string

The systemd unit type is a bit more strict now and needs an explicit
string in this position.
This commit is contained in:
Robert Helgesson 2019-04-12 17:56:14 +02:00
parent 3db46fa9bf
commit 30a16e3a87
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -118,7 +118,9 @@ in
Description = "Polybar status bar"; Description = "Polybar status bar";
After = [ "graphical-session-pre.target" ]; After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ]; PartOf = [ "graphical-session.target" ];
X-Restart-Triggers = [ config.xdg.configFile."polybar/config".source ]; X-Restart-Triggers = [
"${config.xdg.configFile."polybar/config".source}"
];
}; };
Service = { Service = {