waybar: use /bin/env for looking up cmds
This commit is contained in:
parent
34816de378
commit
817b220cdd
@ -4,7 +4,7 @@ mount="/"
|
|||||||
warning=20
|
warning=20
|
||||||
critical=10
|
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
|
text=$4
|
||||||
use=$5
|
use=$5
|
||||||
|
@ -65,7 +65,7 @@ window#waybar.solo {
|
|||||||
color: #c9545d;
|
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;
|
margin: 0px 5px 0px 5px;
|
||||||
min-width: 30px;
|
min-width: 30px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user