flavors view jwm/rootfs/etc/xdg/jwm/system.jwmrc @ rev 197

jwm: improve integration
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 03 19:12:17 2014 +0100 (2014-01-03)
parents 87c3d4c9f957
children f36448d4587a
line source
1 <?xml version="1.0"?>
3 <JWM>
5 <!-- The root menu, if this is undefined you will not get a menu. -->
6 <!-- Additional RootMenu attributes: onroot, labeled, label -->
7 <RootMenu height="24" onroot="12">
8 <Menu icon="applications-system.png" label="System Tools">
9 <Program icon="applications-other.png" label="Xload Monitor">
10 xload -nolabel -bg black -fg grey -hl orange
11 </Program>
12 <Program icon="utilities-system-monitor.png" label="Top Monitor">
13 terminal -e top
14 </Program>
15 </Menu>
16 <Menu icon="applications-development.png" label="Development">
17 <Program icon="fluid.png" label="Fluid Designer">
18 fluid
19 </Program>
20 <Program icon="internet-web-browser.png" label="CGI Environment">
21 browser http://localhost/cgi-bin/cgi-env.sh
22 </Program>
23 </Menu>
24 <Menu icon="applications-internet.png" label="Network">
25 <Program icon="internet-web-browser.png" label="Dillo Web browser">
26 dillo
27 </Program>
28 <Program icon="internet-web-browser.png" label="Local Web server">
29 browser http://localhost/
30 </Program>
31 <Program icon="xterm.png" label="Scan localhost ports">
32 terminal -e "(pscan localhost; read i)"
33 </Program>
34 </Menu>
35 <Program icon="tazpkg.png" label="Packages manager">terminal -e tazpkg shell</Program>
36 <Program icon="text-editor.png" label="Nano Text editor">terminal -e nano</Program>
37 <Program icon="xterm.png" label="Terminal">terminal</Program>
38 <Program icon="tazpanel.png" label="SliTaz Panel">browser http://tazpanel:82</Program>
39 </RootMenu>
41 <RootMenu height="24" onroot="3">
42 <Program icon="system-shut-down.png" label="Shut down system">reboot</Program>
43 <Program icon="system-restart.png" label="Reboot system">reboot</Program>
44 <Exit label="Exit JWM" confirm="true" icon="system-suspend.png"/>
45 <Restart label="Restart JWM" icon="system-restart.png"/>
46 </RootMenu>
48 <!-- Additional tray attributes: autohide, width, border, layer, layout -->
49 <Tray x="0" y="-1" height="26">
51 <!-- Additional TrayButton attribute: label -->
52 <TrayButton label="Application">root:1</TrayButton>
53 <TrayButton label="System">root:3</TrayButton>
55 <!-- <TrayButton label="_">showdesktop</TrayButton> -->
57 <!-- Additional Pager attributes; width, height -->
58 <Pager labeled="false" />
60 <!-- Additional TaskList attribute: maxwidth -->
61 <TaskList maxwidth="250"/>
63 <Dock />
65 <!-- Additional Swallow attribute: height -->
66 <Swallow name="xload" width="40">
67 xload -nolabel -bg black -fg grey -hl orange
68 </Swallow>
70 <Clock>xclock</Clock>
72 </Tray>
74 <!-- Visual Styles -->
76 <WindowStyle>
78 <Font>FreeSans-9:bold</Font>
79 <Width>4</Width>
80 <Height>26</Height>
82 <Active>
83 <Text>#cfcfcf</Text>
84 <!-- <Title>#351a0a:#72320e</Title> -->
85 <Title>#351a0a</Title>
86 <Outline>#351a0a</Outline>
87 <Opacity>1.0</Opacity>
88 </Active>
90 <Inactive>
91 <Text>#bbbbbb</Text>
92 <Title>#72320e</Title>
93 <Corner>#aaaaaa</Corner>
94 <Outline>#72320e</Outline>
95 </Inactive>
97 </WindowStyle>
99 <TaskListStyle>
100 <Font>FreeSans-9:bold</Font>
101 <ActiveForeground>black</ActiveForeground>
102 <ActiveBackground>gray80:gray90</ActiveBackground>
103 <Foreground>black</Foreground>
104 <Background>gray90:gray80</Background>
105 </TaskListStyle>
107 <!-- Additional TrayStyle attribute: insert -->
108 <TrayStyle>
109 <Font>FreeSans-11:bold</Font>
110 <Background>#f9f7f3</Background>
111 <Foreground>black</Foreground>
112 <Opacity>0.75</Opacity>
113 </TrayStyle>
115 <PagerStyle>
116 <Outline>black</Outline>
117 <Foreground>gray90</Foreground>
118 <Background>#666666</Background>
119 <ActiveForeground>#70849d</ActiveForeground>
120 <ActiveBackground>#2e3a67</ActiveBackground>
121 </PagerStyle>
123 <MenuStyle>
124 <Font>FreeSans-10:bold</Font>
125 <Foreground>black</Foreground>
126 <Background>#f9f7f3</Background>
127 <ActiveForeground>white</ActiveForeground>
128 <ActiveBackground>#7A6753:#443b31</ActiveBackground>
129 <Opacity>0.85</Opacity>
130 </MenuStyle>
132 <PopupStyle>
133 <Font>FreeSans-16</Font>
134 <Outline>#dddddd</Outline>
135 <Foreground>black</Foreground>
136 <Background>#f9f7f3</Background>
137 </PopupStyle>
139 <IconPath>$HOME/.icons</IconPath>
140 <IconPath>/usr/share/pixmaps</IconPath>
141 <IconPath>/usr/share/icons/SliTaz/apps/22</IconPath>
142 <IconPath>/usr/share/icons/SliTaz/categories/22</IconPath>
144 <!-- Virtual Desktops -->
145 <!-- Desktop tags can be contained within Desktops for desktop names. -->
146 <Desktops count="2">
148 <!-- Default background. Note that a Background tag can be
149 contained within a Desktop tag to give a specific background
150 for that desktop.
151 -->
152 <Background type="image">/usr/share/images/slitaz-background.jpg</Background>
154 </Desktops>
156 <!-- Startup and shutdown commands. -->
157 <StartupCommand></StartupCommand>
158 <ShutdownCommand></ShutdownCommand>
160 <!-- Double click speed (in milliseconds) -->
161 <DoubleClickSpeed>400</DoubleClickSpeed>
163 <!-- Double click delta (in pixels) -->
164 <DoubleClickDelta>2</DoubleClickDelta>
166 <!-- The focus model (sloppy or click) -->
167 <FocusModel>sloppy</FocusModel>
169 <!-- The snap mode (none, screen, or border) -->
170 <SnapMode distance="10">border</SnapMode>
172 <!-- The move mode (outline or opaque) -->
173 <MoveMode>opaque</MoveMode>
175 <!-- The resize mode (outline or opaque) -->
176 <ResizeMode>opaque</ResizeMode>
178 <!-- Key bindings -->
179 <Key key="Up">up</Key>
180 <Key key="Down">down</Key>
181 <Key key="Right">right</Key>
182 <Key key="Left">left</Key>
183 <Key key="h">left</Key>
184 <Key key="j">down</Key>
185 <Key key="k">up</Key>
186 <Key key="l">right</Key>
187 <Key key="Return">select</Key>
188 <Key key="Escape">escape</Key>
190 <Key mask="A" key="Tab">nextstacked</Key>
191 <Key mask="A" key="F4">close</Key>
192 <Key mask="A" key="#">desktop#</Key>
193 <Key mask="A" key="F1">root:1</Key>
194 <Key mask="A" key="F2">window</Key>
196 </JWM>