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 =
|
bars =
|
||||||
let
|
let
|
||||||
barConfigPath =
|
i3status-rs = lib.getExe config.programs.i3status-rust.package;
|
||||||
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} config-top.toml";
|
||||||
trayOutput = "primary";
|
trayOutput = "primary";
|
||||||
position = "top";
|
position = "top";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue