##########################################################################
# Windows styles :
#
# Syntax:
# Style "WM_CLASS"	[Icon name.xpm | NoIcon], NoTitle, Sticky,
# 			StaysOnTop, WindowListSkip, NoHandles, NoButtons #,
#			StartsOnDesk #, ViewportX x, ViewportY y
#                       BorderWidth #, StartIconic, CirculateSkip,
#                       NoFocus, NoBorder (== BorderWidth 0),
#			NoTitle, SuppressIcons, AvoidCover, VerticalTitle,
#			Prepos x y
#
# "WM_CLASS" is obtained:
#   * under Unix from the 'xprop' command line program
#   * under Microsoft Windows from the "Window Properties" in the (start)menu

# IMPORTANT : database supports only comments that start at the beginning of the line !!!
#

# Default icons and styles
Style   "*"             Icon interface.xpm
Style	"Unknown"	Icon Unknown.xpm
# Style   "Untitled*"     Icon AfterStep3.xpm
# For all window to have the NEW and COOL Vertical Title bar on the side:
# Style	"*"		VerticalTitle

# Wharf and modules
# note that only Wharf and WinList has AvoidCover set as AvoidCover causes effect of
# moving other windows out of the way when window is resized/placed
# the first record will apply to all modules, and then we selectively adjust for 
# few modules having specific needs : 
Style 	"ASModule"		NoTitle, Sticky, Layer 3, WindowListSkip, NoHandles, AvoidCover, BorderWidth 0
Style 	"Ident*"		    Title, Slippery, Layer 2, Handles, AllowCover
Style 	"*WharfWithdrawn"        ShortLiving
Style 	"*WharfSubfolder*"       AllowCover
Style 	"AskWharf"      Handles
Style   "Banner"        NoTitle, Sticky, Layer 2, WindowListSkip, NoHandles
Style   "WinTabs"       Title, Layer 0, Slippery, Handles, AllowCover 

Style   "NEdit"         Title, Slippery, Layer 0, Handles, AllowCover 

# This record is for the AfterStep menu :
Style   "ASMenu"        NoButton 1, NoButton 3

# Several AfterStep tools :
Style   "ASRun"		Icon logos/AfterStep
Style	"GWCommand"	FocusOnMap

# Wharf apps and AfterStep close apps and terms
Style   "*clock"        StaysOnTop, WindowListSkip, NoHandles
Style   "asload"        NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "wmppp"         NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "wmcdplay"      NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "Mixer.app"     Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "asfsm"         Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "wmmount"       NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "wmifs"         Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "wmmail"        NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "wmmixer"       NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "wmrack"        NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
Style   "mc*-*" 	    VerticalTitle, NoHandles, Icon normal/MCInMonitorShadow
Style   "docker"        AvoidCover, StartIconic, NoTitle, Layer 4,NoHandles
Style   "peksystray"    AvoidCover, StartIconic, NoTitle, Layer 4,NoHandles
Style   "wmsystray"     AvoidCover, StartIconic, NoTitle, Layer 4,NoHandles

# Web browsers
Style	"Mozilla-bin"		Icon logos/mozilla, IgnoreConfig	
# , StartsOnDesk 1
Style	"Firefox-bin"		Icon logos/Firefox, IgnoreConfig	
# this will prevent firefox's download manager from poping on top every time:
Style	"*Downloads"		Icon logos/Package, IgnoreRestack	
# , StartsOnDesk 1
Style	"Galeon"		IgnoreConfig		
# , StartsOnDesk 1
Style	"Netscape"		Icon netscape.xpm, IgnoreConfig	
# , StartsOnDesk 1

# Email apps
#Style	"Thunderbird-bin"	StartsOnDesk 2
Style	"evolution"		IgnoreConfig		
#, StartsOnDesk 2

# IRC and instant messagers
Style 	"Bitch*"		NoHandles, Sticky
#Style   "Psi"           StartsOnDesk 1
Style   "psidock"       WindowListSkip, CirculateSkip, Sticky 
#, StartsOnDesk 1
Style   "Licq*"         Sticky, NoButton 1, NoButton 4, NoButton 6

