Debian Codegraph @

fvwm/recipes/Default with ACPI

raw
1 # Default with ACPI
2 # Written by: Maciej Delmanowski <[email protected]>
3 # 2005.08.11 - <[email protected]> support for:
4 # o AcpiBatt - Battery charge status
5 # o CpuFreq - Frequency of CPU
6 # o CpuTemp - Temperature of CPU
7 # 2007-2014: Dominique Michel <[email protected]>
8 # See ChangeLog for details
9 #
10 # You can use folding to navigate this file
11
12 Echo Default with ACPI recipe loading from $.
13 InfoStoreAdd Recipe "DefaultACPI"
14
15 # Includes and FVWM modules {{{1
16 Include components/bindings/Desktop-MMB-EdgeScroll
17
18 # Media player {{{2
19 Include components/functions/Music-$[infostore.MusicPlayer]
20
21 # Desktop settings {{{1
22 EdgeScroll 0 0
23 EdgeResistance 0
24 Style * EdgeMoveDelay 250
25 Style * EdgeMoveResistance 100
26
27 HideGeometryWindow Move, Resize
28 OpaqueMoveSize 100
29 EdgeThickness 1
30
31 EWMH-Desktop 3 3 3 3
32 EWMH-Panel-Top 30
33 EWMH-Panel-Bottom 30
34
35 # Desktop manager {{{2
36 DestroyFunc RedrawIconBox
37 AddToFunc RedrawIconBox
38 + I Nop
39 LoadPreferences DefaultDesktopManager
40
41 # Pager settings
42 PipeRead 'echo SetEnv FvwmPager_Width $((28*$[infostore.Desk_Pages_X])); echo SetEnv FvwmPager_Height $((24*$[infostore.Desk_Pages_Y]))'
43
44 # Main panel with FVWM-Crystal menu {{{1
45 All (FvwmButtons-MainMenu) Close
46 DestroyModuleConfig FvwmButtons-MainMenu: *
47 *FvwmButtons-MainMenu: Geometry +3+3
48 *FvwmButtons-MainMenu: BoxSize smart
49 *FvwmButtons-MainMenu: ActiveColorset $[infostore.cs_panel_active]
50 *FvwmButtons-MainMenu: Colorset $[infostore.cs_panel_inactive]
51 *FvwmButtons-MainMenu: Rows 1
52 *FvwmButtons-MainMenu: Padding 1 1
53 *FvwmButtons-MainMenu: Frame 0
54 *FvwmButtons-MainMenu: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
55
56 # Diamond {{{2
57 *FvwmButtons-MainMenu: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/fvwm-crystal.png", \
58 Action (Mouse 1) Menu /FVWM-Crystal $[MenuPosition_SE], \
59 Action (Mouse 2) Menu /Random-Wallpaper $[MenuPosition_SE], \
60 Action (Mouse 3) Menu /Applications $[MenuPosition_SE], \
61 Action (Mouse 4) X fvwm-crystal.videomodeswitch+, \
62 Action (Mouse 5) X fvwm-crystal.videomodeswitch-)
63 # }}}2
64
65 Module FvwmButtons FvwmButtons-MainMenu
66
67 # Music panel {{{1
68 All (FvwmButtons-Music) Close
69 DestroyModuleConfig FvwmButtons-Music: *
70 *FvwmButtons-Music: Geometry +31+3
71 *FvwmButtons-Music: BoxSize smart
72 *FvwmButtons-Music: ActiveColorset $[infostore.cs_panel_active]
73 *FvwmButtons-Music: Colorset $[infostore.cs_panel_inactive]
74 *FvwmButtons-Music: Rows 1
75 *FvwmButtons-Music: Padding 1 1
76 *FvwmButtons-Music: Frame 0
77 *FvwmButtons-Music: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
78
79 # Main music button, with some menus {{{2
80 *FvwmButtons-Music: (1x1, Size 22 22, Icon "22x22/categories/Multimedia.png", \
81 Action (Mouse 1) Menu /Player $[MenuPosition_S], \
82 Action (Mouse 2) Music-GUI, \
83 Action (Mouse 3) Music-QJackGUI, \
84 Action (Mouse 4) Change-Volume-Up $[infostore.Vol_Step], \
85 Action (Mouse 5) Change-Volume-Down $[infostore.Vol_Step])
86 # music controls button {{{2
87 *FvwmButtons-Music: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/media-eject.png", \
88 Action (Mouse 1) Menu /Playlist-button $[MenuPosition_S], \
89 Action (Mouse 2) Menu /Music/Volume $[MenuPosition_S], \
90 Action (Mouse 3) Menu /Mixer $[MenuPosition_S], \
91 Action (Mouse 4) Music-Next, \
92 Action (Mouse 5) Music-Prev)
93 # music controls button {{{2
94 *FvwmButtons-Music: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/media-playback-start.png", \
95 Action (Mouse 1) Music-Play, \
96 Action (Mouse 2) Music-Pause, \
97 Action (Mouse 3) Menu /Playback $[MenuPosition_S], \
98 Action (Mouse 4) Music-Speed-Up, \
99 Action (Mouse 5) Music-Speed-Down)
100 # music controls button 4 {{{2
101 *FvwmButtons-Music: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/media-skip-forward.png", \
102 Action (Mouse 1) Menu /Speed $[MenuPosition_S], \
103 Action (Mouse 4) Button-Seek-+, \
104 Action (Mouse 5) Button-Seek--)
105 # }}}2
106
107 Module FvwmButtons FvwmButtons-Music
108
109 # Applications panel and menu generator {{{1
110 SetEnv AppPanelGeom 131
111
112 All (ApplicationPanel) Close
113 DestroyModuleConfig ApplicationPanel: *
114 *ApplicationPanel: Geometry +$[AppPanelGeom]+3
115 *ApplicationPanel: BoxSize smart
116 *ApplicationPanel: ActiveColorset $[infostore.cs_panel_active]
117 *ApplicationPanel: Colorset $[infostore.cs_panel_inactive]
118 *ApplicationPanel: Rows 1
119 *ApplicationPanel: Padding 1 1
120 *ApplicationPanel: Frame 0
121 *ApplicationPanel: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
122
123 # fvwm-crystal.apps {{{2
124 # This creates the distribution-based panel button - defaut distribution
125 # icon, only menu is opened (no default app on the panel)
126 PipeRead 'fvwm-crystal.apps --database=$[FVWM_DISTROMENUDIR]/Applications --database=$[FVWM_SYSTEMDIR]/Applications --database=$[FVWM_USERDIR]/Applications --with=/Applications/$[FVWM_DISTROMENUNAME] --search-icons-in=$[FVWM_USERDIR]/icons/$[infostore.Icon_Theme]/22x22/categories:$[FVWM_USERDIR]/icons/$[infostore.Icon_Theme]/22x22/apps:$[FVWM_SYSTEMDIR]/icons/$[infostore.Icon_Theme]/22x22/categories:$[FVWM_SYSTEMDIR]/icons/$[infostore.Icon_Theme]/22x22/apps:$[FVWM_DISTROMENUDIR]/icons/$[infostore.Icon_Theme]/22x22/categories:$[FVWM_DISTROMENUDIR]/icons/$[infostore.Icon_Theme]/22x22/apps --default-file-icon=22x22/apps/default.png --default-dir-icon=22x22/categories/directory.png --min-submenu-length=5 --sort=prio --panel-icons=standard --panel-action1=menu --panel-action2=none --panel-action3=menu --menu-pos=S --menuname-suffix="Panel" --check-execs'
127 # This creates the main panel with applications - default app icon is
128 # shown on the panel, and can be launched using RMB; LMB opens the app
129 # category menu
130 PipeRead 'fvwm-crystal.apps --database=$[FVWM_DISTROMENUDIR]/Applications --database=$[FVWM_SYSTEMDIR]/Applications --database=$[FVWM_USERDIR]/Applications --without=/Applications/$[FVWM_DISTROMENUNAME] --search-icons-in=$[FVWM_USERDIR]/icons/$[infostore.Icon_Theme]/22x22/categories:$[FVWM_USERDIR]/icons/$[infostore.Icon_Theme]/22x22/apps:$[FVWM_SYSTEMDIR]/icons/$[infostore.Icon_Theme]/22x22/categories:$[FVWM_SYSTEMDIR]/icons/$[infostore.Icon_Theme]/22x22/apps:$[FVWM_DISTROMENUDIR]/icons/$[infostore.Icon_Theme]/22x22/categories:$[FVWM_DISTROMENUDIR]/icons/$[infostore.Icon_Theme]/22x22/apps --default-file-icon=22x22/apps/default.png --default-dir-icon=22x22/categories/directory.png --min-submenu-length=5 --sort=prio --panel-icons=topapp --panel-action1=menu --panel-action2=none --panel-action3=topapp --menu-pos=S --menuname-suffix="Panel" --check-execs'
131 # This creates the menu with applications available under Alt+Win_R
132 PipeRead 'fvwm-crystal.apps --database=$[FVWM_DISTROMENUDIR]/Applications --database=$[FVWM_SYSTEMDIR]/Applications --database=$[FVWM_USERDIR]/Applications --search-icons-in=$[FVWM_USERDIR]/icons/$[infostore.Icon_Theme]/22x22/categories:$[FVWM_USERDIR]/icons/$[infostore.Icon_Theme]/22x22/apps:$[FVWM_SYSTEMDIR]/icons/$[infostore.Icon_Theme]/22x22/categories:$[FVWM_SYSTEMDIR]/icons/$[infostore.Icon_Theme]/22x22/apps:$[FVWM_DISTROMENUDIR]/icons/$[infostore.Icon_Theme]/22x22/categories:$[FVWM_DISTROMENUDIR]/icons/$[infostore.Icon_Theme]/22x22/apps --default-file-icon=22x22/apps/default.png --default-dir-icon=22x22/categories/directory.png --min-submenu-length=5 --sort=prio --panel-icons=topapp --panel-action1=menu --panel-action2=none --panel-action3=topapp --menu-pos=S --no-panel --check-execs'
133 # }}}2
134
135 Module FvwmButtons ApplicationPanel
136
137 # Desktop menu with left click
138 #SetEnv DesktopMenu /FVWM-Crystal
139 SetEnv DesktopMenu /Applications
140
141 # Clock {{{1
142 All (FvwmButtons-Clock) Close
143 DestroyModuleConfig FvwmButtons-Clock: *
144 *FvwmButtons-Clock: Geometry -3+3
145 *FvwmButtons-Clock: BoxSize smart
146 *FvwmButtons-Clock: ActiveColorset $[infostore.cs_panel_active]
147 *FvwmButtons-Clock: Colorset $[infostore.cs_panel_inactive]
148 *FvwmButtons-Clock: Columns 2
149 *FvwmButtons-Clock: Padding 2 2
150 *FvwmButtons-Clock: Frame 0
151 *FvwmButtons-Clock: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
152 *FvwmButtons-Clock: (2x1, Size 60 24, \
153 Swallow (Close, Respawn, FvwmModule) "FvwmScript-Clock" 'Script components/scripts/FvwmScript-Clock', \
154 Action (Mouse 3) SendToModule *FvwmScript-Clock SendString 1 1 str)
155
156 Module FvwmButtons FvwmButtons-Clock
157
158 # Pager {{{1
159 DestroyFunc FvwmPagerWindow
160 AddToFunc FvwmPagerWindow
161 + I All (FvwmPager) Close
162 + I DestroyModuleConfig FvwmPager: *
163 + I PipeRead 'echo \*FvwmPager: Geometry $[FvwmPager_Width]x$[FvwmPager_Height]+$((($[vp.width]-$[FvwmPager_Width])/2))+3'
164 + I *FvwmPager: MiniIcons
165 + I *FvwmPager: Font none
166 + I *FvwmPager: WindowBorderWidth 1
167 + I *FvwmPager: Window3DBorders
168 #+ I *FvwmPager: NoSeparators
169 + I *FvwmPager: UseSkipList
170 + I *FvwmPager: Colorset * $[infostore.cs_panel_inactive]
171 + I *FvwmPager: HilightColorset * $[infostore.cs_panel_active]
172 + I *FvwmPager: WindowColorsets $[infostore.cs_panel_wininactive] $[infostore.cs_panel_winactive]
173 + I Module FvwmPager
174
175 FvwmPagerWindow
176
177 # Change desktop pages using mouse wheel on pager
178 Mouse (FvwmPager) 4 W $[Mod] GotoPage-Right
179 Mouse (FvwmPager) 5 W $[Mod] GotoPage-Left
180
181 # Icons panel {{{1
182 All (FvwmIconMan-Icons) Close
183 DestroyModuleConfig FvwmIconMan-Icons: *
184
185 *FvwmIconMan-Icons: Resolution Global
186 *FvwmIconMan-Icons: UseWinList True
187 *FvwmIconMan-Icons: DontShow Class=xmms,FvwmButtons,FvwmIconMan,FvwmPager,FvwmIdent,FvwmForm
188 *FvwmIconMan-Icons: ShowOnlyIcons True
189 *FvwmIconMan-Icons: DrawIcons True
190 *FvwmIconMan-Icons: Sort Id
191 *FvwmIconMan-Icons: FollowFocus True
192 *FvwmIconMan-Icons: Format ""
193 *FvwmIconMan-Icons: Title ""
194 *FvwmIconMan-Icons: ButtonGeometry 24x24
195 *FvwmIconMan-Icons: ManagerGeometry 6x0-67+3
196 *FvwmIconMan-Icons: Font ""
197 *FvwmIconMan-Icons: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
198 # Tips settings {{{2
199 *FvwmIconMan-Icons: Tips always
200 *FvwmIconMan-Icons: TipsDelays 200 100
201 *FvwmIconMan-Icons: TipsFormat "%t"
202 *FvwmIconMan-Icons: TipsFont "xft:$[panel_font]:pixelsize=12"
203 *FvwmIconMan-Icons: TipsBorderWidth 0
204 *FvwmIconMan-Icons: TipsColorset $[infostore.cs_panel_inactive]
205 *FvwmIconMan-Icons: TipsJustification leftup
206 # Button look {{{2
207 *FvwmIconMan-Icons: PlainButton flat
208 *FvwmIconMan-Icons: FocusButton flat
209 *FvwmIconMan-Icons: SelectButton flat
210 *FvwmIconMan-Icons: FocusAndSelectButton flat
211 *FvwmIconMan-Icons: IconButton flat
212 # Colorsets {{{2
213 *FvwmIconMan-Icons: Colorset $[infostore.cs_panel_inactive]
214 *FvwmIconMan-Icons: PlainColorset $[infostore.cs_panel_wininactive]
215 *FvwmIconMan-Icons: FocusColorset $[infostore.cs_panel_winactive]
216 *FvwmIconMan-Icons: SelectColorset $[infostore.cs_panel_active]
217 *FvwmIconMan-Icons: FocusAndSelectColorset $[infostore.cs_panel_active]
218 *FvwmIconMan-Icons: IconColorset $[infostore.cs_panel_inactive]
219 # Actions {{{2
220 *FvwmIconMan-Icons: Action Mouse 1 $[Mod] SendCommand "Function Window-Focus-CurrentDesk-Raised"
221 *FvwmIconMan-Icons: Action Mouse 2 $[Mod2] SendCommand "Close"
222 *FvwmIconMan-Icons: Action Mouse 2 $[Mod0] SendCommand "Nop"
223 *FvwmIconMan-Icons: Action Mouse 3 $[Mod] SendCommand "Function Window-Focus-DefaultDesk-Raised"
224 # }}}2
225
226 Module FvwmIconMan FvwmIconMan-Icons
227 Style * NoIcon
228 Style /* !NoIcon
229 Style Home !NoIcon
230
231 # Notification area {{{1
232 # Settings of stalonetray {{{2
233 Test (!EnvMatch trayer_width 0) \
234 PipeRead 'if [ "$[infostore.NotificationAreaManager]" = "stalonetray" ]; then echo FvwmStalonePanel 24 $(($[trayer_width]/24)) 1 "-215" "+3" "NW" $[trayer_width] $[FvwmPager_Height] "-215" "+3"; fi'
235 # Settings of trayer {{{2
236 Test (!EnvMatch trayer_width 0) \
237 PipeRead 'if [ "$[infostore.NotificationAreaManager]" = "trayer" ]; then echo FvwmTrayerPanel request pixel $[FvwmPager_Height] top right 217 3 ""; fi'
238
239 # Left window list {{{1
240 All (FvwmIconMan-Windows-Left) Close
241 DestroyModuleConfig FvwmIconMan-Windows-Left: *
242
243 *FvwmIconMan-Windows-Left: Resolution Page
244 #*FvwmIconMan-Windows-Left: Resolution Global
245 *FvwmIconMan-Windows-Left: UseWinList True
246 *FvwmIconMan-Windows-Left: DontShow Class=xmms,XTerm,Eterm,xfce4-terminal,konsole,gnome-terminal,Multi-gnome-terminal,urxvt,FvwmButtons,FvwmIconMan,FvwmPager,FvwmIdent,FvwmForm
247 *FvwmIconMan-Windows-Left: ShowNoIcons True
248 *FvwmIconMan-Windows-Left: DrawIcons Always
249 *FvwmIconMan-Windows-Left: Sort Id
250 *FvwmIconMan-Windows-Left: FollowFocus True
251 *FvwmIconMan-Windows-Left: Format "%t"
252 *FvwmIconMan-Windows-Left: Title ""
253 PipeRead "echo \*FvwmIconMan-Windows-Left: ButtonGeometry $((($[vp.width]-140)/2))x`if [ $[panel_font_size] -lt 15 ]; then echo 24; else echo $(($[panel_font_size]*2)); fi`"
254 *FvwmIconMan-Windows-Left: ManagerGeometry 1x1+67-3
255 *FvwmIconMan-Windows-Left: MaxButtonWidthByColumns 4
256 # Tips {{{2
257 *FvwmIconMan-Windows-Left: TipsFormat "%t"
258 *FvwmIconMan-Windows-Left: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
259 *FvwmIconMan-Windows-Left: Tips needed
260 *FvwmIconMan-Windows-Left: TipsDelays 500 200
261 *FvwmIconMan-Windows-Left: TipsFont "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
262 *FvwmIconMan-Windows-Left: TipsBorderWidth 0
263 *FvwmIconMan-Windows-Left: TipsColorset $[infostore.cs_panel_inactive]
264 *FvwmIconMan-Windows-Left: TipsJustification leftup
265 # Button look {{{2
266 *FvwmIconMan-Windows-Left: PlainButton flat
267 *FvwmIconMan-Windows-Left: FocusButton flat
268 *FvwmIconMan-Windows-Left: SelectButton flat
269 *FvwmIconMan-Windows-Left: FocusAndSelectButton flat
270 *FvwmIconMan-Windows-Left: IconButton flat
271 # Colorsets {{{2
272 *FvwmIconMan-Windows-Left: Colorset $[infostore.cs_panel_inactive]
273 *FvwmIconMan-Windows-Left: PlainColorset $[infostore.cs_panel_wininactive]
274 *FvwmIconMan-Windows-Left: FocusColorset $[infostore.cs_panel_winactive]
275 *FvwmIconMan-Windows-Left: SelectColorset $[infostore.cs_panel_active]
276 *FvwmIconMan-Windows-Left: FocusAndSelectColorset $[infostore.cs_panel_active]
277 *FvwmIconMan-Windows-Left: IconColorset $[infostore.cs_panel_inactive]
278 # Actions {{{2
279 *FvwmIconMan-Windows-Left: Action Mouse 1 A SendCommand "Function Window-Focus-DefaultDesk-Raised"
280 *FvwmIconMan-Windows-Left: Action Mouse 2 $[Mod2] SendCommand "Close"
281 *FvwmIconMan-Windows-Left: Action Mouse 2 $[Mod0] SendCommand "Window-Iconify"
282 *FvwmIconMan-Windows-Left: Action Mouse 3 $[Mod] SendCommand "Function Window-Focus-CurrentDesk-Raised"
283 # }}}2
284
285 Module FvwmIconMan FvwmIconMan-Windows-Left
286
287 # Right window list {{{1
288 All (FvwmIconMan-Windows-Right) Close
289 DestroyModuleConfig FvwmIconMan-Windows-Right: *
290
291 *FvwmIconMan-Windows-Right: Resolution Page
292 #*FvwmIconMan-Windows-Right: Resolution Global
293 *FvwmIconMan-Windows-Right: UseWinList True
294 *FvwmIconMan-Windows-Right: DontShow Class=xmms,FvwmButtons,FvwmIconMan,FvwmPager,FvwmIdent,FvwmForm
295 *FvwmIconMan-Windows-Right: Show Class=XTerm,Eterm,xfce4-terminal,konsole,gnome-terminal,Multi-gnome-terminal,urxvt
296 *FvwmIconMan-Windows-Right: ShowNoIcons True
297 *FvwmIconMan-Windows-Right: DrawIcons Always
298 *FvwmIconMan-Windows-Right: Sort Id
299 *FvwmIconMan-Windows-Right: FollowFocus True
300 *FvwmIconMan-Windows-Right: Format "%t"
301 *FvwmIconMan-Windows-Right: Title ""
302 PipeRead "echo \*FvwmIconMan-Windows-Right: ButtonGeometry $((($[vp.width]-315)/2))x`if [ $[panel_font_size] -lt 15 ]; then echo 24; else echo $(($[panel_font_size]*2)); fi`"
303 *FvwmIconMan-Windows-Right: ManagerGeometry 1x1-155-3
304 *FvwmIconMan-Windows-Right: MaxButtonWidthByColumns 4
305 *FvwmIconMan-Windows-Right: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
306 # Tips {{{2
307 *FvwmIconMan-Windows-Right: Tips needed
308 *FvwmIconMan-Windows-Right: TipsDelays 500 200
309 *FvwmIconMan-Windows-Right: TipsFormat "%t"
310 *FvwmIconMan-Windows-Right: TipsFont "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
311 *FvwmIconMan-Windows-Right: TipsBorderWidth 0
312 *FvwmIconMan-Windows-Right: TipsColorset $[infostore.cs_panel_inactive]
313 *FvwmIconMan-Windows-Right: TipsJustification leftup
314 # Button look {{{2
315 *FvwmIconMan-Windows-Right: PlainButton flat
316 *FvwmIconMan-Windows-Right: FocusButton flat
317 *FvwmIconMan-Windows-Right: SelectButton flat
318 *FvwmIconMan-Windows-Right: FocusAndSelectButton flat
319 *FvwmIconMan-Windows-Right: IconButton flat
320 # Colorsets {{{2
321 *FvwmIconMan-Windows-Right: Colorset $[infostore.cs_panel_inactive]
322 *FvwmIconMan-Windows-Right: PlainColorset $[infostore.cs_panel_wininactive]
323 *FvwmIconMan-Windows-Right: FocusColorset $[infostore.cs_panel_winactive]
324 *FvwmIconMan-Windows-Right: SelectColorset $[infostore.cs_panel_active]
325 *FvwmIconMan-Windows-Right: FocusAndSelectColorset $[infostore.cs_panel_active]
326 *FvwmIconMan-Windows-Right: IconColorset $[infostore.cs_panel_inactive]
327 # Actions {{{2
328 *FvwmIconMan-Windows-Right: Action Mouse 1 A SendCommand "Function Window-Focus-DefaultDesk-Raised"
329 *FvwmIconMan-Windows-Right: Action Mouse 2 $[Mod2] SendCommand "Close"
330 *FvwmIconMan-Windows-Right: Action Mouse 2 $[Mod0] SendCommand "Window-Iconify"
331 *FvwmIconMan-Windows-Right: Action Mouse 3 $[Mod] SendCommand "Function Window-Focus-CurrentDesk-Raised"
332 # }}}2
333
334 Module FvwmIconMan FvwmIconMan-Windows-Right
335
336 # AcpiBatt {{{1
337 All (FvwmButtons-BottomAcpiBatt) Close
338 DestroyModuleConfig FvwmButtons-BottomAcpiBatt: *
339 *FvwmButtons-BottomAcpiBatt: Geometry +3-3
340 *FvwmButtons-BottomAcpiBatt: BoxSize smart
341 *FvwmButtons-BottomAcpiBatt: ActiveColorset $[infostore.cs_panel_active]
342 *FvwmButtons-BottomAcpiBatt: Colorset $[infostore.cs_panel_inactive]
343 *FvwmButtons-BottomAcpiBatt: Columns 2
344 *FvwmButtons-BottomAcpiBatt: Padding 2 2
345 *FvwmButtons-BottomAcpiBatt: Frame 0
346 *FvwmButtons-BottomAcpiBatt: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
347 PipeRead 'echo "*FvwmButtons-BottomAcpiBatt: (2x1, Size 60 `if [ $[panel_font_size] -lt 15 ]; then echo 24; else echo $(($[panel_font_size]*2)); fi`, Swallow (Close, Respawn, FvwmModule) FvwmScript-AcpiBatt)"'
348
349 Module FvwmButtons FvwmButtons-BottomAcpiBatt
350 Script components/scripts/FvwmScript-AcpiBatt
351
352 # CpuTemp {{{1
353 All (FvwmButtons-BottomCpuTemp) Close
354 DestroyModuleConfig FvwmButtons-BottomCpuTemp: *
355 *FvwmButtons-BottomCpuTemp: Geometry -3-3
356 *FvwmButtons-BottomCpuTemp: BoxSize smart
357 *FvwmButtons-BottomCpuTemp: ActiveColorset $[infostore.cs_panel_active]
358 *FvwmButtons-BottomCpuTemp: Colorset $[infostore.cs_panel_inactive]
359 *FvwmButtons-BottomCpuTemp: Columns 3
360 *FvwmButtons-BottomCpuTemp: Padding 2 2
361 *FvwmButtons-BottomCpuTemp: Frame 0
362 *FvwmButtons-BottomCpuTemp: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
363 PipeRead 'echo "*FvwmButtons-BottomCpuTemp: (3x1, Size 72 `if [ $[panel_font_size] -lt 15 ]; then echo 24; else echo $(($[panel_font_size]*2)); fi`, Swallow (Close, Respawn, FvwmModule) FvwmScript-CpuTemp)"'
364
365 Module FvwmButtons FvwmButtons-BottomCpuTemp
366 Script components/scripts/FvwmScript-CpuTemp
367
368 # CpuFreq {{{1
369 All (FvwmButtons-BottomCpuFreq) Close
370 DestroyModuleConfig FvwmButtons-BottomCpuFreq: *
371 *FvwmButtons-BottomCpuFreq: Geometry -79-3
372 *FvwmButtons-BottomCpuFreq: BoxSize smart
373 *FvwmButtons-BottomCpuFreq: ActiveColorset $[infostore.cs_panel_active]
374 *FvwmButtons-BottomCpuFreq: Colorset $[infostore.cs_panel_inactive]
375 *FvwmButtons-BottomCpuFreq: Columns 3
376 *FvwmButtons-BottomCpuFreq: Padding 2 2
377 *FvwmButtons-BottomCpuFreq: Frame 0
378 *FvwmButtons-BottomCpuFreq: Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"
379 PipeRead 'echo "*FvwmButtons-BottomCpuFreq: (3x1, Size 72 `if [ $[panel_font_size] -lt 15 ]; then echo 24; else echo $(($[panel_font_size]*2)); fi`, Swallow (Close, Respawn, FvwmModule) FvwmScript-CpuFreq)"'
380
381 Module FvwmButtons FvwmButtons-BottomCpuFreq
382 Script components/scripts/FvwmScript-CpuFreq
383
384 Style FvwmButtons-Clock Layer 2
385 Style FvwmButtons-Music NoIcon
386
387 Echo /--------- Fvwm-Crystal: Recipe loaded ---------/
388 #PrintInfo Locale 1 #2
389 #PrintInfo infostore
390
391 # ViM modeline {{{1
392 # vim:foldmethod=marker:foldenable:foldlevel=0:ft=fvwm