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

Improve JWM menus /root/.xsession is generated by tazx
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 18 17:03:27 2014 +0100 (2014-03-18)
parents 9ccff84f2ed7
children 16ab00bddcf1
line source
1 <?xml version="1.0"?>
3 <JWM>
5 <!-- The root menu, if this is undefined you will not get a menu. -->
6 <RootMenu height="22" onroot="12">
7 <Menu icon="applications-accessories.png" label="Accessories">
8 <Program icon="galculator.png" label="Calculator">calculator</Program>
9 <Program icon="gnome-screenshot.png" label="Screenshot">shutterbug</Program>
10 <Program icon="text-editor.png" label="Joe Editor">terminal -e joe</Program>
11 </Menu>
12 <Menu icon="applications-system.png" label="System Tools">
13 <Program icon="utilities-system-monitor.png" label="Top Monitor">terminal -e top</Program>
14 <Program icon="preferences-desktop-locale.png" label="System Config">terminal -e 'su -c slitaz-config'</Program>
15 </Menu>
16 <Menu icon="applications-internet.png" label="Network">
17 <Program icon="links.png" label="Links Web browser">links -g</Program>
18 <Program icon="internet-web-browser.png" label="Lynx Web browser">terminal -e lynx</Program>
19 <Program icon="xchat.png" label="TazIRC IRC client">terminal -e 'tazirc --ask'</Program>
20 </Menu>
21 <Program icon="file-manager.png" label="File manager">PathFinder</Program>
22 <Program icon="text-editor.png" label="Text editor">adie</Program>
23 <Program icon="xterm.png" label="Terminal">terminal</Program>
24 </RootMenu>
26 <RootMenu height="22" onroot="3">
27 <Program icon="system-shut-down.png" label="Shut down system">halt</Program>
28 <Program icon="system-restart.png" label="Reboot system">reboot</Program>
29 <Exit label="Exit JWM" confirm="true" icon="system-suspend.png"/>
30 <Restart label="Restart JWM" icon="system-restart.png"/>
31 </RootMenu>
33 <!-- Additional tray attributes: autohide, width, border, layer, layout -->
34 <Tray x="0" y="+0" height="24">
36 <!-- Additional TrayButton attribute: label, icon, border, popup -->
37 <TrayButton label="Applications" border="false" popup="">root:1</TrayButton>
38 <TrayButton label="System" border="false" popup="">root:3</TrayButton>
40 <!-- <TrayButton label="_">showdesktop</TrayButton> -->
42 <!-- Additional Pager attributes; width, height -->
43 <Pager labeled="false" />
45 <!-- Additional TaskList attribute: maxwidth -->
46 <TaskList maxwidth="250" border="false" />
48 <Dock />
50 <!-- Additional Swallow attribute: height -->
51 <Swallow name="xload" width="40">
52 xload -nolabel -bg black -fg grey -hl orange
53 </Swallow>
55 <Clock format="%I:%M">xclock</Clock>
57 </Tray>
59 <!-- Visual Styles -->
61 <WindowStyle>
63 <Font>FreeSans-9:bold</Font>
64 <Width>4</Width>
65 <Height>24</Height>
67 <Active>
68 <Text>#222222</Text>
69 <Title>#dadada:#ededed</Title>
70 <Outline>#dadada</Outline>
71 <Opacity>1.0</Opacity>
72 </Active>
74 <Inactive>
75 <Text>#888888</Text>
76 <Title>#ededed</Title>
77 <!-- <Corner>#aaaaaa</Corner> -->
78 <Outline>#888888</Outline>
79 <Opacity>0.5</Opacity>
80 </Inactive>
82 </WindowStyle>
84 <TaskListStyle>
85 <Font>FreeSans-9:bold</Font>
86 <ActiveForeground>#cfcfcf</ActiveForeground>
87 <ActiveBackground>#444444</ActiveBackground>
88 <Foreground>#888888</Foreground>
89 <Background>#222222</Background>
90 </TaskListStyle>
92 <!-- Additional TrayStyle attribute: insert -->
93 <TrayStyle>
94 <Font>FreeSans-11:bold</Font>
95 <Background>#222222</Background>
96 <Foreground>#cfcfcf</Foreground>
97 <Opacity>1.0</Opacity>
98 </TrayStyle>
100 <PagerStyle>
101 <Outline>black</Outline>
102 <Foreground>#222222</Foreground>
103 <Background>#444444</Background>
104 <ActiveForeground>#888888</ActiveForeground>
105 <ActiveBackground>#666666</ActiveBackground>
106 </PagerStyle>
108 <MenuStyle>
109 <Font>FreeSans-10:bold</Font>
110 <Foreground>black</Foreground>
111 <Background>#f9f7f3</Background>
112 <ActiveForeground>white</ActiveForeground>
113 <ActiveBackground>#7A6753:#443b31</ActiveBackground>
114 <Opacity>1.0</Opacity>
115 </MenuStyle>
117 <PopupStyle delay="100">
118 <Font>FreeSans-18</Font>
119 <Outline>#dddddd</Outline>
120 <Foreground>black</Foreground>
121 <Background>#f9f7f3</Background>
122 </PopupStyle>
124 <IconPath>$HOME/.icons</IconPath>
125 <IconPath>/usr/share/icons/SliTaz/apps/22</IconPath>
126 <IconPath>/usr/share/icons/SliTaz/categories/22</IconPath>
127 <IconPath>/usr/share/pixmaps</IconPath>
129 <!-- Virtual Desktops -->
130 <!-- Desktop tags can be contained within Desktops for desktop names. -->
131 <Desktops width="2">
133 <!-- Default background. Note that a Background tag can be
134 contained within a Desktop tag to give a specific background
135 for that desktop. -->
136 <Background type="command">
137 hsetroot -fill /usr/share/images/slitaz-arm-background.png
138 </Background>
140 </Desktops>
142 <!-- Startup and shutdown commands. -->
143 <StartupCommand></StartupCommand>
144 <ShutdownCommand></ShutdownCommand>
146 <!-- Double click speed (in milliseconds) -->
147 <DoubleClickSpeed>400</DoubleClickSpeed>
149 <!-- Double click delta (in pixels) -->
150 <DoubleClickDelta>2</DoubleClickDelta>
152 <!-- The focus model (sloppy or click) -->
153 <FocusModel>click</FocusModel>
155 <!-- The snap mode (none, screen, or border) -->
156 <SnapMode distance="10">border</SnapMode>
158 <!-- The move mode (outline or opaque) -->
159 <MoveMode>opaque</MoveMode>
161 <!-- The resize mode (outline or opaque) -->
162 <ResizeMode>opaque</ResizeMode>
164 <!-- Key bindings -->
165 <Key key="Up">up</Key>
166 <Key key="Down">down</Key>
167 <Key key="Right">right</Key>
168 <Key key="Left">left</Key>
169 <Key key="h">left</Key>
170 <Key key="j">down</Key>
171 <Key key="k">up</Key>
172 <Key key="l">right</Key>
173 <Key key="Return">select</Key>
174 <Key key="Escape">escape</Key>
176 <Key mask="A" key="Tab">nextstacked</Key>
177 <Key mask="A" key="F4">close</Key>
178 <Key mask="A" key="#">desktop#</Key>
179 <Key mask="A" key="F1">root:1</Key>
180 <Key mask="A" key="F2">window</Key>
182 </JWM>