#set the image variables
setenv Fvwm_images ${HOME}/.fvwm/images
SetEnv Fvwm_icons ${HOME}/.fvwm/icons
SetEnv Fvwm_icons2 ${HOME}/.fvwm/icons/4848/
SetEnv Fvwm_sounds ${HOME}/.fvwm/sound
SetEnv Fvwm_wallpapers ${HOME}/.fvwm/wallpapers
SetEnv Fvwm_decorations ${HOME}/.fvwm/decorations
SetEnv Fvwm_root ${HOME}/.fvwm
#Set image path
ImagePath $[Fvwm_icons]:+
ImagePath $[Fvwm_icons2]:+
ImagePath $[Fvwm_wallpapers]:+
ImagePath $[Fvwm_decorations]:+
#Read Fvwm_decorations/Crystal-Aqua/Default.theme
#Read Fvwm_decorations/Gentoo/Gentoo.theme
#*vwmAnimate: Delay 25
#*FvwmAnimate:Effect Random
#*FvwmAnimate:Width 3
Read f.menu
Read f.binding
Read f.style
#Read ./decorations/Clear/Violet.theme
##Read ./decorations/Clear/Red.theme
##Read ./decorations/Clear/Orange.theme
#Read ./decorations/Clear/Navy.theme
#Read ./decorations/Clear/Mono.theme
#Read ./decorations/Clear/Green.theme
##Read ./decorations/Clear/Blue.theme
#Read ./decorations/Crystal/WhiteDesktop.theme
##Read ./decorations/Crystal/RedDesktop.theme
##Read ./decorations/Crystal/Red - Cyan.theme
#Read ./decorations/Crystal/IrishDesktop.theme
##Read ./decorations/Crystal/DarkGreen.theme
##Read ./decorations/Crystal/DarkDesktop.theme
##Read ./decorations/Crystal/CrystalZono.theme
##Read ./decorations/Crystal/CIOS.theme
#Read ./decorations/Crystal-Aqua/Default.theme
##Read ./decorations/Dawn of a Terminal/Red.theme
#Read ./decorations/Dawn of a Terminal/Purple.theme
##Read ./decorations/Dawn of a Terminal/Green.theme
##Read ./decorations/Dawn of a Terminal/Blue.theme
#Read ./decorations/Elberg/Elberg.theme
##Read ./decorations/Fear/Original.theme
#Read ./decorations/Fear/Original (crystalized).theme
Read ./decorations/Gentoo/Gentoo.theme
##Read ./decorations/Gentoo/Gentoo Gray.theme
#Read ./decorations/Gentoo/Gentoo Alternative.theme
##Read ./decorations/Industrial/Industrial (Metacity version).theme
#Read ./decorations/Industrial/Industrial (Crystal version).theme
##Read ./decorations/Metabox/Metabox (Metacity version).theme
##Read ./decorations/Metabox/Metabox (Crystal version).theme
##Read ./decorations/Winter/Winter.theme
##Read ./decorations/Winter/Winter (no icon).theme
#Virtual Desktop
DesktopSize 1x1
#Style main WindowListSkip,StaysOnBottom,NeverFocus, NoLenience
#EdgeResistance 150 150
#EdgeThickness 1
#OpaqueMoveSize -1
#SnapAttraction 3 SameType
#Move and Focus Behavior
ClickTime 350
MoveThreshold 100
EwmhBaseStruts 0 70 20 25
IgnoreModifiers L25
AddToFunc autohide
+ I ThisWindow ($0) Deschedule $[w.id]
+ I TestRc (!Match) Deschedule -$[w.id]
+ I ThisWindow ($0) KeepRc ThisWindow (shaded) autohide_show $1 $3
+ I TestRc (!Match) All ($0, !shaded) autohide_hide $2 $3
AddToFunc autohide_show
+ I Schedule $0 -$[w.id] WindowShade $1 off
+ I Schedule $0 -$[w.id] Deschedule $[w.id]
+ I Schedule $0 -$[w.id] Deschedule -$[w.id]
AddToFunc autohide_hide
+ I Schedule $0 $[w.id] WindowShade $1 on
+ I Schedule $0 $[w.id] Deschedule $[w.id]
+ I Schedule $0 $[w.id] Deschedule -$[w.id]
#Startup StartFunction
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Module FvwmAuto -menter hide_module
+ I Module FvwmButtons MyDock
+ I Module FvwmPager 0 3
+ I Module FvwmIconMan MyIconMan
+ I Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*.png
+ I Exec exec `xmodmap -e 'keycode 176= XF86AudioRaiseVolume'`
+ I Exec exec `xmodmap -e 'keycode 174= XF86AudioLowerVolume'`
+ I Exec exec `xcompmgr -cFf -t-5 -l-5 -r4 -o.55`
+ I Exec exec `xrandr -s 6`
+ I Exec exec `fcitx &`
#+ I Exec exec `xmodmap -e 'keycode 227= FN'`
#+ I Exec exec `xmodmap -e 'keycode 115 = Super_L'`
#+ I Exec exec `xmodmap -e 'keycode 116 = Super_R'`
+ I Exec exec fvwm-root -r $[Fvwm_wallpapers]/200702190733545963.png
+ I Exec exec xscreensaver &
+ I FvwmAnimate
DestroyFunc RestartFunction
AddToFunc RestartFunction
+ I All (stardict) Close
+ I All (mldonkey) Close
+ I All (xscreensaver) Close
+ I Nop
DestroyFunc RestartXCompMgr
AddToFunc RestartXCompMgr
+ I PipeRead 'killall xcompmgr && exec xcompmgr -n & ; echo Restart'
#Style * IconBox 0 750 896 0
DestroyFunc hide_module
AddToFunc hide_module
+ I autohide FvwmPager 50 50 S
+ I autohide MyDock 50 50 N
destroyFunc FvwmDeleteOrDestroy
AddToFunc FvwmDEleteOrDestroy
+ H Nop
+ M Nop
+ C Delete
+ D Destroy
DestroyFunc FvwmATerm
AddToFunc FvwmATerm
+ I Exec exec xterm -geometry 65x25 &
+ I WindowId root 1 WarpToWindow 10 10
DestroyFunc FvwmFirefoxOpen
AddToFunc FvwmFirefoxOpen
+ I Exec exec firefox &
+ I cursormove -100 -100
+ I "d"
DestroyFunc Import
AddToFunc Import
+ I Exec exec /home/thinkpddb/.fvwm/import.script
DestroyFunc Deskmv
AddToFunc Deskmv
+ I Exec exec /home/thinkpddb/.fvwm/deskmv.script
DestroyFunc FvwmWindowClose
AddToFunc FvwmWindowClose
+ I Delete
DestroyFunc FvwmRootOnTop
AddToFunc FvwmRootOnTop
+ I Root
DestroyFunc FvwmIconifyOrShade
AddToFunc FvwmIconifyOrShade
+ C Iconify
+ D WindowShade
DestroyFunc FvwmIconify
AddToFunc FvwmIconify
+ I Iconify
DestroyFunc FvwmMaximize
AddToFunc FvwmMaximize
+ I AnimatedMove 0 0[Warp]
+ I Maximize 100 100
+ I Raise
+ I Exec exec play $[Fvwm_sounds]/pop1.wav
+ I AnimatedMove 0 0[Warp]
#+ I AnimatedMove 10 10 [Warp]
#+ I WarpToWindow 50 50
#+ I AnimatedMove m+0 m+0 Warp
DestroyFunc FvwmWindowShade
AddToFunc FvwmWindowsShade
+ D Windowshade $0
#Programe Launching Functions
DestroyFunc FvwmViewManpage
AddToFunc FvwmViewManpage
+ I Exec exec xterm -fg White -bg DarkBlue -g 80x40 -fn 7x14 -fb
7x14bold \ -n "Manual Page -$0" -T "Manual Page -$0" -e man "$0"
#AddToFunc selective_raiselower
#自动提升的几个窗口
#+ I WindowId $1 (xchat) $0
#+ I WindowId $1 (eva) $0
#+ I WindowId $1 (mldonkey) $0
#自动卷起的几个窗口
#+ I WindowId $1 (Audacious) WindowShade
DestroyModuleConfig FvwmTaskBar:*
*FvwmTaskBar:Rows 1
DestroyModuleConfig MyButtons:*
*MyButtons:columns 1
*MyButtons:(1x1,NoTitle,Frame -1,Swallow wmclockmon,'Exec exec wmclockmon -bw -bl -lc rgb:ee/82/ee')
*MyButtons:(1x1,NoTitle,Frame -1,Swallow wmcpuload,'Exec exec wmcpuload -bw -bl -lc rgb:66/ff/33')
DestroyModuleConfig FvwmPager:*
*FvwmPager:Columns 1
*FvwmPager:Rows 4
*FvwmPager:geometry 80x400-0+150
*FvwmPager:Label 0 Work
*FvwmPager:Label 1 Brow
*FvwmPager:Label 2 Chat
*FvwmPager:Label 3 Enten
DestroyModuleConfig MyDock:*
*MyDock:geometry -0-0
*MyDock:Rows 1
*MyDock:Columns 9
*MyDock:Colorset 0
#*MyDock:ActiveColorset 60
#*MyDock: Font -*-helvetica-medium-r-*-*-12-*
*MyDock:(1x1,Icon qq.png,Frame 0,transientpanel,Action (Mouse 1) 'Exec
cd /home/thinkpddb/Desktop/linuxqq_v1.0.2-beta1_i386/;./qq')
#*MyDock:(1x1,Icon qq.png,ActiveIcon xchat.png,Frame
3,transientpanel,Action (Mouse 1) 'Exec cd
/home/thinkpddb/Desktop/linuxqq_v1.0.2-beta1_i386/;./qq')
*MyDock:(1x1,Icon xchat.png,Frame 3,transientpanel,Action (Mouse 1) 'Exec xchat')
*MyDock:(1x1,Icon pdf1.png,Frame 3,transientpanel,Action (Mouse 1) 'Exec acroread')
*MyDock:(1x1,Icon browser1.png,Frame 3,transientpanel,Action (Mouse 1) 'Exec firefox')
*MyDock:(1x1,Icon msn4.png,Frame 3,transientpanel,Action (Mouse 1) 'Exec pidgin')
*MyDock:(2x1,Swallow "xclock" 'Exec xclock -update 1 -digital -strftime "%H:%M:%S" '
*MyDock:(2x1,left,Swallow "FvwmIconMan" 'Module MyIconMan')
DestroyModuleConfig MyIconMan:*
#*MyIconMan:ButtonGeometry 40x40
*MyIconMan:ManagerGeometry
*MyIconMan:DrawIcons true #use mini icon
#*MyIconMan:ShowOnlyIcons true
*MyIconMan:UseWinList false
*MyIconMan:Resolution global
*MyIconMan:Show title stardict,xchat,msn,qq
Style LaunchTime BorderWidth 1,NoTitle,NeverFocus
DestroyModuleConfig LaunchTime:*
*LaunchTime:Rows 1
*LaunchTime:Colorset 42
*LaunchTime:(1x1,icon quake.png,Frame 0)
#*LaunchTime:(1x1,icon maya.png)
DestroyFunc Thumbnail
AddToFunc Thumbnail
+ I Raise
+ I ThisWindow (!Shaded, Iconifiable, !Iconic) PipeRead \
"xwd -silent -id $[w.id] | convert -scale 128 -frame 1x1 \
-mattecolor black -quality 0 xwd:- png:$[HOME]/.fvwm/icon.tmp.$[w.id].png \
&& echo WindowStyle IconOverride, Icon $[HOME]/.fvwm/icon.tmp.$[w.id].png \
|| echo Nop"
+ I Iconify
+ I Exec exec play $[Fvwm_sounds]/pop2.wav
DestroyFunc DeThumbnail
AddToFunc DeThumbnail
+ I Raise
+ I DestroyWindowStyle
+ I Exec exec rm -f $[HOME]/.fvwm/icon.tmp.$[w.id].png
+ I Iconify off
+ I WarpToWindow 50 50
+ I Exec exec play $[Fvwm_sounds]/pop3.wav
DestroyFunc F4Func
AddToFunc F4Func
+ I Module FvwmConsole -terminal xterm -bg black -fg green -g 40x2+0-0
+ I WindowId root 1 WarpToWindow 1 98
#####屏蔽内建#########
#Silent Key Help R A -
Key F1 R A -
DestroyMenu MenuFvwmRoot
##########################
阅读(1587) | 评论(0) | 转发(0) |