[component]
file=settings
name=Settings
priority=1
contains+=animation
contains+=banner
contains+=sound-player
contains+=autoraise
contains+=background
contains+=iconstyles
contains+=stroke
contains+=wheel
contains+=automenus
contains+=menu-system
contains+=kde
contains+=gnome
contains+=session-manager
contains+=xinerama
contains+=events-handler

# "disable" is somewhat redudant if there is "drop", but probably ok.
[component]
file=settings/animation
name=Animation
start-stop+=FvwmAnimate
default=2
variant+file=disabled
variant.name=Disabled
variant+file=enabled
variant.name=Enabled


# This should be (could be) done using a component "banner"
[component]
file=settings/banner
name=Banner
default=2
variant+file=disabled
variant.name=Disabled
variant+file=enabled
variant.name=Enabled


[component]
file=settings/sound-player
name=Sound Player
start-stop+=FvwmEvent-Sound
provides+=FuncFvwmAddToMenusStartSoundEffect
requires+=sound-files
stronglydepends+=sound
default=1
variant+file=disabled
variant.name=Disabled
variant+file=play
variant.name=play (sox)
variant.unhide-if=in-path: play
variant+file=esdplay
variant.name=esdplay (esd not needed)
variant.unhide-if=in-path: esdplay
variant+file=audioplay
variant.name=audioplay
variant.unhide-if=in-path: audioplay
variant+file=auplay
variant.name=auplay
variant.unhide-if=in-path: auplay
variant+file=rplay
variant.name=rplay
variant.unhide-if=in-path: rplay
variant+file=rplayD
variant.name=rplayD (needs rplayd)
variant.unhide-if+=in-path: rplay
variant.unhide-if+=fvwm-supports: rplay
variant+file=artsplay
variant.name=artsplay (kde >= 2, needs artsd)
variant.unhide-if=in-path: artsplay


[component]
file=settings/autoraise
name=Auto Raise
### temporarily
#extends+=MenuFvwmStartRegularModules
provides+=FuncFvwmAddToMenusFvwmAutoRaise
default=1
variant+file=disabled
variant.name=Disabled
variant.reload-read-command=*none*
#
variant+file=autoraise-500
variant.name=Auto Raise (1/2 sec)
variant.reload-read-command=*none*
variant.load-unload+=FvwmAutoRaise
#
variant+file=autoraise-2000
variant.name=Auto Raise (2 sec)
variant.load-unload+=FvwmAutoRaise
variant.reload-read-command=*none*
#
variant+file=modules
variant.name=Auto Raise Modules
variant.load-unload+=FvwmAutoRaise
variant.reload-read-command=*none*
#variant+file=autoshade-1000
#variant.name=Auto Shade (1 sec)


# Should we move this as an option to component "background"?
[component]
file=settings/background
name=Background
follows+=background
depends+=background
default=2
variant+file=disabled
variant.name=Disabled
variant+file=theme
variant.name=Theme


# Should we move this as an option to component "style"?
[component]
file=settings/iconstyles
name=Icon Styles
### should be extends+=ImagePath
provides+=ImagePath
provides+=styles-icons
provides+=FuncFvwmAddToMenusWMIcons
requires+=ColorLimit
depends+=modules
stronglydepends+=menus
default=2
variant+file=disabled
variant.name=Disabled
variant+file=native
variant.name=Internal (if no wm-icons installed)
variant+file=wm-icons
variant.name=External (if wm-icons installed)
# This is compatible so is not really needed to be hidden, shows a choice.
#variant.unhide-if=in-path: wm-icons-config
variant.load-unload+=WMIcons
variant.reload-read-command=Read %d/settings/iconstyles/style-icon-miniicon
variant.external-imagepath+=$HOME/.wm-icons
variant.external-imagepath+=$HOME/.wm-icons;.png
variant.external-imagepath+=/usr/local/share/icons/wm-icons
variant.external-imagepath+=/usr/share/icons/wm-icons
variant.extends+=ImagePath


