waybar: use dialog-error for battery critical notification
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-08-03 18:16:03 -04:00
parent 2804367494
commit 07fb35b1c2

View file

@ -93,7 +93,7 @@
perc=$(cat $bat/capacity)
if [[ $perc -le $CRIT ]] && [[ $stat == "Discharging" ]]; then
$NOTIFY --urgency=critical --icon=dialog-warning "Battery Critical" "Current charge: $perc%".
$NOTIFY --urgency=critical --icon=dialog-error "Battery Critical" "Current charge: $perc%".
fi
'';
in {