home: wm: i3: use 'i3status-rust.package' value

This commit is contained in:
Bruno BELANYI 2021-10-27 15:07:24 +02:00
parent 1633d6b3bc
commit 548484d918

View file

@ -87,10 +87,12 @@ in
let let
barConfigPath = barConfigPath =
config.xdg.configFile."i3status-rust/config-top.toml".target; config.xdg.configFile."i3status-rust/config-top.toml".target;
i3status-rs =
"${config.programs.i3status-rust.package}/bin/i3status-rs";
in in
[ [
{ {
statusCommand = "i3status-rs ${barConfigPath}"; statusCommand = "${i3status-rs} ${barConfigPath}";
trayOutput = "primary"; trayOutput = "primary";
position = "top"; position = "top";