From b83f28f2ba92381ab2659971d722e6fadf9b62f9 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 27 Oct 2021 15:07:24 +0200 Subject: [PATCH] home: wm: i3: use 'i3status-rust.package' value --- home/wm/i3/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/wm/i3/default.nix b/home/wm/i3/default.nix index 94cec6d..8929c6e 100644 --- a/home/wm/i3/default.nix +++ b/home/wm/i3/default.nix @@ -87,10 +87,12 @@ in let barConfigPath = config.xdg.configFile."i3status-rust/config-top.toml".target; + i3status-rs = + "${config.programs.i3status-rust.package}/bin/i3status-rs"; in [ { - statusCommand = "i3status-rs ${barConfigPath}"; + statusCommand = "${i3status-rs} ${barConfigPath}"; trayOutput = "primary"; position = "top";