aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-06-30 20:48:10 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-06-30 20:48:10 +0200
commit8382455b9b01130913b7491a9becce26a309c923 (patch)
tree3e52af5d19516512ea7df9c8233bdc44b7a28490 /home
parentd41acd18fea2d718a0983451dfefbb15a25a9ae0 (diff)
downloadlbsd-8382455b9b01130913b7491a9becce26a309c923.tar.gz
.jwmrc: Add special exit menu items
Diffstat (limited to 'home')
-rw-r--r--home/john/.jwmrc38
1 files changed, 23 insertions, 15 deletions
diff --git a/home/john/.jwmrc b/home/john/.jwmrc
index 52499ed..1e4fb85 100644
--- a/home/john/.jwmrc
+++ b/home/john/.jwmrc
@@ -5,13 +5,13 @@
<!-- The root menu, if this is undefined you will not get a menu. -->
<!-- Additional RootMenu attributes: onroot, labeled, label -->
<RootMenu height="12">
- <Program icon="xterm.png" label="Terminal">tterm</Program>
- <Program icon="rox.png" label="Filer">rox</Program>
- <Program icon="info.png" label="Info">minfo</Program>
+ <Program label="Terminal">tterm</Program>
+ <Program label="Filer">rox</Program>
+ <Program label="Info">minfo</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; ~/.dillo/bm</Program>
+ <Menu label="Applications">
+ <Program label="Dillo">LC_ALL=en_US.ISO8859-1 dillo; ~/.dillo/bm</Program>
<Program label="W3M">
xterm +sb -e w3m -title google.com
</Program>
@@ -21,21 +21,27 @@
<Program label="Firefox">firefox78</Program>
<Program label="Reddit">xterm +sb -e rtv</Program>
</Menu>
- <Menu icon="folder.png" label="Utilities">
- <Program icon="xcalc.png">xcalc</Program>
- <Program icon="xfontsel.png">xfontsel</Program>
- <Program icon="xmag.png">xmag</Program>
- <Program icon="xprop.png" label="xprop">
+ <Menu label="Utilities">
+ <Program>xcalc</Program>
+ <Program>xfontsel</Program>
+ <Program>xmag</Program>
+ <Program label="xprop">
xprop | xmessage -file -
</Program>
- <Program icon="rxvt.png" label="top">
+ <Program label="top">
xterm +sb -e top
</Program>
</Menu>
- <!-- <Desktops label="Desktops" icon="desktops.png"/> -->
+ <!-- <Desktops label="Desktops"/> -->
<Separator/>
- <Restart label="Restart" icon="restart.png"/>
- <Exit label="Exit" confirm="true" icon="exit.png"/>
+ <Restart label="Restart"/>
+ <Exit label="Reexec" confirm="false">
+ /home/john/prj/jwm/src/jwm
+ </Exit>
+ <Exit label="Test">
+ cd /home/john/prj/jwm/src; xterm
+ </Exit>
+ <Exit label="Exit"/>
</RootMenu>
<Group>
@@ -192,7 +198,9 @@
<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="A" key="Print">
+ exec:sleep 2 && xwd -root -out ~/print.xwd
+ </Key>
<Key mask="AS" key="t">exec:
cd `xtitle |