diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-30 11:36:32 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-30 11:36:32 -0400 |
commit | dbab2a06f142894f446f1f66b637242862dcd7bf (patch) | |
tree | c8888e76f39647edad67abd73e74605b1d95b3aa /.wmii/wmiirc_local | |
parent | bd8512e48b8ca0f44171c06578da7a5f3cd6663f (diff) | |
parent | 344bd61ba0d7d06b3cec6499ef6b4058f9d64626 (diff) |
Merge branch 'master' of gitorious.org:lukeshu-dotfiles/lukeshu-dotfiles
Conflicts:
.emacs
.emacs.d/custom.el
Diffstat (limited to '.wmii/wmiirc_local')
-rwxr-xr-x | .wmii/wmiirc_local | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/.wmii/wmiirc_local b/.wmii/wmiirc_local deleted file mode 100755 index 4b0330e..0000000 --- a/.wmii/wmiirc_local +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/dash -f -# -*- mode: sh; -*- - -# wmiirc file for my HP Pavilion dv6426us laptop - -MODKEY=Mod4 - -status() { - buffer=$( - echo -n ' ' - # Wifi status - echo -n 'Wlan0:' $(iwconfig wlan0 | sed 's/ /\n/g' | grep Quality) - - echo -n ' | ' - - # Battery charge (not status) - echo -n $(acpi -b | sed 's/.*, \{0,2\}\([0-9]\{1,3\}%\),.*/Bat: \1/') - - echo -n ' | ' - # CPU - # This doesn't work for me, it shows capacity - #echo -n 'Core MHz:' $(cat /proc/cpuinfo | grep 'cpu MHz' | sed 's/.*: //g; s/\..*//g;') - # This actually displays %idle - echo -n 'CPU: [ '$(tail -n3 ~/tmp/cputime|sed -u 's/ */\t/g'|cut -f3,12|sed 's/\t\(.*\)/(\1)/')' ]' - - #echo -n ' | ' - - #echo -n $(uptime | sed 's/.*://; s/,//g') - - echo -n ' | ' - - echo -n $(date) - - echo -n ' ' - ) - echo "$buffer" -} |