From 720e66715a22cf5c278dfaf03da0cb927c8a2c7a Mon Sep 17 00:00:00 2001 From: "Henry J. Webster" Date: Fri, 31 Jul 2026 16:31:18 -0500 Subject: yambar: add notify-send/wpctl to service PATH yambar runs on-click commands via execvp with no shell, so the binaries must be on the systemd service PATH. Since the bar moved from a niri spawn (full login PATH) to a user service (minimal PATH), every on-click failed with ENOENT. Add libnotify (notify-send) and wireplumber (wpctl). Assisted-by: Claude Code:claude-opus-4-8 --- machines/enzo/desktop.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/enzo/desktop.nix b/machines/enzo/desktop.nix index 1324d85..6599f45 100644 --- a/machines/enzo/desktop.nix +++ b/machines/enzo/desktop.nix @@ -60,6 +60,11 @@ wantedBy = [ "graphical-session.target" ]; partOf = [ "graphical-session.target" ]; 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 + # ENOENT ("No such file or directory"). + path = [ pkgs.libnotify pkgs.wireplumber ]; serviceConfig = { ExecStart = "${pkgs.yambar}/bin/yambar"; Restart = "on-failure"; -- cgit v1.3