aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorCharlie Root <John Ankarstr\xf6m>2021-06-08 20:42:50 +0200
committerCharlie Root <John Ankarstr\xf6m>2021-06-08 20:42:50 +0200
commitf14f9c8134805c601155243ccac6cb64e9690bab (patch)
tree5f609bd93c352f8a99bb4abf2aa5ca7416417cb3 /home
parentccc2a3fefe2fe567a915aa4c0c402b9491bb9078 (diff)
downloadlbsd-f14f9c8134805c601155243ccac6cb64e9690bab.tar.gz
.jwmrc: Organize key bindings
Diffstat (limited to 'home')
-rw-r--r--home/john/.jwmrc33
1 files changed, 17 insertions, 16 deletions
diff --git a/home/john/.jwmrc b/home/john/.jwmrc
index bc28ddf..3696837 100644
--- a/home/john/.jwmrc
+++ b/home/john/.jwmrc
@@ -5,7 +5,8 @@
<!-- The root menu, if this is undefined you will not get a menu. -->
<!-- Additional RootMenu attributes: onroot, labeled, label -->
<RootMenu height="12">
- <Program icon="rxvt.png" label="Terminal">tterm</Program>
+ <Program icon="xterm.png" label="Terminal">tterm</Program>
+ <Program icon="rox.png" label="Filer">rox</Program>
<!-- Addititional Menu attributes: height, labeled -->
<Menu icon="folder.png" label="Applications">
@@ -145,7 +146,7 @@
<!-- The resize mode (outline or opaque) -->
<ResizeMode>opaque</ResizeMode>
- <!-- Key bindings -->
+ <!-- Internal bindings -->
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
@@ -157,9 +158,10 @@
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
+ <!-- Window manager bindings -->
<Key mask="A" key="Tab">next</Key>
<Key mask="AS" key="Tab">prev</Key>
- <Key mask="A" key="r">raise</Key>
+ <Key mask="A" key="space">raise</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="z">minimize</Key>
<Key mask="A" key="v">maximize</Key>
@@ -175,26 +177,25 @@
exec:xterm -T 'jwm -p' -e 'jwm -p; read x'
</Key>
- <Key key="Print">
- exec:xwd -root -out /home/john/print.xwd
- </Key>
- <Key mask="A" key="Print">
- exec:sleep 2 && xwd -root -out /home/john/print.xwd
- </Key>
-
+ <!-- External bindings -->
<Key mask="A" key="q">exec:dwim</Key>
<Key mask="A" key="t">exec:tterm</Key>
- <Key mask="AS" key="t">
- exec:cd `xtitle |
- sed 's,.*(\([^(]*\))$,\1,' |
- sed 's,^~,/home/john,'`; tterm
- </Key>
+ <Key mask="A" key="r">exec:rox</Key>
+ <Key mask="A" key="n">exec:xterm -e noice</Key>
<Key mask="A" key="m">exec:xterm -e top</Key>
<Key mask="AS" key="m">exec:xosview</Key>
<Key mask="A" key="w">exec:xterm +sb -e w3m -title google.com</Key>
<Key mask="AS" key="w">exec:xterm +sb -e w3m -title `xsel`</Key>
- <Key mask="A" key="n">exec:xterm -e noice</Key>
<Key mask="CA" key="d">exec:dr</Key>
+ <Key key="Print">exec:xwd -root -out ~/print.xwd</Key>
+ <Key mask="A" key="Print">exec:sleep 2&&xwd -root -out ~/print.xwd</Key>
+
+ <Key mask="AS" key="t">exec:
+ cd `xtitle |
+ sed 's,.*(\([^(]*\))$,\1,' |
+ sed 's,^~,/home/john,'`; tterm
+ </Key>
+
</JWM>