Przeglądaj źródła

update __my_battery_status

pull/1/head
10sr 11 lat temu
rodzic
commit
4bfd81c1aa
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      bashrc

+ 1
- 1
bashrc Wyświetl plik

@@ -499,7 +499,7 @@ winln(){

__my_battery_status(){
local dir=/sys/class/power_supply/BAT0
if test -d $dir
if test -d $dir && test -r $dir/status && test -r $dir/charge_full && test -r $dir/charge_now
then
local st=$(cat $dir/status)
local full=$(cat $dir/charge_full)


Ładowanie…
Anuluj
Zapisz