slitaz-arm view rootfs/etc/xdg/jwm/system.jwmrc @ rev 64

Add some config files needed for an ARM desktop
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 15 19:12:04 2014 +0100 (2014-03-15)
parents
children 9ccff84f2ed7
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="22" 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 <Program icon="preferences-desktop-locale.png" label="System Language">
16 terminal -e su -c slitaz-config
17 </Program>
18 </Menu>
19 <Menu icon="applications-internet.png" label="Network">
20 <Program icon="internet-web-browser.png" label="Lynx Web browser">
21 terminal -e lynx
22 </Program>
23 <Program icon="xchat.png" label="TazIRC IRC client">
24 terminal -e 'tazirc --ask'
25 </Program>
26 </Menu>
27 <Program icon="tazpkg.png" label="Packages manager">terminal -e tazpkg shell</Program>
28 <Program icon="text-editor.png" label="Joe Text editor">terminal -e joe</Program>
29 <Program icon="xterm.png" label="Terminal">terminal</Program>
30 </RootMenu>
32 <RootMenu height="22" onroot="3">
33 <Program icon="system-shut-down.png" label="Shut down system">reboot</Program>
34 <Program icon="system-restart.png" label="Reboot system">reboot</Program>
35 <Exit label="Exit JWM" confirm="true" icon="system-suspend.png"/>
36 <Restart label="Restart JWM" icon="system-restart.png"/>
37 </RootMenu>
39 <!-- Additional tray attributes: autohide, width, border, layer, layout -->
40 <Tray x="0" y="+0" height="24">
42 <!-- Additional TrayButton attribute: label, icon, border, popup -->
43 <TrayButton label="Application" border="false" popup="">root:1</TrayButton>
44 <TrayButton label="System" border="false" popup="">root:3</TrayButton>
46 <!-- <TrayButton label="_">showdesktop</TrayButton> -->
48 <!-- Additional Pager attributes; width, height -->
49 <Pager labeled="false" />
51 <!-- Additional TaskList attribute: maxwidth -->
52 <TaskList maxwidth="250" border="false" />
54 <Dock />
56 <!-- Additional Swallow attribute: height -->
57 <Swallow name="xload" width="40">
58 xload -nolabel -bg black -fg grey -hl orange
59 </Swallow>
61 <Clock format="%I:%M">xclock</Clock>
63 </Tray>
65 <!-- Visual Styles -->
67 <WindowStyle>
69 <Font>FreeSans-9:bold</Font>
70 <Width>4</Width>
71 <Height>24</Height>
73 <Active>
74 <Text>#222222</Text>
75 <Title>#dadada:#ededed</Title>
76 <Outline>#dadada</Outline>
77 <Opacity>1.0</Opacity>
78 </Active>
80 <Inactive>
81 <Text>#888888</Text>
82 <Title>#ededed</Title>
83 <!-- <Corner>#aaaaaa</Corner> -->
84 <Outline>#888888</Outline>
85 <Opacity>0.5</Opacity>
86 </Inactive>
88 </WindowStyle>
90 <TaskListStyle>
91 <Font>FreeSans-9:bold</Font>
92 <ActiveForeground>#cfcfcf</ActiveForeground>
93 <ActiveBackground>#444444</ActiveBackground>
94 <Foreground>#888888</Foreground>
95 <Background>#222222</Background>
96 </TaskListStyle>
98 <!-- Additional TrayStyle attribute: insert -->
99 <TrayStyle>
100 <Font>FreeSans-11:bold</Font>
101 <Background>#222222</Background>
102 <Foreground>#cfcfcf</Foreground>
103 <Opacity>1.0</Opacity>
104 </TrayStyle>
106 <PagerStyle>
107 <Outline>black</Outline>
108 <Foreground>#222222</Foreground>
109 <Background>#444444</Background>
110 <ActiveForeground>#888888</ActiveForeground>
111 <ActiveBackground>#666666</ActiveBackground>
112 </PagerStyle>
114 <MenuStyle>
115 <Font>FreeSans-10:bold</Font>
116 <Foreground>black</Foreground>
117 <Background>#f9f7f3</Background>
118 <ActiveForeground>white</ActiveForeground>
119 <ActiveBackground>#7A6753:#443b31</ActiveBackground>
120 <Opacity>1.0</Opacity>
121 </MenuStyle>
123 <PopupStyle delay="100">
124 <Font>FreeSans-18</Font>
125 <Outline>#dddddd</Outline>
126 <Foreground>black</Foreground>
127 <Background>#f9f7f3</Background>
128 </PopupStyle>
130 <IconPath>$HOME/.icons</IconPath>
131 <IconPath>/usr/share/icons/SliTaz/apps/22</IconPath>
132 <IconPath>/usr/share/icons/SliTaz/categories/22</IconPath>
133 <IconPath>/usr/share/pixmaps</IconPath>
135 <!-- Virtual Desktops -->
136 <!-- Desktop tags can be contained within Desktops for desktop names. -->
137 <Desktops width="2">
139 <!-- Default background. Note that a Background tag can be
140 contained within a Desktop tag to give a specific background
141 for that desktop. -->
142 <Background type="command">
143 hsetroot -fill /usr/share/images/slitaz-background.jpg
144 </Background>
146 </Desktops>
148 <!-- Startup and shutdown commands. -->
149 <StartupCommand>compton -Cc -r 10 -o 0.5</StartupCommand>
150 <ShutdownCommand></ShutdownCommand>
152 <!-- Double click speed (in milliseconds) -->
153 <DoubleClickSpeed>400</DoubleClickSpeed>
155 <!-- Double click delta (in pixels) -->
156 <DoubleClickDelta>2</DoubleClickDelta>
158 <!-- The focus model (sloppy or click) -->
159 <FocusModel>click</FocusModel>
161 <!-- The snap mode (none, screen, or border) -->
162 <SnapMode distance="10">border</SnapMode>
164 <!-- The move mode (outline or opaque) -->
165 <MoveMode>opaque</MoveMode>
167 <!-- The resize mode (outline or opaque) -->
168 <ResizeMode>opaque</ResizeMode>
170 <!-- Key bindings -->
171 <Key key="Up">up</Key>
172 <Key key="Down">down</Key>
173 <Key key="Right">right</Key>
174 <Key key="Left">left</Key>
175 <Key key="h">left</Key>
176 <Key key="j">down</Key>
177 <Key key="k">up</Key>
178 <Key key="l">right</Key>
179 <Key key="Return">select</Key>
180 <Key key="Escape">escape</Key>
182 <Key mask="A" key="Tab">nextstacked</Key>
183 <Key mask="A" key="F4">close</Key>
184 <Key mask="A" key="#">desktop#</Key>
185 <Key mask="A" key="F1">root:1</Key>
186 <Key mask="A" key="F2">window</Key>
188 </JWM>