wok-6.x rev 15940
Up: jwm (2.2.0) with new style, use compton and hsetroot
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 19:26:13 2014 +0100 (2014-02-22) |
parents | 8d88f159eced |
children | 71a9f5c8104e |
files | jwm/receipt jwm/stuff/slitaz.jwmrc |
line diff
1.1 --- a/jwm/receipt Sat Feb 22 19:24:36 2014 +0100 1.2 +++ b/jwm/receipt Sat Feb 22 19:26:13 2014 +0100 1.3 @@ -1,41 +1,40 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="jwm" 1.7 -VERSION="2.1.0" 1.8 +VERSION="2.2.0" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="JWM is a light Window Manager for the X window system." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.15 WEB_SITE="http://www.joewing.net/programs/jwm/" 1.16 WGET_URL="http://www.joewing.net/programs/jwm/releases/$TARBALL" 1.17 TAGS="wm window-manager" 1.18 1.19 DEPENDS="xorg-libX11 xorg-libXft xorg-libXrender xorg-libXpm xorg-libXext \ 1.20 xorg-libXmu xorg-libXinerama xorg-libXau xorg-libXdmcp xorg-libXt libjpeg \ 1.21 -libpng slitaz-configs-base xorg-xload xorg-xclock nano" 1.22 +libpng slitaz-configs-base xorg-xload xorg-xclock nano imlib2 hsetroot compton" 1.23 BUILD_DEPENDS="xorg-dev xorg-libXft-dev jpeg-dev libpng-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - cd $src 1.29 - [ -f done.resize-backgound.u ] || patch -p1 < $stuff/resize-backgound.u 1.30 - touch done.resize-backgound.u 1.31 + #[ -f done.resize-backgound.u ] || patch -p1 < $stuff/resize-backgound.u 1.32 + #touch done.resize-backgound.u 1.33 ./configure \ 1.34 --prefix=/usr \ 1.35 --mandir=/usr/share/man \ 1.36 --sysconfdir=/etc/xdg/jwm \ 1.37 --disable-fribidi \ 1.38 $CONFIGURE_ARGS && 1.39 - make 1.40 + make && make install 1.41 } 1.42 1.43 # Rules to gen a SliTaz package suitable for Tazpkg. 1.44 genpkg_rules() 1.45 { 1.46 - mkdir -p $fs/usr/bin $fs/etc/xdg/jwm $fs/usr/share 1.47 - cp -a $src/src/jwm $fs/usr/bin 1.48 + mkdir -p $fs/etc/xdg/jwm $fs/usr/share 1.49 + cp -a $install/usr/bin $fs/usr/bin 1.50 # Simple and default config file. 1.51 cp $stuff/simple.jwmrc $fs/etc/xdg/jwm/simple.jwmrc 1.52 cp $stuff/slitaz.jwmrc $fs/etc/xdg/jwm/system.jwmrc
2.1 --- a/jwm/stuff/slitaz.jwmrc Sat Feb 22 19:24:36 2014 +0100 2.2 +++ b/jwm/stuff/slitaz.jwmrc Sat Feb 22 19:26:13 2014 +0100 2.3 @@ -4,7 +4,7 @@ 2.4 2.5 <!-- The root menu, if this is undefined you will not get a menu. --> 2.6 <!-- Additional RootMenu attributes: onroot, labeled, label --> 2.7 - <RootMenu height="24" onroot="12"> 2.8 + <RootMenu height="22" onroot="12"> 2.9 <Menu icon="applications-system.png" label="System Tools"> 2.10 <Program icon="applications-other.png" label="Xload Monitor"> 2.11 xload -nolabel -bg black -fg grey -hl orange 2.12 @@ -12,13 +12,19 @@ 2.13 <Program icon="utilities-system-monitor.png" label="Top Monitor"> 2.14 terminal -e top 2.15 </Program> 2.16 + <Program icon="preferences-desktop-locale.png" label="System Language"> 2.17 + terminal -e su -c tazlocale 2.18 + </Program> 2.19 + <Program icon="preferences-desktop-keyboard.png" label="System Keymap"> 2.20 + terminal -e su -c tazkeymap 2.21 + </Program> 2.22 </Menu> 2.23 <Menu icon="applications-internet.png" label="Network"> 2.24 <Program icon="internet-web-browser.png" label="Retawq Web browser"> 2.25 terminal -e retawq 2.26 </Program> 2.27 - <Program icon="xterm.png" label="Scan loclhost ports"> 2.28 - terminal -e "(pscan localhost; read i)" 2.29 + <Program icon="xchat.png" label="TazIRC IRC client"> 2.30 + terminal -e 'tazirc --ask' 2.31 </Program> 2.32 </Menu> 2.33 <Program icon="tazpkg.png" label="Packages manager">terminal -e tazpkg shell</Program> 2.34 @@ -26,7 +32,7 @@ 2.35 <Program icon="xterm.png" label="Terminal">terminal</Program> 2.36 </RootMenu> 2.37 2.38 - <RootMenu height="24" onroot="3"> 2.39 + <RootMenu height="22" onroot="3"> 2.40 <Program icon="system-shut-down.png" label="Shut down system">reboot</Program> 2.41 <Program icon="system-restart.png" label="Reboot system">reboot</Program> 2.42 <Exit label="Exit JWM" confirm="true" icon="system-suspend.png"/> 2.43 @@ -34,11 +40,11 @@ 2.44 </RootMenu> 2.45 2.46 <!-- Additional tray attributes: autohide, width, border, layer, layout --> 2.47 - <Tray x="0" y="-1" height="26"> 2.48 + <Tray x="0" y="+0" height="22"> 2.49 2.50 - <!-- Additional TrayButton attribute: label --> 2.51 - <TrayButton label="Application">root:1</TrayButton> 2.52 - <TrayButton label="System">root:3</TrayButton> 2.53 + <!-- Additional TrayButton attribute: label, icon, border, popup --> 2.54 + <TrayButton label="Application" border="false" popup="">root:1</TrayButton> 2.55 + <TrayButton label="System" border="false" popup="">root:3</TrayButton> 2.56 2.57 <!-- <TrayButton label="_">showdesktop</TrayButton> --> 2.58 2.59 @@ -46,7 +52,7 @@ 2.60 <Pager labeled="false" /> 2.61 2.62 <!-- Additional TaskList attribute: maxwidth --> 2.63 - <TaskList maxwidth="250"/> 2.64 + <TaskList maxwidth="250" border="false" /> 2.65 2.66 <Dock /> 2.67 2.68 @@ -55,7 +61,7 @@ 2.69 xload -nolabel -bg black -fg grey -hl orange 2.70 </Swallow> 2.71 2.72 - <Clock>xclock</Clock> 2.73 + <Clock format="%I:%M">xclock</Clock> 2.74 2.75 </Tray> 2.76 2.77 @@ -65,47 +71,47 @@ 2.78 2.79 <Font>FreeSans-9:bold</Font> 2.80 <Width>4</Width> 2.81 - <Height>26</Height> 2.82 + <Height>22</Height> 2.83 2.84 <Active> 2.85 - <Text>#cfcfcf</Text> 2.86 - <!-- <Title>#351a0a:#72320e</Title> --> 2.87 - <Title>#351a0a</Title> 2.88 - <Outline>#351a0a</Outline> 2.89 + <Text>#222222</Text> 2.90 + <Title>#dadada:#ededed</Title> 2.91 + <Outline>#dadada</Outline> 2.92 <Opacity>1.0</Opacity> 2.93 </Active> 2.94 2.95 <Inactive> 2.96 - <Text>#bbbbbb</Text> 2.97 - <Title>#72320e</Title> 2.98 - <Corner>#aaaaaa</Corner> 2.99 - <Outline>#72320e</Outline> 2.100 + <Text>#888888</Text> 2.101 + <Title>#ededed</Title> 2.102 + <!-- <Corner>#aaaaaa</Corner> --> 2.103 + <Outline>#888888</Outline> 2.104 + <Opacity>0.5</Opacity> 2.105 </Inactive> 2.106 2.107 </WindowStyle> 2.108 2.109 <TaskListStyle> 2.110 <Font>FreeSans-9:bold</Font> 2.111 - <ActiveForeground>black</ActiveForeground> 2.112 - <ActiveBackground>gray80:gray90</ActiveBackground> 2.113 - <Foreground>black</Foreground> 2.114 - <Background>gray90:gray80</Background> 2.115 + <ActiveForeground>#cfcfcf</ActiveForeground> 2.116 + <ActiveBackground>#444444</ActiveBackground> 2.117 + <Foreground>#888888</Foreground> 2.118 + <Background>#222222</Background> 2.119 </TaskListStyle> 2.120 2.121 <!-- Additional TrayStyle attribute: insert --> 2.122 <TrayStyle> 2.123 <Font>FreeSans-11:bold</Font> 2.124 - <Background>#f9f7f3</Background> 2.125 - <Foreground>black</Foreground> 2.126 - <Opacity>0.75</Opacity> 2.127 + <Background>#222222</Background> 2.128 + <Foreground>#cfcfcf</Foreground> 2.129 + <Opacity>1.0</Opacity> 2.130 </TrayStyle> 2.131 2.132 <PagerStyle> 2.133 <Outline>black</Outline> 2.134 - <Foreground>gray90</Foreground> 2.135 - <Background>#666666</Background> 2.136 - <ActiveForeground>#70849d</ActiveForeground> 2.137 - <ActiveBackground>#2e3a67</ActiveBackground> 2.138 + <Foreground>#222222</Foreground> 2.139 + <Background>#444444</Background> 2.140 + <ActiveForeground>#888888</ActiveForeground> 2.141 + <ActiveBackground>#666666</ActiveBackground> 2.142 </PagerStyle> 2.143 2.144 <MenuStyle> 2.145 @@ -114,35 +120,36 @@ 2.146 <Background>#f9f7f3</Background> 2.147 <ActiveForeground>white</ActiveForeground> 2.148 <ActiveBackground>#7A6753:#443b31</ActiveBackground> 2.149 - <Opacity>0.85</Opacity> 2.150 + <Opacity>1.0</Opacity> 2.151 </MenuStyle> 2.152 2.153 - <PopupStyle> 2.154 - <Font>FreeSans-16</Font> 2.155 + <PopupStyle delay="100"> 2.156 + <Font>FreeSans-18</Font> 2.157 <Outline>#dddddd</Outline> 2.158 <Foreground>black</Foreground> 2.159 <Background>#f9f7f3</Background> 2.160 </PopupStyle> 2.161 2.162 <IconPath>$HOME/.icons</IconPath> 2.163 - <IconPath>/usr/share/pixmaps</IconPath> 2.164 <IconPath>/usr/share/icons/SliTaz/apps/22</IconPath> 2.165 <IconPath>/usr/share/icons/SliTaz/categories/22</IconPath> 2.166 + <IconPath>/usr/share/pixmaps</IconPath> 2.167 2.168 <!-- Virtual Desktops --> 2.169 <!-- Desktop tags can be contained within Desktops for desktop names. --> 2.170 - <Desktops count="2"> 2.171 + <Desktops width="2"> 2.172 2.173 <!-- Default background. Note that a Background tag can be 2.174 contained within a Desktop tag to give a specific background 2.175 - for that desktop. 2.176 - --> 2.177 - <Background type="image">/usr/share/images/slitaz-background.jpg</Background> 2.178 + for that desktop. --> 2.179 + <Background type="command"> 2.180 + hsetroot -fill /usr/share/images/slitaz-background.jpg 2.181 + </Background> 2.182 2.183 </Desktops> 2.184 2.185 <!-- Startup and shutdown commands. --> 2.186 - <StartupCommand></StartupCommand> 2.187 + <StartupCommand>compton -Cc -r 10 -o 0.5</StartupCommand> 2.188 <ShutdownCommand></ShutdownCommand> 2.189 2.190 <!-- Double click speed (in milliseconds) --> 2.191 @@ -152,7 +159,7 @@ 2.192 <DoubleClickDelta>2</DoubleClickDelta> 2.193 2.194 <!-- The focus model (sloppy or click) --> 2.195 - <FocusModel>sloppy</FocusModel> 2.196 + <FocusModel>click</FocusModel> 2.197 2.198 <!-- The snap mode (none, screen, or border) --> 2.199 <SnapMode distance="10">border</SnapMode>