aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:36 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:36 +0100
commit1238e4dfc33bc4347564350bbfadac50aa8da0cd (patch)
tree3898cd089a601e30db6311da45006fc68b953f12 /etc
parentf685f20f7a41e6b5c4d56e46a9c8fba7c3287a68 (diff)
downloaddotfiles-1238e4dfc33bc4347564350bbfadac50aa8da0cd.tar.gz
dotfiles-1238e4dfc33bc4347564350bbfadac50aa8da0cd.tar.bz2
dotfiles-1238e4dfc33bc4347564350bbfadac50aa8da0cd.zip
fix(waybar): pacdiff click — set DIFFPROG inside the root shell
sudo-rs scrubs the env by default, so neither `DIFFPROG=… sudo pacdiff` nor `sudo DIFFPROG=… pacdiff` reaches pacdiff with the variable set. Sidestep the env-policy question entirely by running sudo sh -c 'DIFFPROG="nvim -d" pacdiff' so the assignment happens inside the privileged shell, after the env-scrubbing boundary. No sudoers-rs change required, and the same form works identically under stock sudo if the user ever switches back.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions