- Edited
Not entirely sure if this actually is a bug, but my dwmblocks service often doesn't seem to use my PATH.
Dwmblocks is actually a script of scripts, its sole purpose is to manage which scripts are displayed in the status bar, how often they should be updated, etc. So it relies on the scripts being in the PATH.
However, despite the directory I've placed them in being in my PATH*, the dwmblocks-log believes it isn't, spitting errors about the commands not being found (the same output as would occur if you entered a random string into the terminal).
I initially thought it could have been a case of the service being started before PATH was fully defined, but I define PATH in ~/.66/conf/svscan@ magicalsenpai/svscan@ path meaning it's defined earlier than the services being started, due to Obarun's .xinitrc
Btw, I say "often" in the first sentence, since I was actually able to find a work around not too long ago. Though I've forgotten what exactly it was I did, so I'm not able to repeat that.
* echo $PATH
Dwmblocks is actually a script of scripts, its sole purpose is to manage which scripts are displayed in the status bar, how often they should be updated, etc. So it relies on the scripts being in the PATH.
However, despite the directory I've placed them in being in my PATH*, the dwmblocks-log believes it isn't, spitting errors about the commands not being found (the same output as would occur if you entered a random string into the terminal).
I initially thought it could have been a case of the service being started before PATH was fully defined, but I define PATH in ~/.66/conf/svscan@ magicalsenpai/svscan@ path meaning it's defined earlier than the services being started, due to Obarun's .xinitrc
Btw, I say "often" in the first sentence, since I was actually able to find a work around not too long ago. Though I've forgotten what exactly it was I did, so I'm not able to repeat that.
* echo $PATH
/usr/bin::/bin::/usr/local/bin::/opt/::/usr/share/man::/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/home/magicalsenpai/.local/bin:/share/cargo/bin:/home/magicalsenpai/.local/bin/statusbar:/home/magicalsenpai/.local/share/cargo/bin
The section of interest above is .local/bin/statusbar, fyi