# Graphic apps
#Style	"GQview"        StartsOnDesk 0
Style   "gimp"          Icon logos/gimp, UseCurrentViewport
Style	"GIMP Startup"	Icon logos/gimp, NoButton 1, NoButton 2, NoButton 3, NoButton 4
Style   "Blender"       NoTitle, NoHandles
Style   "ghostview"     Icon normal/Ghost2

# Audio apps
Style   "xmms*"			Icon logos/Xmms
Style   "XMMS_Player*"		NoTitle, NoHandles
Style   "XMMS_Playlist*"	NoTitle, NoHandles

# Multimedia apps
# add Layer 4 to all apps you want to see above the wharf
Style  "MPlayer*"		Icon normal/MovieProjector, NoTitle, NoHandles, Layer 4
Style  "MPlayer-Video*"		Title, Handles
Style	"RealPlayer"		Icon logos/real
Style	"VCLApplication"	Layer 0	#, StartsOnDesk 0

# contributed by Dhaval Patel <dhaval at patel dot sh>
Style   "toolbox"		NoButton 1, NoButton 2, NoButton 3, NoButton 4
Style   "Popup menu*"		Sticky
Style   "Alert*"		Sticky, StaysOnTop
Style   "Question*"		Sticky, StaysOnTop
### REMOVED ### (conflicts with Gaim, Gaim has no titlebars built in.)
### by Vaevictus
### what program was this for anyway?
#Style   "Buddy List"		NoTitle, WindowListSkip

# contributed by David William Thornton <dwt at softhome dot net>
# KDE apps
Style	"kicker"		AvoidCover, NoTitle, NoHandles, WindowListSkip, CirculateSkip, Layer 0, Sticky
Style	"konqueror"		Icon konqueror, IgnoreConfig
Style	"kvt"			Icon Computer.xpm
Style	"*.kss"			NoTitle, NoHandles, Layer 10, FullScreen

# gnome panel ( contributed by Greg Norris <haphazard at kc dot rr dot com> ):
Style   "gnome-panel"		NoTitle, Sticky, StaysOnTop, WindowListSkip, AvoidCover, NoHandles
Style   "Top*Panel"		DefaultGeometry +0+0, Layer 3
Style   "Bottom*Panel"		DefaultGeometry +0-0

# Some other apps
Style	"alarmd"		AvoidCover, NoTitle, NoHandles, WindowListSkip, CirculateSkip, Layer 0, Sticky
Style   "gdiskfree"     	AvoidCover, Layer 0
Style	"vmware-ui"		Icon Network.xpm, NoButton 2			
Style	"Xpdf"			Icon logos/PDF
Style	"GSubEdit*"		Icon normal/MovieProjector
Style	"subtitle editor"	Icon normal/MovieProjector
Style	"Worker - *"		Icon logos/Worker
Style	"rootWorker - *"	Icon logos/Worker
Style	"urxvt"			Icon logos/Unicode

#, StartsOnDesk 0
Style	"xdos"			NoButton 2		#, StartsOnDesk 0
Style   "xli"			Icon monalisa.xpm
Style   "*man"			Icon Info.xpm
Style   "XMcd"			Icon CDrom.xpm
Style   "XFce*"			NoTitle, Sticky, BorderWidth 4, WindowListSkip, NoHandles
Style   "XFBD*"			Sticky
Style	"XPostit*"		Icon Text.xpm
Style	"xkhfm@Programs"	NoTitle, Sticky, WindowListSkip


# Open Office makes some dialogs have type Dialog and others - type Normal, 
# causing all kinds of wierdness. So let's use power of AS to fix it ourselves :
Style "VCLSalFrame"			Layer 1
Style "VCLSalFrame.DocumentWindow*"	Layer 0

# Make web browzer the last look to limit application & webpage naming conflicts
Style	"* - Mozilla"		Icon logos/mozilla
Style	"* - Mozilla Firefox"	Icon logos/Firefox


##########################################################################
