diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-07-31 16:31:18 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-08-03 13:01:21 -0500 |
| commit | 720e66715a22cf5c278dfaf03da0cb927c8a2c7a (patch) | |
| tree | 670c657b2434c91ce4f33c5941460f1f616e25d7 /machines | |
| parent | 38a44c7933b6afc81b51e8f0de6537f19eb70359 (diff) | |
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
Diffstat (limited to 'machines')
| -rw-r--r-- | machines/enzo/desktop.nix | 5 |
1 files changed, 5 insertions, 0 deletions
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"; |
