From 817b220cddeb12725a658111af3f0c7ad39597a9 Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 29 Jan 2024 12:05:24 +0100 Subject: [PATCH] waybar: use /bin/env for looking up cmds --- .config/waybar/modules/storage.sh | 2 +- .config/waybar/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/waybar/modules/storage.sh b/.config/waybar/modules/storage.sh index 967f6c0..fa582ba 100755 --- a/.config/waybar/modules/storage.sh +++ b/.config/waybar/modules/storage.sh @@ -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 diff --git a/.config/waybar/style.css b/.config/waybar/style.css index dfc3954..6148a9c 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -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; }