Add system.jwmrc
parent
04030aea95
commit
4a87e36844
|
@ -951,16 +951,18 @@ jwm()
|
|||
cd $systemdir/jwm
|
||||
|
||||
./configure --prefix=$freondir \
|
||||
--disable-cairo \
|
||||
--disable-rsvg \
|
||||
--disable-jpeg \
|
||||
--disable-fribidi \
|
||||
--disable-shape \
|
||||
|
||||
make -j$corecount
|
||||
|
||||
make install
|
||||
|
||||
cd $freondir/etc
|
||||
|
||||
cp $tmpdir/../files/etc/system.jwmrc .
|
||||
|
||||
cd $tmpdir
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,214 @@
|
|||
<?xml version="1.0"?>
|
||||
<JWM>
|
||||
|
||||
<!-- The root menu. -->
|
||||
<RootMenu onroot="12">
|
||||
<Program icon="terminal.png" label="Terminal">rxvt</Program>
|
||||
<Menu icon="folder.png" label="Applications">
|
||||
<Program icon="chat.png" label="Hexchat">hexchat</Program>
|
||||
<Program icon="www.png" label="Netsurf">netsurf-gtk2</Program>
|
||||
<Program icon="editor.png" label="Edit">rxvt -e vi</Program>
|
||||
</Menu>
|
||||
<Menu icon="folder.png" label="Utilities">
|
||||
<Program label="Process Manager">rxvt -e top</Program>
|
||||
<Program icon="window.png" label="File Manager">
|
||||
dfm
|
||||
</Program>
|
||||
</Menu>
|
||||
<Separator/>
|
||||
<Restart label="Restart" icon="restart.png"/>
|
||||
<Exit label="Exit" confirm="true" icon="quit.png"/>
|
||||
</RootMenu>
|
||||
|
||||
<!-- Options for program groups. -->
|
||||
<Group>
|
||||
<Option>tiled</Option>
|
||||
<Option>aerosnap</Option>
|
||||
</Group>
|
||||
<Group>
|
||||
<Class>Pidgin</Class>
|
||||
<Option>sticky</Option>
|
||||
</Group>
|
||||
<Group>
|
||||
<Name>rxvt</Name>
|
||||
<Option>vmax</Option>
|
||||
</Group>
|
||||
<Group>
|
||||
<Name>xclock</Name>
|
||||
<Option>drag</Option>
|
||||
<Option>notitle</Option>
|
||||
</Group>
|
||||
|
||||
<!-- Tray at the bottom. -->
|
||||
<Tray 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-9:bold</Font>
|
||||
<Width>4</Width>
|
||||
<Height>21</Height>
|
||||
<Corner>3</Corner>
|
||||
<Foreground>#FFFFFF</Foreground>
|
||||
<Background>#555555</Background>
|
||||
<Outline>#000000</Outline>
|
||||
<Opacity>0.5</Opacity>
|
||||
<Active>
|
||||
<Foreground>#FFFFFF</Foreground>
|
||||
<Background>#4477dd</Background>
|
||||
<Outline>#343434</Outline>
|
||||
<Opacity>1.0</Opacity>
|
||||
</Active>
|
||||
</WindowStyle>
|
||||
<TrayStyle group="true" list="all">
|
||||
<Font>Sans-9</Font>
|
||||
<Background>#141414</Background>
|
||||
<Foreground>#DDDDDD</Foreground>
|
||||
<Outline>#343434</Outline>
|
||||
<Opacity>0.75</Opacity>
|
||||
</TrayStyle>
|
||||
<TaskListStyle>
|
||||
<Font>Sans-9</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>#4477CC</Foreground>
|
||||
<Background>#5599FF</Background>
|
||||
</Active>
|
||||
</PagerStyle>
|
||||
<MenuStyle>
|
||||
<Font>Sans-9</Font>
|
||||
<Foreground>#FFFFFF</Foreground>
|
||||
<Background>#333333</Background>
|
||||
<Outline>#000000</Outline>
|
||||
<Active>
|
||||
<Foreground>#FFFFFF</Foreground>
|
||||
<Background>#4477DD</Background>
|
||||
</Active>
|
||||
<Opacity>0.85</Opacity>
|
||||
</MenuStyle>
|
||||
<PopupStyle>
|
||||
<Font>Sans-9</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">#111111</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">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="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>
|
||||
|
||||
<!-- Mouse bindings -->
|
||||
<Mouse context="root" button="4">ldesktop</Mouse>
|
||||
<Mouse context="root" button="5">rdesktop</Mouse>
|
||||
|
||||
<Mouse context="title" button="1">move</Mouse>
|
||||
<Mouse context="title" button="2">move</Mouse>
|
||||
<Mouse context="title" button="3">window</Mouse>
|
||||
<Mouse context="title" button="4">shade</Mouse>
|
||||
<Mouse context="title" button="5">shade</Mouse>
|
||||
<Mouse context="title" button="11">maximize</Mouse>
|
||||
|
||||
<Mouse context="icon" button="1">window</Mouse>
|
||||
<Mouse context="icon" button="2">move</Mouse>
|
||||
<Mouse context="icon" button="3">window</Mouse>
|
||||
<Mouse context="icon" button="4">shade</Mouse>
|
||||
<Mouse context="icon" button="5">shade</Mouse>
|
||||
|
||||
<Mouse context="border" button="1">resize</Mouse>
|
||||
<Mouse context="border" button="2">move</Mouse>
|
||||
<Mouse context="border" button="3">window</Mouse>
|
||||
|
||||
<Mouse context="close" button="-1">close</Mouse>
|
||||
<Mouse context="close" button="2">move</Mouse>
|
||||
<Mouse context="close" button="-3">close</Mouse>
|
||||
|
||||
<Mouse context="maximize" button="-1">maximize</Mouse>
|
||||
<Mouse context="maximize" button="-2">maxv</Mouse>
|
||||
<Mouse context="maximize" button="-3">maxh</Mouse>
|
||||
|
||||
<Mouse context="minimize" button="-1">minimize</Mouse>
|
||||
<Mouse context="minimize" button="2">move</Mouse>
|
||||
<Mouse context="minimize" button="-3">shade</Mouse>
|
||||
|
||||
</JWM>
|
Loading…
Reference in New Issue