mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-26 04:57:45 +01:00
statusbar: battery script changed
This commit is contained in:
parent
6568cefd80
commit
7cddd5c649
@ -2,7 +2,7 @@
|
||||
|
||||
acpi=$(acpi -b)
|
||||
|
||||
if ! printf '%s\n' "$acpi" | grep -Fqe "No support"; then
|
||||
if [ "$acpi" = "" ]; then
|
||||
echo ""
|
||||
return
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user