From 664cc5389ce7b4c345267d7bd05a8279890bfb44 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 21 Mar 2012 22:27:06 -0400 Subject: Set the wmii key to be caps lock, remove laptop things from wmii bar --- .wmii/wmiirc_local | 10 +--------- .xmodmap | 4 ++++ 2 files changed, 5 insertions(+), 9 deletions(-) create mode 100644 .xmodmap diff --git a/.wmii/wmiirc_local b/.wmii/wmiirc_local index 4b0330e..8c1b397 100755 --- a/.wmii/wmiirc_local +++ b/.wmii/wmiirc_local @@ -8,15 +8,7 @@ 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;') diff --git a/.xmodmap b/.xmodmap new file mode 100644 index 0000000..2299361 --- /dev/null +++ b/.xmodmap @@ -0,0 +1,4 @@ +remove lock = Caps_Lock +keysym Caps_Lock = Super_L +clear mod4 +add mod4 = Super_L Super_R Hyper_L Hyper_R Menu -- cgit v1.2.3