[component]
file=settings/stroke
name=Stroke
unhide-if=fvwm-supports: stroke
start-stop+=Stroke
default=1
requires+=bindings
depends+=bindings
variant+file=disabled
variant.name=Disabled
variant+file=enabled
variant.name=Enabled


[component]
file=settings/wheel
name=Wheel Mouse
start-stop+=Wheel
default=1
requires+=bindings
depends+=bindings
variant+file=disabled
variant.name=Disabled
variant+file=enabled
variant.name=Enabled


[component]
file=settings/automenus
name=Auto Menus
contains+=headlines

[component]
file=settings/automenus/headlines
name=Headlines
requires+=MenuFvwmWebBrowsing
requires+=MenuFvwmMenuSystem
depends+=menus
depends+=settings/menu-system
default=2
variant+file=disabled
variant.name=Disabled
variant+file=enabled
variant.name=Enabled


# should be a subcomponent of settings/automenus
[component]
file=settings/menu-system
name=Menu System (Debian, Mdk, ...)
unhide-if=in-path: update-menus
default=1
requires+=MenuFvwmPrograms
provides+=MenuFvwmMenuSystem
depends+=menus-programs
variant+file=disabled
variant.name=Disabled
variant+file=enabled
variant.name=Add To Programs Menu
variant+file=replace
variant.name=Replace Programs Menu


[component]
file=settings/kde
name=KDE
unhide-if=env: KDEDIR
contains+=kde2-system-menu
contains+=system-menu
contains+=user-menu
contains+=kfm-icons

[component]
file=settings/kde/kde2-system-menu
name=KDE >= 2 System Menu
unhide-if=in-path: ksmserver
requires+=MenuFvwmPrograms
requires+=MenuFvwmMenuSystem
depends+=menus-programs
depends+=settings/menu-system
depends+=menustyle
default=1
variant+file=disabled
variant.name=Disabled
variant+file=kde2-enabled
variant.name=Enabled (KDE menu icons)
variant+file=ft-enabled
variant.name=Enabled (FT menu icons)

[component]
file=settings/kde/system-menu
name=System Menu
unhide-if=in-path: kwm
follows+=settings/iconstyles
requires+=MenuFvwmPrograms
requires+=MenuFvwmMenuSystem
depends+=menus-programs
depends+=settings/menu-system
depends+=menustyle
default=1
variant+file=disabled
variant.name=Disabled
variant+file=menu-and-style-48
variant.name=Menu & Styles (48x48 icons, slow)
variant.external-imagepath+=$KDEDIR/share/icons
variant.external-imagepath+=$KDEDIR/share/apps/kappfinder/pics
variant+file=menu-and-style-32
variant.name=Menu & Styles (32x32 icons, slow)
variant.external-imagepath+=$KDEDIR/share/icons
variant.external-imagepath+=$KDEDIR/share/apps/kappfinder/pics
variant+file=menu
variant.name=Menu Only
variant.external-imagepath+=$KDEDIR/share/icons
variant.external-imagepath+=$KDEDIR/share/apps/kappfinder/pics

[component]
file=settings/kde/user-menu
name=User Menu
unhide-if=in-path: kwm
follows+=settings/iconstyles
requires+=MenuFvwmPrograms
requires+=MenuFvwmMenuSystem
depends+=menus-programs
depends+=settings/menu-system
depends+=menustyle
default=1
variant+file=disabled
variant.name=Disabled
variant+file=menu-and-style
variant.name=Menu & Styles (slow)
variant.external-imagepath+=$KDEDIR/share/icons
variant.external-imagepath+=$KDEDIR/share/apps/kappfinder/pics
variant+file=menu
variant.name=Menu Only
variant.external-imagepath+=$KDEDIR/share/icons
variant.external-imagepath+=$KDEDIR/share/apps/kappfinder/pics

