Created
February 25, 2018 05:48
-
-
Save nspool/3d9fe1a8b369071d4cec6450d6e2a676 to your computer and use it in GitHub Desktop.
My configuration for the JWM window manager
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<JWM> | |
<!-- The root menu. --> | |
<RootMenu onroot="12"> | |
<Program icon="terminal.png" label="urxvt">urxvt</Program> | |
<Program icon="terminal.png" label="emacs">emacsclient -c</Program> | |
<Program icon="terminal.png" label="chromium">chromium</Program> | |
<Program icon="terminal.png" label="icecat">icecat</Program> | |
<Program icon="terminal.png" label="gimp">gimp</Program> | |
<Program icon="terminal.png" label="mutt">urxvt -geometry 110x60 -e mutt</Program> | |
<Program icon="terminal.png" label="alsamixer">urxvt -e alsamixer</Program> | |
<Separator/> | |
<Program icon="terminal.png" label="xlock">xlock</Program> | |
<Separator/> | |
<Restart label="restart" icon="restart.png"/> | |
<Exit label="exit" confirm="true" icon="quit.png"/> | |
</RootMenu> | |
<!-- Options for program groups. --> | |
<Group> | |
<Option>centered</Option> | |
<!-- <Option>aerosnap</Option> --> | |
</Group> | |
<Group> | |
<Class>Pidgin</Class> | |
<Option>sticky</Option> | |
</Group> | |
<Group> | |
<Name>xterm</Name> | |
<Option>vmax</Option> | |
</Group> | |
<Group> | |
<Name>xclock</Name> | |
<Option>drag</Option> | |
<Option>notitle</Option> | |
</Group> | |
<!-- Tray at the bottom. --> | |
<Tray height="20" x="0" y="-1" autohide="off"> | |
<!-- <TrayButton icon="jwm-blue">root:1</TrayButton> --> | |
<Spacer width="2"/> | |
<!-- <TrayButton label="_">showdesktop</TrayButton> --> | |
<Spacer width="2"/> | |
<Pager labeled="true"/> | |
<TaskList maxwidth="256"/> | |
<Dock/> | |
<Clock format="%H:%M"><Button mask="123">exec:xclock</Button></Clock> | |
</Tray> | |
<!-- Visual Styles --> | |
<WindowStyle> | |
<Font>Sans-8:bold</Font> | |
<Width>2</Width> | |
<Height>17</Height> | |
<Corner>0</Corner> | |
<Foreground>#FFFFFF</Foreground> | |
<Background>#50575C</Background> | |
<Outline>#000000</Outline> | |
<Opacity>0.5</Opacity> | |
<Active> | |
<Background>#00080f</Background> | |
<Foreground>#FFFFFF</Foreground> | |
<Outline>#000000</Outline> | |
<Opacity>1.0</Opacity> | |
</Active> | |
</WindowStyle> | |
<TrayStyle group="true" list="all"> | |
<Font>Sans-8:bold</Font> | |
<Background>#333333</Background> | |
<Foreground>#FFFFFF</Foreground> | |
<Outline>#000000</Outline> | |
<Opacity>0.75</Opacity> | |
</TrayStyle> | |
<TaskListStyle> | |
<Font>Sans-8:bold</Font> | |
<Active> | |
<Foreground>#FFFFFF</Foreground> | |
<Background>#555555</Background> | |
</Active> | |
<Foreground>#FFFFFF</Foreground> | |
<Background>#333333</Background> | |
</TaskListStyle> | |
<PagerStyle> | |
<Outline>#000000</Outline> | |
<Foreground>#555555</Foreground> | |
<Background>#333333</Background> | |
<Text>#FFFFFF</Text> | |
<Active> | |
<Foreground>#0077CC</Foreground> | |
<Background>#004488</Background> | |
</Active> | |
</PagerStyle> | |
<MenuStyle> | |
<Font>Sans-8:bold</Font> | |
<Background>#00080f</Background> | |
<Foreground>#ffffff</Foreground> | |
<Outline>#000000</Outline> | |
<Active> | |
<Foreground>#FFFFFF</Foreground> | |
<Background>#0077CC</Background> | |
</Active> | |
<Opacity>0.85</Opacity> | |
</MenuStyle> | |
<PopupStyle> | |
<Font>Sans-8:bold</Font> | |
<Foreground>#000000</Foreground> | |
<Background>#999999</Background> | |
</PopupStyle> | |
<!-- Path where icons can be found. | |
IconPath can be listed multiple times to allow searching | |
for icons in multiple paths. | |
--> | |
<IconPath> | |
/usr/share/icons/wm-icons/32x32-aquafusion | |
</IconPath> | |
<IconPath> | |
/usr/local/share/jwm | |
</IconPath> | |
<!-- Virtual Desktops --> | |
<!-- Desktop tags can be contained within Desktops for desktop names. --> | |
<Desktops width="4" height="1"> | |
<!-- Default background. Note that a Background tag can be | |
contained within a Desktop tag to give a specific background | |
for that desktop. | |
--> | |
<!-- <Background type="solid">#70787f</Background>--> | |
<Background>#889999</Background> | |
</Desktops> | |
<!-- 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">none</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="A" key="F4">close</Key> | |
<Key mask="A" key="#">desktop#</Key> | |
<Key mask="A" key="F1">root:1</Key> | |
<Key mask="A" key="F2">window</Key> | |
<Key mask="A" key="F10">maximize</Key> | |
<!-- <Key mask="A" key="Right">rdesktop</Key> | |
<Key mask="A" key="Left">ldesktop</Key> | |
<Key mask="A" key="Up">udesktop</Key> | |
<Key mask="A" key="Down">ddesktop</Key> --> | |
</JWM> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment