feat: new pc conf
This commit is contained in:
parent
99847eda69
commit
ded281b797
17 changed files with 51 additions and 114 deletions
4
bin/sbar
4
bin/sbar
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue