summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-03-21 22:27:06 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-03-21 22:27:06 -0400
commit664cc5389ce7b4c345267d7bd05a8279890bfb44 (patch)
treef7d9843e925c802af85c36ee0b587f811caada03
parente563e61bcffdf9b44a76c70f845f4909cd322c0d (diff)
Set the wmii key to be caps lock, remove laptop things from wmii bar
-rwxr-xr-x.wmii/wmiirc_local10
-rw-r--r--.xmodmap4
2 files changed, 5 insertions, 9 deletions
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