diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-06-20 01:25:36 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-06-20 01:25:36 -0400 |
commit | d052487a09ed53cbdedd4d55fb6d548a0a30a1af (patch) | |
tree | 996eaf853419241178c709c9e7cfe704c99e5785 /.wmii | |
parent | 7e842cfd399c0bea9d480d5fa7a18dfa06bb6a60 (diff) |
This is what happens after about 2 weeks of using Parabola.
Note that .bashrc is increasing it's reliance on "thingutils"
Diffstat (limited to '.wmii')
-rwxr-xr-x | .wmii/wmiirc_local | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/.wmii/wmiirc_local b/.wmii/wmiirc_local new file mode 100755 index 0000000..eac35c0 --- /dev/null +++ b/.wmii/wmiirc_local @@ -0,0 +1,60 @@ +#!/bin/dash + +MODKEY=Mod4 +export WMII_TERM="urxvt" + + +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" +} + +# Solarized +SOL_BASE03='#002b36' +SOL_BASE02='#073642' +SOL_BASE01='#586e75' +SOL_BASE00='#657b83' +SOL_BASE0='#839496' +SOL_BASE1='#93a1a1' +SOL_BASE2='#eee8d5' +SOL_BASE3='#fdf6e3' +SOL_YELLOW='#b58900' +SOL_ORANGE='#cb4b16' +SOL_RED='#dc322f' +SOL_MAGENTA='#d33682' +SOL_VIOLET='#6c71c4' +SOL_BLUE='#268bd2' +SOL_CYAN='#2aa198' +SOL_GREEN='#859900' + +# Solarized-dark +# ="<text> <background> <border>" +WMII_NORMCOLORS="$SOL_BASE0 $SOL_BASE03 $SOL_BASE02" +WMII_FOCUSCOLORS="$SOL_BASE0 $SOL_BASE02 $SOL_BASE0" +WMII_BACKGROUND="$SOL_BASE02" |