mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
fix mouse percent in status bar
This commit is contained in:
parent
afdff4d779
commit
e32184779f
@ -50,7 +50,7 @@ else
|
||||
fi
|
||||
|
||||
# Logitech mouse battery status
|
||||
bat=$(cat /sys/class/power_supply/hidpp_battery_0/capacity)
|
||||
bat=$(cat /sys/class/power_supply/hidpp_battery_[0-9]*/capacity)
|
||||
if [ $bat -lt 20 ]; then
|
||||
bat_color="#f92672"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user