wok-4.x rev 25
Add : jwm and example config file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:52:06 2007 +0100 (2007-12-18) |
parents | 8a16d292a7d3 |
children | bcd4a80b8cd6 |
files | jwm/receipt jwm/stuff/simple.jwmrc |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/jwm/receipt Tue Dec 18 13:52:06 2007 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="jwm" 1.7 +VERSION="2.0.1" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="JWM is a light Window Manager for the X window system." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="xorg" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://www.joewing.net/programs/jwm/" 1.14 +WGET_URL="http://www.joewing.net/programs/jwm/releases/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure --prefix=/usr --mandir=/usr/share/man \ 1.21 + --sysconfdir=/etc/jwm $CONFIGURE_ARGS 1.22 + make 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/bin 1.29 + mkdir -p $fs/etc/jwm 1.30 + cp -a $src/src/jwm $fs/usr/bin 1.31 + strip -s $fs/usr/bin/* 1.32 + # Simple config file. 1.33 + cp stuff/simple.jwmrc $fs/etc/jwm/system.jwmrc 1.34 + cp stuff/simple.jwmrc $fs/etc/jwm/simple.jwmrc 1.35 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/jwm/stuff/simple.jwmrc Tue Dec 18 13:52:06 2007 +0100 2.3 @@ -0,0 +1,177 @@ 2.4 +<?xml version="1.0"?> 2.5 + 2.6 +<JWM> 2.7 + 2.8 + <!-- The root menu, if this is undefined you will not get a menu. --> 2.9 + <!-- Additional RootMenu attributes: onroot, labeled, label --> 2.10 + <RootMenu height="26" onroot="123"> 2.11 + <Program icon="" label="XTerminal"> 2.12 + xterm -bg black -fg white 2.13 + </Program> 2.14 + 2.15 + <Menu icon="applications.png" label="Applications"> 2.16 + <Program icon="" label="Clex File manager">xterm -e clex</Program> 2.17 + <Program icon="" label="Htop System monitor"> 2.18 + xterm -bg black -fg white -e htop 2.19 + </Program> 2.20 + <Program icon="" label="Nano Text editor">xterm -e nano</Program> 2.21 + <Program icon="" label="Retawq Web browser"> 2.22 + xterm -bg black -fg white -e retawq 2.23 + </Program> 2.24 + </Menu> 2.25 + 2.26 + <Separator/> 2.27 + <Restart label="Restart" icon="restart.png"/> 2.28 + <Exit label="Exit" confirm="true" icon="exit.png"/> 2.29 + </RootMenu> 2.30 + 2.31 + <!-- Additional tray attributes: autohide, width, border, layer, layout --> 2.32 + <Tray x="0" y="-1" height="26"> 2.33 + 2.34 + <!-- Additional TrayButton attribute: label --> 2.35 + <TrayButton label="SliTaz">root:1</TrayButton> 2.36 + 2.37 + <TrayButton label="_">showdesktop</TrayButton> 2.38 + 2.39 + <!-- Additional Pager attributes; width, height --> 2.40 + <Pager/> 2.41 + 2.42 + <!-- Additional TaskList attribute: maxwidth --> 2.43 + <TaskList/> 2.44 + 2.45 + <Dock/> 2.46 + 2.47 + <!-- Additional Swallow attribute: height --> 2.48 + <!-- <Swallow name="xload" width="64"> 2.49 + xload -nolabel -bg black -fg red -hl white 2.50 + </Swallow> --> 2.51 + 2.52 + <Clock>xclock</Clock> 2.53 + 2.54 + </Tray> 2.55 + 2.56 + <!-- Visual Styles --> 2.57 + 2.58 + <WindowStyle> 2.59 + 2.60 + <Font>FreeSans-9:bold</Font> 2.61 + <Width>4</Width> 2.62 + <Height>20</Height> 2.63 + 2.64 + <Active> 2.65 + <Text>white</Text> 2.66 + <Title>#70849d:#2e3a67</Title> 2.67 + <Corner>white</Corner> 2.68 + <Outline>black</Outline> 2.69 + </Active> 2.70 + 2.71 + <Inactive> 2.72 + <Text>#aaaaaa</Text> 2.73 + <Title>#808488:#303438</Title> 2.74 + <Corner>#aaaaaa</Corner> 2.75 + <Outline>black</Outline> 2.76 + </Inactive> 2.77 + 2.78 + </WindowStyle> 2.79 + 2.80 + <TaskListStyle> 2.81 + <Font>FreeSans-11:bold</Font> 2.82 + <ActiveForeground>black</ActiveForeground> 2.83 + <ActiveBackground>gray90:gray70</ActiveBackground> 2.84 + <Foreground>black</Foreground> 2.85 + <Background>gray70:gray90</Background> 2.86 + </TaskListStyle> 2.87 + 2.88 + <!-- Additional TrayStyle attribute: insert --> 2.89 + <TrayStyle> 2.90 + <Font>FreeSans-11:bold</Font> 2.91 + <Background>gray90</Background> 2.92 + <Foreground>black</Foreground> 2.93 + </TrayStyle> 2.94 + 2.95 + <PagerStyle> 2.96 + <Outline>black</Outline> 2.97 + <Foreground>gray90</Foreground> 2.98 + <Background>#808488</Background> 2.99 + <ActiveForeground>#70849d</ActiveForeground> 2.100 + <ActiveBackground>#2e3a67</ActiveBackground> 2.101 + </PagerStyle> 2.102 + 2.103 + <MenuStyle> 2.104 + <Font>FreeSans-11:bold</Font> 2.105 + <Foreground>black</Foreground> 2.106 + <Background>gray90</Background> 2.107 + <ActiveForeground>white</ActiveForeground> 2.108 + <ActiveBackground>#70849d:#2e3a67</ActiveBackground> 2.109 + </MenuStyle> 2.110 + 2.111 + <PopupStyle> 2.112 + <Font>FreeSans-10</Font> 2.113 + <Outline>black</Outline> 2.114 + <Foreground>black</Foreground> 2.115 + <Background>yellow</Background> 2.116 + </PopupStyle> 2.117 + 2.118 + <IconPath> 2.119 + $HOME/Images/Icons 2.120 + </IconPath> 2.121 + <IconPath> 2.122 + /usr/share/pixmaps 2.123 + </IconPath> 2.124 + 2.125 + <!-- Virtual Desktops --> 2.126 + <!-- Desktop tags can be contained within Desktops for desktop names. --> 2.127 + <Desktops count="4"> 2.128 + 2.129 + <!-- Default background. Note that a Background tag can be 2.130 + contained within a Desktop tag to give a specific background 2.131 + for that desktop. 2.132 + --> 2.133 + <Background type="gradient">#BFB06B:#D6C885</Background> 2.134 + 2.135 + </Desktops> 2.136 + 2.137 + <!-- Startup and shutdown commands. --> 2.138 + <StartupCommand></StartupCommand> 2.139 + <ShutdownCommand> 2.140 + killall Xvesa; clear; sleep 2; clear; echo "JWM exit OK. Press ENTER to continue... " 2.141 + </ShutdownCommand> 2.142 + 2.143 + <!-- Double click speed (in milliseconds) --> 2.144 + <DoubleClickSpeed>400</DoubleClickSpeed> 2.145 + 2.146 + <!-- Double click delta (in pixels) --> 2.147 + <DoubleClickDelta>2</DoubleClickDelta> 2.148 + 2.149 + <!-- The focus model (sloppy or click) --> 2.150 + <FocusModel>sloppy</FocusModel> 2.151 + 2.152 + <!-- The snap mode (none, screen, or border) --> 2.153 + <SnapMode distance="10">border</SnapMode> 2.154 + 2.155 + <!-- The move mode (outline or opaque) --> 2.156 + <MoveMode>opaque</MoveMode> 2.157 + 2.158 + <!-- The resize mode (outline or opaque) --> 2.159 + <ResizeMode>opaque</ResizeMode> 2.160 + 2.161 + <!-- Key bindings --> 2.162 + <Key key="Up">up</Key> 2.163 + <Key key="Down">down</Key> 2.164 + <Key key="Right">right</Key> 2.165 + <Key key="Left">left</Key> 2.166 + <Key key="h">left</Key> 2.167 + <Key key="j">down</Key> 2.168 + <Key key="k">up</Key> 2.169 + <Key key="l">right</Key> 2.170 + <Key key="Return">select</Key> 2.171 + <Key key="Escape">escape</Key> 2.172 + 2.173 + <Key mask="A" key="Tab">nextstacked</Key> 2.174 + <Key mask="A" key="F4">close</Key> 2.175 + <Key mask="A" key="#">desktop#</Key> 2.176 + <Key mask="A" key="F1">root:1</Key> 2.177 + <Key mask="A" key="F2">window</Key> 2.178 + 2.179 +</JWM> 2.180 +