diff options
author | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-05-29 19:44:45 +0200 |
---|---|---|
committer | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-05-29 20:02:38 +0200 |
commit | 4262e510e529d9c834c4c07bd0c70cfd04d3c1ac (patch) | |
tree | 630751a27b71ac4a294b4d275f5466f6417de86e | |
parent | dc17af0fba95fb468ec8917af1dc011c851a3c12 (diff) | |
download | lbsd-4262e510e529d9c834c4c07bd0c70cfd04d3c1ac.tar.gz |
Add .jwmrc
-rw-r--r-- | home/john/.jwmrc | 184 |
1 files changed, 184 insertions, 0 deletions
diff --git a/home/john/.jwmrc b/home/john/.jwmrc new file mode 100644 index 0000000..c538b89 --- /dev/null +++ b/home/john/.jwmrc @@ -0,0 +1,184 @@ +<?xml version="1.0"?> + +<JWM> + + <!-- 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> + + <!-- 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 label="W3M"> + xterm +sb -e w3m -title google.com + </Program> + <Program label="Netsurf">netsurf-gtk3</Program> + <Program label="Opera">opera</Program> + <Program label="Midori">midori</Program> + <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"> + xprop | xmessage -file - + </Program> + <Program icon="rxvt.png" label="top"> + xterm +sb -e top + </Program> + </Menu> + <!-- <Desktops label="Desktops" icon="desktops.png"/> --> + <Separator/> + <Restart label="Restart" icon="restart.png"/> + <Exit label="Exit" confirm="true" icon="exit.png"/> + </RootMenu> + + <Group> + <Class>Gaim</Class> + <Option>sticky</Option> + </Group> + + <Group> + <Class>xmms</Class> + <Option>icon:xmms.xpm</Option> + </Group> + + <!-- Additional tray attributes: autohide, width, border, layer, layout --> + <!--<Tray x="0" y="-1" height="32">--> + <Tray x="0" y="0" height="28"> + + <!-- Additional TrayButton attribute: label --> + <TrayButton label="Root"/> + + <!-- Additional Pager attributes; width, height --> + <Pager/> + + <!-- Additional TaskList attribute: maxwidth --> + <TaskList/> + + <!-- Additional Swallow attribute: height --> + <Swallow name="xload" width="64"> + xload -nolabel -bg gray90 -fg red -hl black + </Swallow> + + <Swallow name="xbatt">xbatt</Swallow> + + <Swallow name="xbattext">xbattext -bg gray90</Swallow> + + <Swallow name="xclock"> + xclock -digital -brief -face fixed-9 \ + -bg gray90 -padding 5 + </Swallow> + </Tray> + + <!-- Visual Styles --> + + <BorderStyle> + <Font>fixed-10:bold</Font> + <Width>5</Width> + <Height>20</Height> + <Foreground>black</Foreground> + <Background>gray90</Background> + <ActiveForeground>white</ActiveForeground> + <ActiveBackground>#4A5966</ActiveBackground> + </BorderStyle> + + <TaskListStyle> + <Font>fixed-10:bold</Font> + <ActiveForeground>white</ActiveForeground> + <ActiveBackground>#8899A6</ActiveBackground> + </TaskListStyle> + + <!-- Additional TrayStyle attribute: insert --> + <TrayStyle> + <Font>fixed-9</Font> + <Background>gray90</Background> + <Foreground>black</Foreground> + </TrayStyle> + + <PagerStyle> + <Outline>black</Outline> + <Foreground>gray90</Foreground> + <Background>#888888</Background> + <ActiveForeground>#8899AA</ActiveForeground> + <ActiveBackground>#3A4956</ActiveBackground> + </PagerStyle> + + <MenuStyle> + <Font>fixed-9</Font> + <Foreground>black</Foreground> + <Background>gray90</Background> + <ActiveForeground>white</ActiveForeground> + <ActiveBackground>#3A4956</ActiveBackground> + </MenuStyle> + + <PopupStyle> + <Font>fixed-9</Font> + <Outline>black</Outline> + <Foreground>black</Foreground> + <Background>yellow</Background> + </PopupStyle> + + <IconPath>$HOME/.icons</IconPath> + + <!-- Virtual Desktops --> + <!-- Name tags can be contained within Desktops for desktop names. --> + <Desktops count="4"/> + + <!-- Double click speed (in milliseconds) --> + <DoubleClickSpeed>400</DoubleClickSpeed> + + <!-- Double click delta (in pixels) --> + <DoubleClickDelta>2</DoubleClickDelta> + + <!-- The focus model (sloppy or click) --> + <FocusModel>sloppy</FocusModel> + + <!-- The snap mode (none, screen, or border) --> + <SnapMode distance="10">border</SnapMode> + + <!-- The move mode (outline or opaque) --> + <MoveMode>opaque</MoveMode> + + <!-- The resize mode (outline or opaque) --> + <ResizeMode>opaque</ResizeMode> + + <!-- Key bindings --> + <Key key="Up">up</Key> + <Key key="Down">down</Key> + <Key key="Right">right</Key> + <Key key="Left">left</Key> + <Key key="h">left</Key> + <Key key="j">down</Key> + <Key key="k">up</Key> + <Key key="l">right</Key> + <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="r">raise</Key> + <Key mask="A" key="F4">close</Key> + <Key mask="A" key="s">shade</Key> + <Key mask="A" key="#">desktop#</Key> + <Key mask="A" key="F1">root:1</Key> + <Key mask="A" key="F2">window</Key> + <Key mask="CA" key="r">restart</Key> + <Key mask="CA" key="e"> + 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 mask="A" key="t">exec:xterm</Key> + <Key mask="AS" key="t">exec:xterm -e top</Key> + <Key mask="A" 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> + +</JWM> + |