소스 검색

update __my_battery_status

pull/1/head
10sr 11 년 전
부모
커밋
4bfd81c1aa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      bashrc

+ 1
- 1
bashrc 파일 보기

@@ -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)


불러오는 중...
취소
저장