diff --git a/home/wm/i3/default.nix b/home/wm/i3/default.nix index d2d9916..0c77830 100644 --- a/home/wm/i3/default.nix +++ b/home/wm/i3/default.nix @@ -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";