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 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411
|
# Default desktop (former "1.0"
# Written by: Maciej Delmanowski <harnir@post.pl>
#
# 2007.04.22 - Dominique Michel <dominique_libre@sourceforge.net> support for:
# - Stalonetray and NotificationArea preferences and Alsaplayer
#
# You can use folding to navigate this file
# ImagePath {{{1
SetEnv Icon-Theme "Default"
ImagePath $[FVWM_USERDIR]/icons/$[Icon-Theme]:$[FVWM_SYSTEMDIR]/icons/$[Icon-Theme]
# Includes and FVWM modules {{{1
Module FvwmCommandS
# Default FVWM-Crystal functions, initialization {{{2
Include components/desktop/FVWM-Crystal_Functions
Include components/functions/Clear-FVWM-Settings
Include components/desktop/FVWM-Crystal_Preferences
Append preferences/Startup
# Preferred applications {{{2
Include components/functions/Screenshot-import
Include components/apps/XScreenSaver
Include components/apps/FvwmMiniConsole
Include components/apps/QuakeConsole
Include components/apps/OpenOffice.org
Include components/functions/NotificationAreaManager-$[NotificationAreaManager]
Include preferences/NotificationArea-Width
Include components/functions/Music-$[MusicPlayer]
# Desktop & window bindings {{{2
Include components/bindings/Desktop-RMB-OpenTerminal
Include components/bindings/Desktop-MMB-EdgeScroll
Include components/bindings/Desktop-MMB-TogglePanels
Include components/bindings/Window-Basic
Include components/bindings/Window-Border
# Keyboard bindings {{{2
Include components/desktop/Keyboard
Include components/desktop/Keyboard_NumLock
Include components/desktop/Numpad
# Various styles {{{2
Include components/desktop/FVWM-Crystal_Styles
Include components/styles/CursorStyle-Border
# Desktop settings {{{1
EdgeScroll 0 0
EdgeResistance 0 100
HideGeometryWindow Move, Resize
OpaqueMoveSize 100
EdgeThickness 1
EWMH-Desktop 3 3 3 3
EWMH-Panel-Top 30
EWMH-Panel-Bottom 30
All (FvwmButtons-MainMenu) Close
DestroyModuleConfig FvwmButtons-MainMenu: *
*FvwmButtons-MainMenu: Geometry +3+3
*FvwmButtons-MainMenu: BoxSize smart
*FvwmButtons-MainMenu: ActiveColorset $[cs-panel-active]
*FvwmButtons-MainMenu: Colorset $[cs-panel-inactive]
*FvwmButtons-MainMenu: Rows 1
*FvwmButtons-MainMenu: Padding 1 1
*FvwmButtons-MainMenu: Frame 0
# Diamond {{{2
*FvwmButtons-MainMenu: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/fvwm-crystal.png", \
Action (Mouse 1) Menu /FVWM-Crystal $[MenuPosition-SE], \
Action (Mouse 3) Wallpaper-Random $[FVWM_SYSTEMDIR]/wallpapers $[FVWM_USERDIR]/wallpapers ~/wallpapers /usr/local/share/wallpapers /usr/share/wallpapers)
# Main "diamond" menu {{{2
DestroyMenu /FVWM-Crystal
AddToMenu /FVWM-Crystal
+ '%22x22/fvwm-crystal/preferences-desktop-screensaver.png%$[gt.Screensaver]' Popup /Screensaver
+ '%22x22/fvwm-crystal/camera-photo.png%$[gt.Screenshot]' Popup /Screenshot
+ "" Nop
+ '%22x22/fvwm-crystal/preferences-desktop-theme.png%$[gt.Window decorations]' Popup /Window-Decorations
+ '%22x22/fvwm-crystal/colorsets.png%$[gt.Colorsets]' Popup /Colorsets
+ '%22x22/fvwm-crystal/preferences-desktop-wallpaper.png%$[gt.Wallpaper]' Popup /Wallpaper
+ '%22x22/fvwm-crystal/preferences-desktop.png%$[gt.Preferences]' Popup /Preferences
+ "" Nop
+ '%22x22/fvwm-crystal/applications-development.png%$[gt.Developer menu]' Popup /Developer
+ '%22x22/fvwm-crystal/fvwm-crystal.png%$[gt.About FVWM-Crystal]' Include components/functions/About
+ '%22x22/fvwm-crystal/system-log-out.png%$[gt.Exit]' Popup /Exit
# }}}2
Module FvwmButtons FvwmButtons-MainMenu
# Music panel {{{1
All (FvwmButtons-Music) Close
DestroyModuleConfig FvwmButtons-Music: *
*FvwmButtons-Music: Geometry +31+3
*FvwmButtons-Music: BoxSize smart
*FvwmButtons-Music: ActiveColorset $[cs-panel-active]
*FvwmButtons-Music: Colorset $[cs-panel-inactive]
*FvwmButtons-Music: Rows 1
*FvwmButtons-Music: Padding 1 1
*FvwmButtons-Music: Frame 0
# music controls button {{{2
*FvwmButtons-Music: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/media-skip-forward.png", \
Action (Mouse 1) Music-Next, \
Action (Mouse 2) Nop, \
Action (Mouse 3) Music-Prev, \
Action (Mouse 4) Music-Forward, \
Action (Mouse 5) Music-Backward)
# Main music button, with some menus {{{2
*FvwmButtons-Music: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/media-playback-start.png", \
Action (Mouse 1) Menu /Music $[MenuPosition-S], \
Action (Mouse 2) Music-GUI, \
Action (Mouse 3) Music-PlayPause, \
Action (Mouse 4) Mixer-Volume-Up 10, \
Action (Mouse 5) Mixer-Volume-Down 10)
# }}}2
# Music alsaplayer panel {{{1
All (FvwmButtons-MusicAlsaplayer) Close
DestroyModuleConfig FvwmButtons-MusicAlsaplayer: *
*FvwmButtons-MusicAlsaplayer: Geometry +31+3
*FvwmButtons-MusicAlsaplayer: BoxSize smart
*FvwmButtons-MusicAlsaplayer: ActiveColorset $[cs-panel-active]
*FvwmButtons-MusicAlsaplayer: Colorset $[cs-panel-inactive]
*FvwmButtons-MusicAlsaplayer: Rows 1
*FvwmButtons-MusicAlsaplayer: Padding 1 1
*FvwmButtons-MusicAlsaplayer: Frame 0
# Main music button, with some menus {{{2
*FvwmButtons-MusicAlsaplayer: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/media-eject.png", \
Action (Mouse 1) Menu /Player $[MenuPosition-S], \
Action (Mouse 2) Music-GUI, \
Action (Mouse 3) Menu /Music $[MenuPosition-S], \
Action (Mouse 4) Mixer-Volume-Up 10, \
Action (Mouse 5) Mixer-Volume-Down 10)
# music controls button {{{2
*FvwmButtons-MusicAlsaplayer: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/media-playback-start.png", \
Action (Mouse 1) Menu /Control $[MenuPosition-S], \
Action (Mouse 2) Music-QJackGUI, \
Action (Mouse 3) Menu /Speed $[MenuPosition-S], \
Action (Mouse 4) Music-Speed-Up, \
Action (Mouse 5) Music-Speed-Down)
# music controls button {{{2
*FvwmButtons-MusicAlsaplayer: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/media-skip-forward.png", \
Action (Mouse 1) Menu /Playlist-bot $[MenuPosition-S], \
Action (Mouse 2) Music-Pause, \
Action (Mouse 3) Music-PlayPause, \
Action (Mouse 4) Music-Next, \
Action (Mouse 5) Music-Prev)
# }}}2
Test (!EnvMatch MusicPlayer alsaplayer, !EnvMatch MusicPlayer mplayer) Module FvwmButtons FvwmButtons-Music
Test (EnvMatch MusicPlayer alsaplayer) Module FvwmButtons FvwmButtons-MusicAlsaplayer
Test (EnvMatch MusicPlayer mplayer) Module FvwmButtons FvwmButtons-MusicAlsaplayer
# Applications panel and menu generator {{{1
Test (!EnvMatch MusicPlayer alsaplayer, !EnvMatch MusicPlayer mplayer) SetEnv AppPanelGeom 83
Test (EnvMatch MusicPlayer alsaplayer) SetEnv AppPanelGeom 107
Test (EnvMatch MusicPlayer mplayer) SetEnv AppPanelGeom 107
All (ApplicationPanel) Close
DestroyModuleConfig ApplicationPanel: *
*ApplicationPanel: Geometry +$[AppPanelGeom]+3
*ApplicationPanel: BoxSize smart
*ApplicationPanel: ActiveColorset $[cs-panel-active]
*ApplicationPanel: Colorset $[cs-panel-inactive]
*ApplicationPanel: Rows 1
*ApplicationPanel: Padding 1 1
*ApplicationPanel: Frame 0
# fvwm-crystal.apps {{{2
# This creates the distribution-based panel button - defaut distribution
# icon, only menu is opened (no default app on the panel)
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/$[Icon-Theme]/22x22/categories:$[FVWM_USERDIR]/icons/$[Icon-Theme]/22x22/apps:$[FVWM_SYSTEMDIR]/icons/$[Icon-Theme]/22x22/categories:$[FVWM_SYSTEMDIR]/icons/$[Icon-Theme]/22x22/apps:$[FVWM_DISTROMENUDIR]/icons/$[Icon-Theme]/22x22/categories:$[FVWM_DISTROMENUDIR]/icons/$[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'
# This creates the main panel with applications - default app icon is
# shown on the panel, and can be launched using RMB; LMB opens the app
# category menu
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/$[Icon-Theme]/22x22/categories:$[FVWM_USERDIR]/icons/$[Icon-Theme]/22x22/apps:$[FVWM_SYSTEMDIR]/icons/$[Icon-Theme]/22x22/categories:$[FVWM_SYSTEMDIR]/icons/$[Icon-Theme]/22x22/apps:$[FVWM_DISTROMENUDIR]/icons/$[Icon-Theme]/22x22/categories:$[FVWM_DISTROMENUDIR]/icons/$[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'
# This creates the menu with applications available under Alt+Win_R
PipeRead 'fvwm-crystal.apps --database=$[FVWM_DISTROMENUDIR]/Applications --database=$[FVWM_SYSTEMDIR]/Applications --database=$[FVWM_USERDIR]/Applications --search-icons-in=$[FVWM_USERDIR]/icons/$[Icon-Theme]/22x22/categories:$[FVWM_USERDIR]/icons/$[Icon-Theme]/22x22/apps:$[FVWM_SYSTEMDIR]/icons/$[Icon-Theme]/22x22/categories:$[FVWM_SYSTEMDIR]/icons/$[Icon-Theme]/22x22/apps:$[FVWM_DISTROMENUDIR]/icons/$[Icon-Theme]/22x22/categories:$[FVWM_DISTROMENUDIR]/icons/$[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'
# }}}2
Module FvwmButtons ApplicationPanel
# Clock {{{1
All (FvwmButtons-Clock) Close
DestroyModuleConfig FvwmButtons-Clock: *
*FvwmButtons-Clock: Geometry -3+3
*FvwmButtons-Clock: BoxSize smart
*FvwmButtons-Clock: ActiveColorset $[cs-panel-active]
*FvwmButtons-Clock: Colorset $[cs-panel-inactive]
*FvwmButtons-Clock: Columns 2
*FvwmButtons-Clock: Padding 2 2
*FvwmButtons-Clock: Frame 0
*FvwmButtons-Clock: (2x1, Size 60 24, \
Swallow (Close, Respawn, FvwmModule) "FvwmScript-Clock" 'Script components/scripts/FvwmScript-Clock', \
Action (Mouse 3) SendToModule *FvwmScript-Clock SendString 1 1 str)
Module FvwmButtons FvwmButtons-Clock
# Pager {{{1
All (FvwmPager) Close
DestroyModuleConfig FvwmPager: *
SetEnv Desk-Pages-X "8"
SetEnv Desk-Pages-Y "1"
PipeRead 'echo SetEnv FvwmPager-Width $((28*$[Desk-Pages-X])); echo SetEnv FvwmPager-Height $((24*$[Desk-Pages-Y]))'
PipeRead 'echo *FvwmPager: Geometry $[FvwmPager-Width]x$[FvwmPager-Height]+$((($[vp.width]-$[FvwmPager-Width])/2))+3'
PipeRead 'echo DesktopSize $[Desk-Pages-X]x$[Desk-Pages-Y]'
*FvwmPager: MiniIcons
*FvwmPager: Font none
*FvwmPager: WindowBorderWidth 1
*FvwmPager: Window3DBorders
#*FvwmPager: NoSeparators
*FvwmPager: UseSkipList
*FvwmPager: Colorset * $[cs-panel-inactive]
*FvwmPager: HilightColorset * $[cs-panel-active]
*FvwmPager: WindowColorsets $[cs-panel-wininactive] $[cs-panel-winactive]
Module FvwmPager
# Icons panel {{{1
All (FvwmIconMan-Icons) Close
DestroyModuleConfig FvwmIconMan-Icons: *
*FvwmIconMan-Icons: Resolution Global
*FvwmIconMan-Icons: UseWinList True
*FvwmIconMan-Icons: DontShow Class=xmms,FvwmButtons,FvwmIconMan,FvwmPager,FvwmIdent,FvwmForm
*FvwmIconMan-Icons: ShowOnlyIcons True
*FvwmIconMan-Icons: DrawIcons True
*FvwmIconMan-Icons: Sort Id
*FvwmIconMan-Icons: FollowFocus True
*FvwmIconMan-Icons: Format ""
*FvwmIconMan-Icons: Title ""
*FvwmIconMan-Icons: ButtonGeometry 24x24
*FvwmIconMan-Icons: ManagerGeometry 6x0-67+3
*FvwmIconMan-Icons: Font ""
# Tips settings {{{2
*FvwmIconMan-Icons: Tips always
*FvwmIconMan-Icons: TipsDelays 200 100
*FvwmIconMan-Icons: TipsFormat "%t"
*FvwmIconMan-Icons: TipsFont "xft:Verdana:pixelsize=12"
Test (EnvIsSet FVWM_FLAG_UTF-8) *FvwmIconMan-Icons: TipsFont "xft:Verdana:pixelsize=12:encoding=iso10646-1"
*FvwmIconMan-Icons: TipsBorderWidth 0
*FvwmIconMan-Icons: TipsColorset $[cs-panel-inactive]
*FvwmIconMan-Icons: TipsJustification leftup
# Button look {{{2
*FvwmIconMan-Icons: PlainButton flat
*FvwmIconMan-Icons: FocusButton flat
*FvwmIconMan-Icons: SelectButton flat
*FvwmIconMan-Icons: FocusAndSelectButton flat
*FvwmIconMan-Icons: IconButton flat
# Colorsets {{{2
*FvwmIconMan-Icons: Colorset $[cs-panel-inactive]
*FvwmIconMan-Icons: PlainColorset $[cs-panel-wininactive]
*FvwmIconMan-Icons: FocusColorset $[cs-panel-winactive]
*FvwmIconMan-Icons: SelectColorset $[cs-panel-active]
*FvwmIconMan-Icons: FocusAndSelectColorset $[cs-panel-active]
*FvwmIconMan-Icons: IconColorset $[cs-panel-inactive]
# Actions {{{2
*FvwmIconMan-Icons: Action Mouse 1 $[Mod] SendCommand "Function Window-Focus-CurrentDesk-Raised"
*FvwmIconMan-Icons: Action Mouse 2 $[Mod2] SendCommand "Close"
*FvwmIconMan-Icons: Action Mouse 2 $[Mod0] SendCommand "Nop"
*FvwmIconMan-Icons: Action Mouse 3 $[Mod] SendCommand "Function Window-Focus-DefaultDesk-Raised"
# }}}2
Module FvwmIconMan FvwmIconMan-Icons
Style * NoIcon
# Change desktop pages using mouse wheel on pager
Mouse (FvwmPager) 4 W $[Mod] GotoPage-Right
Mouse (FvwmPager) 5 W $[Mod] GotoPage-Left
# Settings of Trayer {{{1
# Settings of stalonetray {{{2
DestroyFunc NotificationArea-Stalone
AddToFunc NotificationArea-Stalone
+ I SetEnv trayer_ic_size "24"
+ I SetEnv trayer_area_width "$[trayer_width]"
+ I SetEnv trayer_area_eigth "24"
+ I SetEnv trayer_x "-215"
+ I SetEnv trayer_y "+3"
+ I SetEnv trayer_ic_grav "W"
+ I SetEnv trayer_vert ""
# Settings of trayer {{{2
DestroyFunc NotificationArea-Trayer
AddToFunc NotificationArea-Trayer
+ I SetEnv trayer_width_t "request"
+ I SetEnv trayer_heigth_t "pixel"
+ I SetEnv trayer_edge "top"
+ I SetEnv trayer_align "right"
+ I SetEnv trayer_marge "217"
+ I SetEnv trayer_dist "3"
+ I SetEnv trayer_width_w ""
Test (EnvMatch NotificationAreaManager stalonetray) NotificationArea-Stalone
Test (EnvMatch NotificationAreaManager trayer) NotificationArea-Trayer
Test (!EnvMatch trayer_width 0) TrayerPanel
# Left window list {{{1
All (FvwmIconMan-Windows-Left) Close
DestroyModuleConfig FvwmIconMan-Windows-Left: *
*FvwmIconMan-Windows-Left: Resolution Page
#*FvwmIconMan-Windows-Left: Resolution Global
*FvwmIconMan-Windows-Left: UseWinList True
*FvwmIconMan-Windows-Left: DontShow Class=xmms,XTerm,Eterm,xfce4-terminal,konsole,gnome-terminal,Multi-gnome-terminal,urxvt,FvwmButtons,FvwmIconMan,FvwmPager,FvwmIdent,FvwmForm
*FvwmIconMan-Windows-Left: ShowNoIcons True
*FvwmIconMan-Windows-Left: DrawIcons Always
*FvwmIconMan-Windows-Left: Sort Id
*FvwmIconMan-Windows-Left: FollowFocus True
*FvwmIconMan-Windows-Left: Format "%t"
*FvwmIconMan-Windows-Left: Title ""
PipeRead "echo *FvwmIconMan-Windows-Left: ButtonGeometry $((($[vp.width]-12)/2))x24"
*FvwmIconMan-Windows-Left: ManagerGeometry 1x1+3-3
*FvwmIconMan-Windows-Left: MaxButtonWidthByColumns 4
# Tips {{{2
*FvwmIconMan-Windows-Left: TipsFormat "%t"
*FvwmIconMan-Windows-Left: Font "xft:Verdana:pixelsize=12"
Test (EnvIsSet FVWM_FLAG_UTF-8) *FvwmIconMan-Windows-Left: Font "xft:Verdana:pixelsize=12:encoding=iso10646-1"
*FvwmIconMan-Windows-Left: Tips needed
*FvwmIconMan-Windows-Left: TipsDelays 500 200
*FvwmIconMan-Windows-Left: TipsFont "xft:Verdana:pixelsize=12"
Test (EnvIsSet FVWM_FLAG_UTF-8) *FvwmIconMan-Windows-Left: TipsFont "xft:Verdana:pixelsize=12:encoding=iso10646-1"
*FvwmIconMan-Windows-Left: TipsBorderWidth 0
*FvwmIconMan-Windows-Left: TipsColorset $[cs-panel-inactive]
*FvwmIconMan-Windows-Left: TipsJustification leftup
# Button look {{{2
*FvwmIconMan-Windows-Left: PlainButton flat
*FvwmIconMan-Windows-Left: FocusButton flat
*FvwmIconMan-Windows-Left: SelectButton flat
*FvwmIconMan-Windows-Left: FocusAndSelectButton flat
*FvwmIconMan-Windows-Left: IconButton flat
# Colorsets {{{2
*FvwmIconMan-Windows-Left: Colorset $[cs-panel-inactive]
*FvwmIconMan-Windows-Left: PlainColorset $[cs-panel-wininactive]
*FvwmIconMan-Windows-Left: FocusColorset $[cs-panel-winactive]
*FvwmIconMan-Windows-Left: SelectColorset $[cs-panel-active]
*FvwmIconMan-Windows-Left: FocusAndSelectColorset $[cs-panel-active]
*FvwmIconMan-Windows-Left: IconColorset $[cs-panel-inactive]
# Actions {{{2
*FvwmIconMan-Windows-Left: Action Mouse 1 A SendCommand "Function Window-Focus-DefaultDesk-Raised"
*FvwmIconMan-Windows-Left: Action Mouse 2 $[Mod2] SendCommand "Close"
*FvwmIconMan-Windows-Left: Action Mouse 2 $[Mod0] SendCommand "Window-Iconify"
*FvwmIconMan-Windows-Left: Action Mouse 3 $[Mod] SendCommand "Function Window-Focus-CurrentDesk-Raised"
# }}}2
Module FvwmIconMan FvwmIconMan-Windows-Left
# Right window list {{{1
All (FvwmIconMan-Windows-Right) Close
DestroyModuleConfig FvwmIconMan-Windows-Right: *
*FvwmIconMan-Windows-Right: Resolution Page
#*FvwmIconMan-Windows-Right: Resolution Global
*FvwmIconMan-Windows-Right: UseWinList True
*FvwmIconMan-Windows-Right: DontShow Class=xmms,FvwmButtons,FvwmIconMan,FvwmPager,FvwmIdent,FvwmForm
*FvwmIconMan-Windows-Right: Show Class=XTerm,Eterm,xfce4-terminal,konsole,gnome-terminal,Multi-gnome-terminal,urxvt
*FvwmIconMan-Windows-Right: ShowNoIcons True
*FvwmIconMan-Windows-Right: DrawIcons Always
*FvwmIconMan-Windows-Right: Sort Id
*FvwmIconMan-Windows-Right: FollowFocus True
*FvwmIconMan-Windows-Right: Format "%t"
*FvwmIconMan-Windows-Right: Title ""
PipeRead "echo *FvwmIconMan-Windows-Right: ButtonGeometry $((($[vp.width]-12)/2))x24"
*FvwmIconMan-Windows-Right: ManagerGeometry 1x1-3-3
*FvwmIconMan-Windows-Right: MaxButtonWidthByColumns 4
*FvwmIconMan-Windows-Right: Font "xft:Verdana:pixelsize=12"
Test (EnvIsSet FVWM_FLAG_UTF-8) *FvwmIconMan-Windows-Right: Font "xft:Verdana:pixelsize=12:encoding=iso10646-1"
# Tips {{{2
*FvwmIconMan-Windows-Right: Tips needed
*FvwmIconMan-Windows-Right: TipsDelays 500 200
*FvwmIconMan-Windows-Right: TipsFormat "%t"
*FvwmIconMan-Windows-Right: TipsFont "xft:Verdana:pixelsize=12"
Test (EnvIsSet FVWM_FLAG_UTF-8) *FvwmIconMan-Windows-Right: TipsFont "xft:Verdana:pixelsize=12:encoding=iso10646-1"
*FvwmIconMan-Windows-Right: TipsBorderWidth 0
*FvwmIconMan-Windows-Right: TipsColorset $[cs-panel-inactive]
*FvwmIconMan-Windows-Right: TipsJustification leftup
# Button look {{{2
*FvwmIconMan-Windows-Right: PlainButton flat
*FvwmIconMan-Windows-Right: FocusButton flat
*FvwmIconMan-Windows-Right: SelectButton flat
*FvwmIconMan-Windows-Right: FocusAndSelectButton flat
*FvwmIconMan-Windows-Right: IconButton flat
# Colorsets {{{2
*FvwmIconMan-Windows-Right: Colorset $[cs-panel-inactive]
*FvwmIconMan-Windows-Right: PlainColorset $[cs-panel-wininactive]
*FvwmIconMan-Windows-Right: FocusColorset $[cs-panel-winactive]
*FvwmIconMan-Windows-Right: SelectColorset $[cs-panel-active]
*FvwmIconMan-Windows-Right: FocusAndSelectColorset $[cs-panel-active]
*FvwmIconMan-Windows-Right: IconColorset $[cs-panel-inactive]
# Actions {{{2
*FvwmIconMan-Windows-Right: Action Mouse 1 A SendCommand "Function Window-Focus-DefaultDesk-Raised"
*FvwmIconMan-Windows-Right: Action Mouse 2 $[Mod2] SendCommand "Close"
*FvwmIconMan-Windows-Right: Action Mouse 2 $[Mod0] SendCommand "Window-Iconify"
*FvwmIconMan-Windows-Right: Action Mouse 3 $[Mod] SendCommand "Function Window-Focus-CurrentDesk-Raised"
# }}}2
Module FvwmIconMan FvwmIconMan-Windows-Right
Test (EnvMatch MusicPlayer mplayer) Style FvwmButtons-Musi* StaysOnTop
Test (EnvMatch MusicPlayer mplayer) Style FvwmButtons-Musi* NoIcon
Test (EnvMatch MusicPlayer mplayer) EdgeCommand Left All (FvwmButtons-Musi*) Iconify
# ViM modeline {{{1
# vim:foldmethod=marker:foldenable:foldlevel=0:filetype=fvwm
|