瀏覽代碼

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)


Loading…
取消
儲存