diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-08-03 17:32:56 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-08-03 17:32:56 -0500 |
| commit | 66be8debbf34b82a735b17c09ff400d30d8a48f1 (patch) | |
| tree | 2f19df20db02a6462b3792cfeb459c160d9bdc74 /machines/enzo | |
| parent | 9ca21e94b8ade285e749d54441c7d9115da5b522 (diff) | |
enzo/yambar: add niri + jq to service PATH
The new yambar niri-workspaces.sh script runs `niri msg --json` piped to
jq, and the workspace on-clicks run `niri msg action focus-workspace`.
yambar spawns these via execvp with no shell, so both binaries must be on
the service PATH alongside the existing libnotify/wireplumber.
Assisted-by: Claude Code:claude-opus-4-8
Diffstat (limited to 'machines/enzo')
| -rw-r--r-- | machines/enzo/desktop.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/machines/enzo/desktop.nix b/machines/enzo/desktop.nix index 6599f45..59204b4 100644 --- a/machines/enzo/desktop.nix +++ b/machines/enzo/desktop.nix @@ -62,9 +62,11 @@ after = [ "graphical-session.target" ]; # yambar runs on-click commands via execvp with no shell, so their # binaries must be on the service PATH. libnotify -> notify-send, - # wireplumber -> wpctl (volume). Without this every on-click fails with + # wireplumber -> wpctl (volume), niri -> niri msg (workspace module + + # its focus-workspace on-clicks), jq -> parses niri's --json output in + # niri-workspaces.sh. Without this every on-click/script fails with # ENOENT ("No such file or directory"). - path = [ pkgs.libnotify pkgs.wireplumber ]; + path = [ pkgs.libnotify pkgs.wireplumber pkgs.niri pkgs.jq ]; serviceConfig = { ExecStart = "${pkgs.yambar}/bin/yambar"; Restart = "on-failure"; |
