summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-08-19 08:28:14 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-08-19 08:28:14 -0400
commit371f030849fab1cf3aa131176237e166d7343da7 (patch)
treee4a2346511473974c6a278fa24a67385c5c22ac4
parent0f0f5304a275d750759d8e2ab2bf98b091fb044b (diff)
update wmii config (emacs-ize it)
-rwxr-xr-x.wmii/wmiirc_local21
1 files changed, 20 insertions, 1 deletions
diff --git a/.wmii/wmiirc_local b/.wmii/wmiirc_local
index dd72f59..07d4544 100755
--- a/.wmii/wmiirc_local
+++ b/.wmii/wmiirc_local
@@ -1,7 +1,26 @@
#!/bin/dash
export WMII_FONT='xft:Monospace-8'
-export WMII_TERM="urxvt"
+#export WMII_TERM="urxvt"
+export WMII_TERM="emacsterm"
. $HOME/.wmii/wmiirc_local.local
. $HOME/.wmii/wmiirc_solarized_dark
+
+# Use Emacs keybindings, not VI
+UP=p
+DOWN=n
+LEFT=b
+RIGHT=f
+
+local_events() {
+ cat <<'!'
+Menu Client-3-Delete-(kill)
+ wmiir xwrite /client/$1/ctl kill
+Menu Client-3-Kill-(slay)
+ wmiir xwrite /client/$1/ctl slay
+KeyGroup Client actions
+Key $MODKEY-x-1 # Toggle selected client's fullscreen state
+ wmiir xwrite /client/sel/ctl Fullscreen toggle
+!
+} \ No newline at end of file