aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-07 19:59:54 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-07 19:59:54 +0200
commita14304bbef833bb7bcd6b1a4dd4155e053f8cd23 (patch)
treeed34924f037ee13cd09570a7f70fd7c74ab5dea5
parentdde1a234a6a2cd58b0173b1ed0ed1b199e74a63b (diff)
downloadlbsd-a14304bbef833bb7bcd6b1a4dd4155e053f8cd23.tar.gz
.jwmrc: Update shortcut keys
-rw-r--r--home/john/.jwmrc29
1 files changed, 21 insertions, 8 deletions
diff --git a/home/john/.jwmrc b/home/john/.jwmrc
index fd4f11e..641fa3e 100644
--- a/home/john/.jwmrc
+++ b/home/john/.jwmrc
@@ -5,11 +5,11 @@
<!-- 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">xterm</Program>
+ <Program icon="rxvt.png" label="Terminal">tterm</Program>
<!-- Addititional Menu attributes: height, labeled -->
<Menu icon="folder.png" label="Applications">
- <Program icon="dillo.png" label="Dillo">LC_ALL=en_US.ISO8859-1 dillo</Program>
+ <Program icon="dillo.png" label="Dillo">LC_ALL=en_US.ISO8859-1 dillo; ~/.dillo/bm</Program>
<Program label="W3M">
xterm +sb -e w3m -title google.com
</Program>
@@ -157,13 +157,17 @@
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
- <Key mask="A" key="Tab">nextstacked</Key>
- <Key mask="AS" key="Tab">prevstacked</Key>
+ <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="F4">close</Key>
+ <Key mask="A" key="z">minimize</Key>
+ <Key mask="A" key="v">maximize</Key>
<Key mask="A" key="s">shade</Key>
<Key mask="A" key="#">desktop#</Key>
<Key mask="AS" key="#">sendto#</Key>
+ <Key mask="AS" key="#">sendto#</Key>
+ <Key mask="CA" key="#">put#</Key>
<Key mask="A" key="F1">root:1</Key>
<Key mask="A" key="F2">window</Key>
<Key mask="CA" key="r">restart</Key>
@@ -171,17 +175,26 @@
exec:xterm -T 'jwm -p' -e 'jwm -p; read x'
</Key>
- <Key mask="A" key="F12">
- exec:sleep 2 && xwd -root -out /home/john/xwd
+ <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>
+
<Key mask="A" key="q">exec:dwim</Key>
- <Key mask="A" key="t">exec:xterm</Key>
- <Key mask="AS" key="t">exec:cd `xtitle`; xterm</Key>
+ <Key mask="A" key="t">exec:tterm</Key>
+ <Key mask="AS" key="t">
+ exec:cd `xtitle |
+ sed 's,.*(\([^(]*\))$,\1,' |
+ sed 's,^~,/home/john,'`; xterm
+ </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>
</JWM>