feat: new pc conf

This commit is contained in:
AngeD 2023-03-09 17:51:39 +01:00
parent 99847eda69
commit ded281b797
17 changed files with 51 additions and 114 deletions

View file

@ -17,8 +17,8 @@ update_memory() {
}
update_bat() {
bat="$(grep -q Charging /sys/class/power_supply/BAT1/status && printf '' || printf '')"
bat="$bat $(cat /sys/class/power_supply/BAT1/capacity)%"
bat="$(grep -q Charging /sys/class/power_supply/BAT0/status && printf '' || printf '')"
bat="$bat $(cat /sys/class/power_supply/BAT0/capacity)%"
}
update_vol() {