From 3d5c297366bbb2e40cf26c74bd6bafe933c499d5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 27 Feb 2012 00:01:38 -0500 Subject: live on my laptop for a while --- .wmii/wmiirc | 2 ++ 1 file changed, 2 insertions(+) (limited to '.wmii') diff --git a/.wmii/wmiirc b/.wmii/wmiirc index 71ca7a5..d41f392 100755 --- a/.wmii/wmiirc +++ b/.wmii/wmiirc @@ -36,6 +36,8 @@ wmiir write /colrules < ~ +/Gimp/ -> ~+gimp +/Emacs|Navigator/ -> +sel ! local_events() { true; } -- cgit v1.2.3-2-g168b From f34be2177db4152ef8857a2362afa35c029fa314 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 11 Apr 2012 22:39:36 -0400 Subject: wmiirc_local: cputime changed a little --- .wmii/wmiirc_local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.wmii') diff --git a/.wmii/wmiirc_local b/.wmii/wmiirc_local index 4b0330e..8e1321c 100755 --- a/.wmii/wmiirc_local +++ b/.wmii/wmiirc_local @@ -21,7 +21,7 @@ status() { # 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 'CPU: [ '$(tail -n3 ~/tmp/cputime|sed -u 's/ */\t/g'|cut -f2,11|sed 's/\t\(.*\)/(\1)/')' ]' #echo -n ' | ' -- cgit v1.2.3-2-g168b From 3b8d4575218ab6d8e1155a81c45d81a8631aff25 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 11 Apr 2012 22:57:54 -0400 Subject: remove machine-specific files --- .wmii/wmiirc_local | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100755 .wmii/wmiirc_local (limited to '.wmii') diff --git a/.wmii/wmiirc_local b/.wmii/wmiirc_local deleted file mode 100755 index 8e1321c..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 -f2,11|sed 's/\t\(.*\)/(\1)/')' ]' - - #echo -n ' | ' - - #echo -n $(uptime | sed 's/.*://; s/,//g') - - echo -n ' | ' - - echo -n $(date) - - echo -n ' ' - ) - echo "$buffer" -} -- cgit v1.2.3-2-g168b