File: default

package info (click to toggle)
fbpanel 4.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 544 kB
  • ctags: 983
  • sloc: ansic: 7,823; makefile: 202; sh: 47
file content (266 lines) | stat: -rw-r--r-- 6,463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
########################################
## fbpanel configuration file         ##
########################################


# DESCRIPTION
# Configuration file consists of mandatory 'Global' block that MUST come first,
# and optionally one or more 'Plugin' block.
# Lines having '#' as first non-blank char or blank lines are ignored
# Value of variable is a text from first non-blank char after '=' 
# till the last non-blank char. '#' is NOT treated as coment in this context

# 'Global' block describes gloabal parameters like position, size and 
# some NETWM settings

# GLobal {

#     # screen edge  
#     # legal values are: left, right, top, bottom
#     edge = bottom

#     # allignment of a panel
#     # legal values are: left, right, center
#     allign = left

#     # length of margin (in pixels) 
#     # legal values are numbers
#     margin = 0

#     # widthtype specifies how panel width is calculated
#     # legal values are: request, pixel, percent
#     #   request - follow widgets' size requests. can shrink or grow dynamically
#     #   pixel   - ocupy fixed number of pixels, then 'width' variable holds a number
#     #   percent - be 'width' precent of an edge.
#     widthtype = percent

#     # numerical value of width (not applicable for 'request' widthtype)
#     # legal values are numbers
#     width = 80

#     # heighttype specifies how panel height is calculated
#     # legal values are: pixel
#     #   pixel   - ocupy fixed number of pixels, then 'height' variable holds a number
#     heighttype = pixel

#     # numerical value of height (if applicable)
#     # legal values are numbers
#     height = 28


#     # Identify panel window type as dock 
#     # legal values are boolean
#     SetDockTpe = true

#     # Reserve panel's space so that it will not be covered by maximazied windows
#     # legal values are boolean
#     # SetPartialStrut = true
 

#     # Transparency stuff: 
#     # TintColor is a color to composite on root background given as #RRGGBB or as name
#     # Alpha is transparency of the tint color.
#     # Transparent = true
#     # TintColor = #FFFFFF
#         or
#     # TintColor = white
#     # Alpha = 127
# }



# 'Plugin' block specifies a plugin to load. It has same syntax for both
# builtin and external plugins.

# First parameter is 'type'. It's mandatory and must come first
# Legal values are plugin names. Names of builtin plugins are:
# separator   - visual separator
# wincmd      - 'show desktop' button
# taskbar     - lists all opened windows (tasks)
# launchbar   - bar with launch button
# image       - just shows an image
# dclock      - digital clock
# space       - just seize space
# pager       - thumbnailed view of the desktop
# tray        - tray for XEMBED icons (aka docklets)

# expand - specifies if plugin can accomodate extra space or not [optional]
# padding - extra paddin around plugin  [optional]
# config {} - block of plugin's private configuration. 
#             This part is plugin  dependant


#  
# Plugin {
#     type = wincmd
#     config {
#         image = ~/.fbpanel/images/Desktop2.png
#         tooltip = Left click to iconify all windows. Middle click to shade them.
#     }
# }


Global {

    edge = bottom
    allign = left
    margin = 0
    widthtype = percent
    width = 100
    heighttype = pixel
    height = 26
    roundcorners = false 
Transparent = true
 TintColor = red
 Alpha = 127
}



Plugin {
    type = wincmd
    config {
        image = /home/anatolya/usr/share/fbpanel/images/Desktop2.png
        tooltip = Left click to iconify all windows. Middle click to shade them.
    }
}

Plugin {
    type = menu
    config {
#        name = menu
        image = /home/anatolya/usr/share/fbpanel/images/Menu.png
        
        menu {
            name = Networking
            image = /home/anatolya/usr/share/fbpanel/images/Networking.png
            item {
#                image = 
                name = mozilla
                action = mozilla
            }
           
            item {
                name = gaim
                image = /usr/share/pixmaps/gaim.png
                action = gaim
            }
        }
        separator {    
        }
        item {
            name = Configure
            image = /home/anatolya/usr/share/fbpanel/images/settings.png
            command = configure
        }    
        separator {
        }
        item {
            name = terminal
            image = /home/anatolya/usr/share/fbpanel/images/GNOME-Terminal.png
            action = xterm
        }
        item {
            name = emacs
            image = /home/anatolya/usr/share/fbpanel/images/Emacs.png
            action = emacs
        }

    }
}

Plugin {
    type = separator
}



Plugin {
    type = launchbar
    config {
        button {
            image = /home/anatolya/usr/share/fbpanel/images/GNOME-Terminal.png
            tooltip = Terminal
            action = xterm
        }
        button {
            image = /home/anatolya/usr/share/fbpanel/images/Emacs.png
            tooltip = Emacs
            action = emacs
        }
    }

}


Plugin {
    type = pager
}
 
 Plugin {
    type = separator
}  

# 'icons' plugin lets you customize window icons. 
# these changes applay to entire desktop
Plugin {
    type = icons
    config {
        DefaultIcon = /home/anatolya/usr/share/fbpanel/images/default.xpm     
        application {
            Image = /home/anatolya/usr/share/fbpanel/images/GNOME-Terminal.png
            ClassName = XTerm
        }
        application {
            Image = ~/.fbpanel/images/GNOME-Terminal.png
            ClassName = mlterm
        }
        application {
            Image = ~/.fbpanel/images/GNOME-Terminal.png
            ClassName = URxvt
        }
        application {
            Image = /home/anatolya/usr/share/fbpanel/images/Emacs.png
            AppName = emacs
            ClassName = Emacs
        }

    }
}
Plugin {
    type = space
    #expand = true
    config {
        size = 20
    }
}


Plugin {
    type = taskbar
    expand = true
    config {
        ShowIconified = true
        ShowMapped    = true
        ShowAllDesks  = false
        tooltips = true
        IconsOnly = false
        MaxTaskWidth = 150
    }
}

Plugin {
    type = tray
}

# Digital Clock
Plugin {
    type = dclock
    config {
        ClockFmt = %R
        TooltipFmt = %A %x
        Action = xmessage Please define some command &
    }
}