From ab9708dd74ea838fed9415887e5b6921ae6d478d Mon Sep 17 00:00:00 2001 From: arrow_zhang Date: Sun, 20 Apr 2008 21:11:09 +0800 Subject: [PATCH] [UP] update fvwm conf with acer lap-top computer --- conf_slk120/fvwm/.fvwm2rc | 1 + conf_slk120/fvwm/bindkey | 3 ++- conf_slk120/fvwm/init_env | 1 + conf_slk120/fvwm/menus | 2 +- conf_slk120/fvwm/modules | 3 ++- conf_slk120/fvwm/styles | 30 ++++++++++++++++-------------- 6 files changed, 23 insertions(+), 17 deletions(-) diff --git a/conf_slk120/fvwm/.fvwm2rc b/conf_slk120/fvwm/.fvwm2rc index 7bf9eac..1538c35 100644 --- a/conf_slk120/fvwm/.fvwm2rc +++ b/conf_slk120/fvwm/.fvwm2rc @@ -7,3 +7,4 @@ read modules read bindkey read menus read startpoint + diff --git a/conf_slk120/fvwm/bindkey b/conf_slk120/fvwm/bindkey index e8020e1..b9c805e 100644 --- a/conf_slk120/fvwm/bindkey +++ b/conf_slk120/fvwm/bindkey @@ -25,7 +25,7 @@ Key F10 A M Menu MenuFvwmRoot Key F12 A A Module FvwmConsole -terminal rxvt -geometry 85x7+120+0 -bg gold -fg midnightblue Key H A 4 Next (CirculateHit, HiddenConsole) HiddenConsoleKeyBinding Key L A 4 Exec exec xlock -Key W A M Exec exec seamonkey +Key W A M Exec exec firefox Key G A M Exec exec gvim Key Z A CM Exec exec $[HOME]/.bin/shell/arrow-rxvt Key R A CM Restart @@ -36,3 +36,4 @@ Key K A M GotoPage 1 1 Key notidentical A A Exec exec amixer set PCM 4%+ Key stricteq A A Exec exec amixer set PCM 4%- + diff --git a/conf_slk120/fvwm/init_env b/conf_slk120/fvwm/init_env index 73d7de4..8a6a5e4 100644 --- a/conf_slk120/fvwm/init_env +++ b/conf_slk120/fvwm/init_env @@ -21,3 +21,4 @@ Colorset 18 fg black, bg #c6c3c6, RootTransparent buffer, Tint #c3c6c3 65 DeskTopSize 2x2 SetEnv ARROWFONT "-*-courier-medium-r-*-*-14-140-*-75-*-*-*-*,xft:WenQuanYi Bitmap Song:style=Regular:size=14" # SetEnv ARROWFONT "xft:WenQuanYi Bitmap Song:style=Regular:size=13;xft:Courier:style=Regular:size=13" + diff --git a/conf_slk120/fvwm/menus b/conf_slk120/fvwm/menus index 473a59a..d64b43b 100644 --- a/conf_slk120/fvwm/menus +++ b/conf_slk120/fvwm/menus @@ -3,7 +3,7 @@ DestroyMenu MenuFvwmRoot AddToMenu MenuFvwmRoot + "&rxvt" Exec exec rxvt -title 'arrowworld' + "" Nop -+ "&seamonkey" Exec exec seamonkey ++ "&firefox" Exec exec firefox # Test (x gmrun) + %gears.png%"&Run..."%alt_f2.png% Exec exec gmrun # + %telephone_out.png%"Logins" Popup Menulogins + "" Nop diff --git a/conf_slk120/fvwm/modules b/conf_slk120/fvwm/modules index 92aec1c..54a2dd0 100644 --- a/conf_slk120/fvwm/modules +++ b/conf_slk120/fvwm/modules @@ -28,7 +28,7 @@ DestroyModuleConfig FvwmShelf: * *FvwmShelf: (22x6, Swallow "FvwmPager" "FvwmPager *") # *FvwmShelf: (22x1, Colorset 18, Frame 0) *FvwmShelf: (22x2, Title(Side) " Terminal", Left, Icon computer_x11.png, Action(Mouse 1) `Exec "rxvt" exec $[HOME]/.bin/shell/arrow-rxvt`) -*FvwmShelf: (22x2, Title(Side) " WebBrowser", Left, Icon opera.png, Action(Mouse 1) `Exec "seamonkey" exec seamonkey`) +*FvwmShelf: (22x2, Title(Side) " WebBrowser", Left, Icon opera.png, Action(Mouse 1) `Exec "firefox" exec firefox`) # *FvwmShelf: (22x2, Title(Side) " Editor", Left, Icon gvim.png, Action(Mouse 1) `Exec "gvim" exec gvim -geom 139x56`) # *FvwmShelf: (22x2, Title(Side) " Email", Left, Icon mail.png, Action(Mouse 1) `Exec "Mulberry" exec mulberry`) # *FvwmShelf: (22x2, Title(Side) " Music", Left, Icon audio.png, Action(Mouse 1) `Exec "beep-media-player" exec beep-media-player`) @@ -92,3 +92,4 @@ DestroyModuleConfig FvwmBar: * # *FvwmBar: (71x2, Padding 0 0, Action(Mouse 1) `Next (CirculateHit, FvwmBar) PipeRead 'echo LockingSlide keep $$(test $$(($[w.y]+$[w.height])) -le $[vp.height] && echo w$$(($[w.height]-$height))p || echo w-$$(($[w.height]-$height))p)'`) # *FvwmBar: (4x20, Title(Side) " sbu31", Left, Icon gears.png, Action(Mouse 1) `Menu MenuFvwmRoot Rectangle +$left+$top 0 -100m`) # *FvwmBar: (67x20, Swallow "FvwmIconMan" `FvwmIconMan`) + diff --git a/conf_slk120/fvwm/styles b/conf_slk120/fvwm/styles index 720ebc7..891e4d6 100644 --- a/conf_slk120/fvwm/styles +++ b/conf_slk120/fvwm/styles @@ -17,10 +17,14 @@ MenuStyle * Hilight3DThin, PopupOffset 0 100, PopupDelay 300 MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1 MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsLong, TrianglesSolid, Animation -# Style * font "xft:WenQuanYi Bitmap Song:style=Regular" -# Style * Iconfont "xft:WenQuanYi Bitmap Song:style=Regular;xft:Courier:style=Regular" -# Style * DefaultFont "xft:WenQuanYi Bitmap Song:style=Regular;xft:Courier:style=Regular" -# Style * WindowFont "xft:WenQuanYi Bitmap Song:style=Regular;xft:Courier:style=Regular" +Style * Font "xft:WenQuanYi Bitmap Song:style=Regular:shadow=1:pixelsize=12:StringEncoding=GBK-0:encoding=ISO10646-1" +Style * IconFont "xft:WenQuanYi Bitmap Song:style=Regular:shadow=1:pixelsize=12:StringEncoding=GBK-0:encoding=ISO10646-1" +DefaultFont "xft:WenQuanYi Bitmap Song:style=Regular:shadow=1:pixelsize=12:StringEncoding=GBK-0:encoding=ISO10646-1" +MenuStyle * font "xft:WenQuanYi Bitmap Song:style=Regular:pixelsize=12:StringEncoding=GBK-0:encoding=ISO10646-1" +*FvwmBar: font "xft:WenQuanYi Bitmap Song:style=Regular:shadow=1:pixelsize=12:StringEncoding=GBK-0:encoding=ISO10646-1" +*FvwmBar: DefaultFont "xft:WenQuanYi Bitmap Song:style=Regular:shadow=1:pixelsize=12:StringEncoding=GBK-0:encoding=ISO10646-1" +# + Style * BorderWidth 2, HandleWidth 4 Style * UseDecor DefaultDecor Style * SloppyFocus @@ -28,13 +32,11 @@ Style * SloppyFocus Style * MouseFocusClickRaises Style * ClickToFocusRaises, ClickToFocusPassesClick Style * MinOverlapPlacement, GrabFocus, NoPPosition -# Style * Font "Shadow=1 1 SE:xft:Aquafont:size=11", BorderWidth 1, HandleWidth 1 Style * Colorset 0, HilightColorset 1, MWMFunctions, MWMDecor, HintOverride Style * ResizeOutline Style * WindowShadeSteps 20 Style * IconTitle, IconTitleColorset 12, HilightIconTitleColorset 12, IconTitleRelief 0 -# Style * IconFont "xft:Aquafont:size=11minspacing=True", IndexedIconName, IconBackgroundPadding 2, # Style * IndexedIconName, IconBackgroundPadding 2, Style * IconBackgroundRelief 0, IconBackGroundColorset 12 @@ -102,23 +104,23 @@ Style Dia MiniIcon chart_line-graph.png Style treeline.py MiniIcon paper_paper-set.png Style Waiting MinOverlapPlacement, ClickToFocus +# 1 3 5 7 9 0 8 6 4 2 DestroyDecor DefaultDecor AddToDecor DefaultDecor + TitleStyle LeftJustified Height 17 + TitleStyle InActive ( Colorset 0 -- Flat ) Active ( Colorset 1 -- Flat ) -+ ButtonStyle All InActive ( Colorset 1 -- Flat ) -+ ButtonStyle All Active ( Colorset 0 -- Flat ) -+ ButtonStyle 1 - MwmDecorMenu -+ ButtonStyle 6 - MwmDecorMin -+ ButtonStyle 4 - MwmDecorMax + BorderStyle Active Solid black -- NoInset HiddenHandles + BorderStyle Inactive Solid black -- NoInset HiddenHandles ++ ButtonStyle All InActive ( Colorset 1 -- Flat ) ++ ButtonStyle All Active ( Colorset 0 -- Flat ) ++ ButtonStyle 1 7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0 ++ ButtonStyle 3 3 0+4px50+1p@0 100-5px50+1p@0 100-5px50-2p@0 ++ ButtonStyle 4 10 25x40@1 20x40@1 20x80@1 60x80@1 60x65@1 35x65@0 85x65@0 85x10@0 30x10@1 30x65@1 ++ ButtonStyle 2 16 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1 -# ButtonStyle 2 - Clear -# ButtonStyle 4 - Clear MWMDecorMax -# ButtonStyle 6 - Clear MWMDecorShade # AddButtonStyle 2 Pixmap mini.winXX-close.xpm # AddButtonStyle 4 Pixmap mini.winXX-maximize.xpm # AddButtonStyle 6 Pixmap mini.winXX-minimize.xpm +HilightColor #ffffff grey -- 2.11.4.GIT