home: wm: i3: simplify status command
The v0.30.0 of `i3status-rs` automatically resolves a configuration name inside its configuration directory, making this much simpler.
This commit is contained in:
parent
7cec58e215
commit
2e9704ed1d
|
@ -73,14 +73,11 @@ in
|
|||
|
||||
bars =
|
||||
let
|
||||
barConfigPath =
|
||||
config.xdg.configFile."i3status-rust/config-top.toml".target;
|
||||
i3status-rs =
|
||||
"${config.programs.i3status-rust.package}/bin/i3status-rs";
|
||||
i3status-rs = lib.getExe config.programs.i3status-rust.package;
|
||||
in
|
||||
[
|
||||
{
|
||||
statusCommand = "${i3status-rs} ~/${barConfigPath}";
|
||||
statusCommand = "${i3status-rs} config-top.toml";
|
||||
trayOutput = "primary";
|
||||
position = "top";
|
||||
|
||||
|
|
Loading…
Reference in a new issue