|
发表于 2006-1-8 20:01:46
|
显示全部楼层
我的设置,看看吧,拣出有用的来。
#-----------------------------------------------------------------------------#
#
# 2. Root cursor, Windows Decoration and Menu Styles:
# Default fonts, colors, Border, Title, Button Styles, Menu Styles
# window button bindings.
# (this section may be the theme part of the config, but you need to use
# FvwmTheme to define and propagate the colors)
#-----------------------------------------------------------------------------#
#Colorset 26 RootTransparent, fg white , bg grey 80, Tint #C04040 20, bgTint black 20 , sh black , fgsh black
#Colorset 27 RootTransparent, fg white, bg grey, Tint red 30 , sh black , fgsh black
#Colorset 28 RootTransparent, fg white, bg #4161A4, Tint green 30, bgTint black 20 , sh black , fgsh black
#Colorset 29 RootTransparent, fg black, bg average, Tint cyan 30, bgTint black 20 , sh black , fgsh black
Colorset 26 RootTransparent, fg #000000, bg grey 80, Tint #C04040 20, bgTint black 20 , sh black , fgsh white
Colorset 27 RootTransparent, fg black 80, bg grey 80, Tint red 30 , sh black , fgsh white
Colorset 28 RootTransparent, fg white, bg #444444, Tint green 30, bgTint black 20 , sh black , fgsh black
Colorset 29 RootTransparent, fg black 80, bg grey 80, Tint cyan 30, bgTint black 20 , sh black , fgsh white
Colorset 30 RootTransparent, fg black, bg average, Tint yellow 30, bgTint black 20 , sh black , fgsh black
Colorset 31 RootTransparent, fg black, bg average, Tint red 60, bgTint black 20 , sh black , fgsh black
Colorset 32 RootTransparent, fg black, bg average, Tint white 30, bgTint black 20 , sh black , fgsh black
Colorset 23 fg #000000, fgsh white, bg #ffffff, hi #ffffff, sh #9a9a9a, Translucent #dce0e7 50
Colorset 20 fg white, fgsh black, bg #3B3B3B, hi #4161A4, sh grey60
#------------------------------------------------------------------------------
# Set the root cursor
#------------------------------------------------------------------------------
CursorStyle ROOT left_ptr
CursorStyle TITLE left_ptr
CursorStyle DEFAULT left_ptr
CursorStyle SYS left_ptr
CursorStyle MENU left_ptr
#------------------------------------------------------------------------------
# Fonts - one for window titles, another for icons, and another for the menus
#------------------------------------------------------------------------------
#WIN 1
#Style * Font "xft:sans-serif:Medium;-*-times-medium-r-*-*-16-*-*-*-*-*-*-*"
#FVWM 1
Style * Font "Shadow=1 0.5:-adobe-helvetica-bold-r-*-*-12-*,-*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*"
Style * IconFont "Shadow=1 0.5:-adobe-helvetica-bold-r-*-*-12-*,-*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*"
#------------------------------------------------------------------------------
# Set the default window colors.
#------------------------------------------------------------------------------
# Text and background color for the title bar (overridden in the WIN case),
# and the border of the inactive window (also used by icon title,
# and "hilight" and "shadow" colors).
#WIN 1
#Style * ForeColor #c3c3c3, BackColor #c3c3c3
#FVWM 1
Style * ForeColor #c3c3c3, BackColor grey51
# Text and background color for the title bar (overriden in the WIN case),
# and the border of the active (selected) window (also used by icon title,
# and "hilight" and "shadow" colors).
#WIN 1
#Style * HilightFore white, HilightBack #c3c3c3
#FVWM 1
Style * HilightFore white, HilightBack SlateBlue
#------------------------------------------------------------------------------
# Border, Title and Button Styles
#------------------------------------------------------------------------------
Style * BorderWidth 1, HandleWidth 3
#WIN 13
#Style "*" FvwmBorder # MWMBorder
#Style "*" FvwmButtons
#BorderStyle Inactive -- HiddenHandles NoInset
#BorderStyle Active -- HiddenHandles NoInset
#TitleStyle ActiveUp (solid Blue4 -- Flat)
#TitleStyle ActiveDown (solid Blue4 -- Flat)
#TitleStyle Inactive (solid grey51 -- Flat)
#TitleStyle LeftJustified
#ButtonStyle 1 MiniIcon (-- flat)
#ButtonStyle all -- UseTitleStyle Flat
#AddButtonStyle 2 Pixmap mini.winXX-close.xpm -- left
#AddButtonStyle 4 Pixmap mini.winXX-maximize.xpm -- left
#AddButtonStyle 6 Pixmap mini.winXX-minimize.xpm -- right
#FVWM 11
Style "*" MWMBorder # FVWMBorder
Style "*" MWMButtons
TitleStyle Centered
ButtonStyle all -- UseTitleStyle
ButtonStyle 2 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
ButtonStyle 4 4 50x25@1 75x75@0 25x75@0 50x25@1
ButtonStyle 6 4 50x65@1 35x35@1 65x35@1 50x65@0
ButtonStyle 1 - Clear MWMDecorMenu
ButtonStyle 2 - Clear
ButtonStyle 4 - Clear MWMDecorMax
ButtonStyle 6 - Clear MWMDecorShade
#------------------------------------------------------------------------------
# The MenuStyle command allows almost full control over menu look and feel.
# We use the preconfigured 'Win' or 'Fvwm' default. This resets most other
# options and must be set first. We also define a menu called winops for
# the windows operations menus and very long one. The menus which use this
# style are (and must) be defined in the end of the menus.
#------------------------------------------------------------------------------
#WIN 4
#MenuStyle * win
#MenuStyle * font "xft:sans-serif:Medium;-*-times-medium-r-*-*-16-*-*-*-*-*-*-*"
#MenuStyle * Foreground black, Background grey80
#MenuStyle * ActiveFore white, HilightBack Blue4
#FVWM 5
MenuStyle * fvwm
MenuStyle * Font "Shadow=1 0.7:-adobe-helvetica-bold-r-*-*-12-*,-*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*"
MenuStyle * MenuColorset 23
#MenuStyle * Foreground white, Background grey60
MenuStyle * ActiveFore green, HilightBack #4161A4
MenuStyle * Hilight3DThick
MenuStyle * Greyed grey60 # default is invisible on backgroud grey80
MenuStyle * VerticalItemSpacing 2 4, VerticalTitleSpacing 2 4
MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsLong, TrianglesSolid
MenuStyle * ItemFormat "%.2|%.5i%.5l%.5i%2.3>%2|"
MenuStyle * AutomaticHotKeys
MenuStyle * MenuFace VGradient 128 1 #2c80A0 1 #1c5572
ColormapFocus FollowsFocus
CopyMenuStyle * winops
#WIN 1
#MenuStyle winops font "xft:sans-serif:Medium;-*-times-medium-r-*-*-14-*-*-*-*-*-*-*"
#FVWM 2
MenuStyle winops font -*-wenquanyi bitmap song-bold-r-normal-12-120-*-*-*-*-*-*-*,fixed
MenuStyle winops TitleWarpOff
MenuStyle winops VerticalItemSpacing 1 2, VerticalTitleSpacing 1 2 |
|