#fvwm2 配置文件
EdgeScroll 0 0
SetEnv minDesk 0
SetEnv maxDesk 3
DeskTopSize 1x1
DefaultFont "StringEncoding=utf8:xft:Microsoft YaHei:size=10:encoding=iso10646-1"
HideGeometryWindow
ColormapFocus FollowsMouse
Colorset 3 fg black, bg rgb:e9/ff/e9, sh rgb:88/cc/88, hi rgb:88/cc/88
Style * BorderWidth 0, !Handles, !Title, !Icon
Style * ClickToFocus, ClickToFocusPassesClick,ResizeHintOverride
Style * SmartPlacement
MenuStyle * Hilight3DOff, PopupDelayed, PopupDelay 160, SeparatorsLong
MenuStyle * ActiveFore white, HilightBack rgb:44/88/44
MenuStyle * MenuColorset 3
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Exec exec fvwm-root ~/desktop.png
DestroyFunc WindowListFunc
AddToFunc WindowListFunc
+ I Raise
+ I FlipFocus
DestroyFunc JumpExec
AddToFunc JumpExec
+ I All ($0) WindowListFunc
+ I None ($0) Exec exec $1 &
DestroyFunc Move-or-Raise
AddToFunc Move-or-Raise M Move
DestroyFunc Resize-or-Raise
AddToFunc Resize-or-Raise M Resize
Mouse 1 W M Move-or-Raise
Mouse 3 R A WindowList NoIcons NoGeometry NoCurrentDeskTitle NoNumInDeskTitle NoDeskNum
Mouse 3 W M Resize-or-Raise
Key F1 A A JumpExec Alacritty alacritty
Key F4 A M Close
Key F11 A A Exec exec i3lock -c "000000"
Key Left A 4 GotoDesk -1 0 3
Key Right A 4 GotoDesk 1 0 3
Key Return A M Maximize
Key Tab A M WindowList Root c c CurrentAtEnd CurrentDesk NoIcons NoGeometry NoCurrentDeskTitle NoNumInDeskTitle NoDeskNum SelectOnRelease Meta_L Layer 4
# ctrl+alt+数字 标记窗口
# win+数字 选中窗口
# 类似红警选择部队后编码
Key 7 WI MC Key 7 A 4 WindowId $[
w.id] WindowListFunc
Key 8 WI MC Key 8 A 4 WindowId $[
w.id] WindowListFunc
Key 9 WI MC Key 9 A 4 WindowId $[
w.id] WindowListFunc