[component]
file=settings/kde/kfm-icons
name=Kfm Icons Workaround
unhide-if=in-path: kwm
default=1
variant+file=disabled
variant.name=Disabled
variant+file=enabled
variant.name=Enabled


[component]
file=settings/gnome
name=GNOME 1
unhide-if=in-path: gnome-session
contains+=system-menu
contains+=anotherlevel-menu
contains+=user-menu
contains+=panel-staysput

[component]
file=settings/gnome/system-menu
name=System Menu
follows+=settings/iconstyles
requires+=MenuFvwmPrograms
requires+=MenuFvwmMenuSystem
depends+=menus-programs
depends+=settings/menu-system
depends+=menustyle
default=1
variant+file=disabled
variant.name=Disabled
variant+file=gtk-menu
variant.name=Gtk Menu
variant.external-imagepath+=/usr/share/pixmaps
variant.start-stop+=FvwmGtk
variant+file=gtk-menu-and-style
variant.name=Gtk Menu & Styles (slow)
variant.external-imagepath+=/usr/share/pixmaps
variant.start-stop+=FvwmGtk
variant+file=fvwm-menu
variant.name=Fvwm Menu (wm icons)
variant+file=fvwm-menu-gnome
variant.name=Fvwm Menu (gnome icons)
variant+file=fvwm-menu-and-style
variant.name=Fvwm & Styles (slow)

[component]
file=settings/gnome/anotherlevel-menu
name=AnotherLevel Menu
requires+=MenuFvwmPrograms
requires+=MenuFvwmMenuSystem
follows+=settings/gnome/system-menu
depends+=menus-programs
depends+=settings/menu-system
depends+=menustyle
default=1
variant+file=disabled
variant.name=Disabled
variant+file=gtk-menu
variant.name=Gtk Menu
variant.external-imagepath+=/usr/share/pixmaps
variant.start-stop+=FvwmGtk
variant+file=fvwm-menu
variant.name=Fvwm Menu

[component]
file=settings/gnome/user-menu
name=User Menu
requires+=MenuFvwmPrograms
requires+=MenuFvwmMenuSystem
follows+=settings/gnome/system-menu
depends+=menus-programs
depends+=settings/menu-system
depends+=menustyle
default=1
variant+file=disabled
variant.name=Disabled
variant+file=gtk-menu
variant.name=Gtk Menu
variant.external-imagepath+=/usr/share/pixmaps
variant.start-stop+=FvwmGtk
variant+file=fvwm-menu
variant.name=Fvwm Menu

[component]
file=settings/gnome/panel-staysput
name=Panel StaysPut
provides+=default-layers
default=1
variant+file=disabled
variant.name=Disabled
variant+file=enabled
variant.name=Enabled


[component]
file=settings/session-manager
name=Session Manager
requires+=root-menu
follows+=bindings
depends+=bindings
depends+=menus
default=1
variant+file=none
variant.name=None
variant+file=generic
variant.name=Generic (GNOME >=2 and others)
variant+file=gnome
variant.name=GNOME1 session
variant.unhide-if=in-path: save-session
variant+file=ksmserver
variant.name=ksmserver (kde >= 2)
variant.start-stop+=Ksmserver
variant.unhide-if=in-path: ksmserver
variant+file=xsm
variant.name=xsm


[component]
file=settings/xinerama
name=Xinerama Support
default=1
variant+file=disabled
variant.name=Disabled
variant+file=true
variant.name=Multi Head
variant.unhide-if=fvwm-supports: xinerama
variant+file=sls
variant.name=Single Logical Screen

[component]
file=settings/events-handler
name=Events Handler
start-stop+=FvwmEvent-Events
provides+=FuncFvwmAddToMenusFvwmEvent-Events
default=1
variant+file=disabled
variant.name=Disabled
variant+file=enabled
variant.name=Enabled
