waybar: use /bin/env for looking up cmds

This commit is contained in:
surtur 2024-01-29 12:05:24 +01:00
parent 34816de378
commit 817b220cdd
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ mount="/"
warning=20
critical=10
df -h -P -l "$mount" | awk -v warning=$warning -v critical=$critical '
/usr/bin/env df -h -P -l "$mount" | /usr/bin/env awk -v warning=$warning -v critical=$critical '
/\/.*/ {
text=$4
use=$5

View File

@ -65,7 +65,7 @@ window#waybar.solo {
color: #c9545d;
}
#mode, #battery, #cpu, #memory, #pulseaudio, #backlight, #custom-storage, #custom-spotify, #custom-weather, #custom-mail, #custom-himalaya {
#mode, #battery, #cpu, #memory, #pulseaudio, #backlight, #custom-storage, #custom-spotify, #custom-weather, #custom-mail {
margin: 0px 5px 0px 5px;
min-width: 30px;
}