wok view fbpanel/stuff/default @ rev 14929

Up: eina-dev (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:33 2013 +0200 (2013-08-08)
parents
children
line source
1 ########################################
2 ## fbpanel configuration file ##
3 ########################################
6 # DESCRIPTION
7 # Configuration file consists of mandatory 'Global' block that MUST come first,
8 # and optionally one or more 'Plugin' block.
9 # Lines having '#' as first non-blank char or blank lines are ignored
10 # Keywords are not case-sensitive
11 # Values are case-sensitive
12 # Value of variable is a text from first non-blank char after '='
13 # till the last non-blank char. '#' is NOT treated as coment in this context
15 # 'Global' block describes global parameters like position, size and
16 # some NETWM settings
18 # Global {
20 # # screen edge
21 # # legal values are: left, right, top, bottom
22 # edge = bottom
24 # # allignment of a panel
25 # # legal values are: left, right, center
26 # allign = left
28 # # length of margin (in pixels)
29 # # legal values are numbers
30 # margin = 0
32 # # widthtype specifies how panel width is calculated
33 # # legal values are: request, pixel, percent
34 # # request - follow widgets' size requests. can shrink or grow dynamically
35 # # pixel - occupy fixed number of pixels, then 'width' variable holds a number
36 # # percent - be 'width' precent of an edge.
37 # widthType = percent
39 # # numerical value of width (not applicable for 'request' widthtype)
40 # # legal values are numbers
41 # width = 80
43 # # heighttype specifies how panel height is calculated
44 # # legal values are: pixel
45 # # pixel - ocupy fixed number of pixels, then 'height' variable holds a number
46 # heightType = pixel
48 # # numerical value of height (if applicable)
49 # # legal values are numbers
50 # height = 28
53 # # Identify panel window type as dock
54 # # legal values are boolean
55 # setDockType = true
57 # # Reserve panel's space so that it will not be covered by maximazied windows
58 # # legal values are boolean
59 # # setPartialStrut = true
62 # # Transparency stuff:
63 # # tintColor is a color to composite on root background given as #RRGGBB or as name
64 # # alpha is transparency of the tint color.
65 # # transparent = true
66 # # tintColor = #FFFFFF
67 # or
68 # # tintColor = white
69 # # alpha = 127
71 # # Autohide
72 # # autoHide = false
73 # # heightWhenHidden = 2
75 # }
79 # 'Plugin' block specifies a plugin to load. It has same syntax for both
80 # builtin and external plugins.
82 # First parameter is 'type'. It's mandatory and must come first
83 # Legal values are plugin names. Names of builtin plugins are:
84 # separator - visual separator
85 # wincmd - 'show desktop' button
86 # taskbar - lists all opened windows (tasks)
87 # launchbar - bar with launch button
88 # image - just shows an image
89 # dclock - digital clock
90 # space - just seize space
91 # pager - thumbnailed view of the desktop
92 # tray - tray for XEMBED icons (aka docklets)
94 # expand - specifies if plugin can accomodate extra space or not [optional]
95 # padding - extra padding around plugin [optional]
96 # config {} - block of plugin's private configuration.
97 # This part is plugin dependant
100 #
101 # Plugin {
102 # type = wincmd
103 # config {
104 # image = ~/.fbpanel/images/Desktop2.png
105 # tooltip = Left click to iconify all windows. Middle click to shade them.
106 # }
107 # }
110 Global {
111 edge = bottom
112 allign = center
113 margin = 0
114 widthtype = percent
115 width = 86
116 height = 24
117 transparent = true
118 tintcolor = #ffffff
119 alpha = 28
120 setdocktype = true
121 setpartialstrut = true
122 autohide = false
123 heightWhenHidden = 2
124 roundcorners = true
125 roundcornersradius = 7
126 layer = none
127 MaxElemHeight = 32
128 }
132 Plugin {
133 type = space
134 config {
135 size = 2
136 }
137 }
140 Plugin {
141 type = menu
142 config {
143 IconSize = 22
144 #icon = start-here
145 icon = logo
146 systemmenu {
147 }
148 separator {
149 }
150 menu {
151 name = Computer
152 icon = computer
154 item {
155 name = Terminal
156 icon = terminal
157 action = x-terminal
158 }
159 item {
160 name = Lock Display
161 icon = gnome-lockscreen
162 action = slock
163 }
164 separator {
165 }
166 item {
167 name = Reboot
168 icon = gnome-session-reboot
169 action = sudo reboot
170 }
171 item {
172 name = Shutdown
173 icon = gnome-session-halt
174 action = sudo shutdown -h now
175 }
176 item {
177 name = logout
178 icon = gnome-session-logout
179 action = /usr/libexec/fbpanel/xlogout
180 }
181 }
182 }
183 }
187 Plugin {
188 type = space
189 config {
190 size = 15
191 }
192 }
195 Plugin {
196 type = launchbar
197 config {
198 button {
199 icon = file-manager
200 tooltip = File Manager
201 action = x-file-manager
202 }
203 button {
204 icon = terminal
205 tooltip = Terminal
206 action = x-terminal
207 }
208 button {
209 icon = web-browser
210 tooltip = Web Browser
211 action = x-www-browser
212 }
213 }
214 }
216 Plugin {
217 type = space
218 config {
219 size = 15
220 }
221 }
224 Plugin {
225 type = wincmd
226 config {
227 icon = gnome-fs-desktop
228 tooltip = Left click to iconify all windows. Middle click to shade them.
229 }
230 }
233 Plugin {
234 type = space
235 config {
236 size = 15
237 }
238 }
242 Plugin {
243 type = taskbar
244 expand = true
245 config {
246 ShowIconified = true
247 ShowMapped = true
248 ShowAllDesks = false
249 tooltips = true
250 IconsOnly = false
251 MaxTaskWidth = 150
252 }
253 }
256 Plugin {
257 type = space
258 config {
259 size = 15
260 }
261 }
263 Plugin {
264 type = pager
265 config {
266 showwallpaper = true
267 }
268 }
270 Plugin {
271 type = space
272 config {
273 size = 10
274 }
275 }
277 Plugin {
278 type = mem
279 expand = false
280 padding = 2
281 config {
282 ShowSwap = false
283 }
284 }
286 Plugin {
287 type = cpu
288 config {
289 Color = green
290 }
291 }
293 Plugin {
294 type = net
295 expand = false
296 padding = 0
297 config {
298 #interface = ppp0
299 interface = eth0
300 # set connection limits to make traffic graph more accurate
301 TxLimit = 20
302 RxLimit = 190
303 TxColor = violet
304 RxColor = blue
305 }
306 }
309 Plugin {
310 type = space
311 config {
312 size = 10
313 }
314 }
316 plugin {
317 type = volume
318 }
320 #plugin {
321 # type = battery
322 #}
324 Plugin {
325 type = tray
326 }
328 Plugin {
329 type = space
330 config {
331 size = 10
332 }
333 }
335 # Digital Clock
336 Plugin {
337 type = dclock
338 config {
339 ShowSeconds = false
340 HoursView = 24
341 TooltipFmt = %A %x
342 #Action = xmessage Please define some command &
343 }
344 }
346 # Text Clock
347 # ClockFmt: (string) Clock format string. May contain strftime conversion
348 # specifications and Pango markup information.
349 # TooltipFmt: (string) Tooltip format string.
350 # Action: (string) Shell command to execute when clock is clicked.
351 # ShowCalendar: (boolean) Show a GTK calendar widget when the clock is
352 # clicked. Only valid if Action is unset.
353 # ShowTooltip: (boolean) Show tooltip for clock.
354 #Plugin {
355 # type = tclock
356 # config {
357 # ClockFmt = <b>%I:%M</b>
358 # # 2 line view, time in bold above and date below
359 # # ClockFmt = <span font="Sans 8"><b>%-l:%M</b> %P&#xA;%a %B %-e</span>
360 # TooltipFmt = %A %x
361 # #Action = xmessage Please define some command &
362 # ShowCalendar = false
363 # ShowTooltip = true
364 # }
365 #}
367 # 'icons' plugin lets you customize window icons.
368 # these changes apply to entire desktop
369 Plugin {
370 type = icons
371 config {
372 DefaultIcon = /usr/share/fbpanel/images/default.xpm
373 application {
374 icon = gnome-terminal
375 ClassName = XTerm
376 }
377 application {
378 icon = gnome-terminal
379 ClassName = mlterm
380 }
381 application {
382 icon = gnome-terminal
383 ClassName = URxvt
384 }
385 application {
386 icon = gnome-emacs
387 ClassName = Emacs
388 }
389 application {
390 icon = mozilla-firefox
391 ClassName = Firefox-bin
392 }
393 application {
394 icon = mozilla-firefox
395 ClassName = Firefox
396 }
397 }
398 }