# Settings used by FVWM modules and trayer
Include preferences/HandleWidth

# Windows are placed in a way that they overlap as little as possible. Icons
# are ignored while looking for a place to put a window.
Style * MinOverlapPercentPlacement, MinOverlapPlacementPenalties 1 2 0 1 0.05 50
Style * EWMHPlacementUseWorkingArea

# Other window settings
Style * ResizeOpaque, TitleFormat %n (%t), IconTitleFormat %n (%t), DecorateTransient
Style * WindowShadeSteps 0, WindowShadeShrinks
Style * HandleWidth $[infostore.handle_width]

Style FvwmParts Sticky, NeverFocus, WindowListSkip, FixedPosition, \
      FixedSize, StaysOnBottom, !Handles, BorderWidth 1, HandleWidth 1, \
      NoTitle, NoIcon, Colorset $[infostore.cs_panel_border], \
      BorderColorset $[infostore.cs_panel_border], HilightColorset $[infostore.cs_panel_border], \
      HilightBorderColorset $[infostore.cs_panel_border], ParentalRelativity, State 31, State 30, State 1

Style FvwmButtons UseStyle FvwmParts
Style FvwmPager UseStyle FvwmParts
Style FvwmIconMan UseStyle FvwmParts
Style FvwmScript UseStyle FvwmParts
Style FvwmScript VariablePosition, Title, StaysPut

Style trayer UseStyle FvwmParts
Style stalonetray UseStyle FvwmParts

Style FvwmIdent UseStyle FvwmParts
Style FvwmIdent VariablePosition, \
      Font "xft:$[panel_font]:pixelsize=$[panel_font_size]:$[panel_font_style]"

Style FvwmForm Sticky, WindowListSkip, \
      FixedSize, StaysOnTop, !Handles, BorderWidth 1, HandleWidth 1, \
      NoTitle, NoIcon, Colorset $[infostore.cs_panel_border], \
      BorderColorset $[infostore.cs_panel_border], HilightColorset $[infostore.cs_panel_border], \
      HilightBorderColorset $[infostore.cs_panel_border]

#Style FvwmForm UseStyle FvwmParts
#Style FvwmForm StaysOnTop, VariablePosition

Style fvwm_menu NoButton 1, NoButton 3, NoButton 4, NoButton 5, NoButton 6, \
      NoButton 7, NoButton 8, NoButton 9,NoButton 0

# GKrellM settings
Style gkrellm		NoTitle, StaysOnBottom, Sticky, NoIcon, NeverFocus, \
			FixedSize, WindowListSkip, FixedPosition, !Borders, State 31, State 30, State 1
Style gkrellm2		UseStyle gkrellm
Style gDeskCal		UseStyle gkrellm


# Change the mouse pointer when dynamic menus are created
BusyCursor DynamicMenu True

# vim:ft=fvwm
