xeno/fvwm/config
2011-05-30 09:16:56 +02:00

188 lines
5 KiB
Text

# xeno's fvwm2 config
DesktopSize 2x1
IgnoreModifiers L25
HideGeometryWindow Always
EwmhBaseStruts 95 10 10 22
EdgeResistance -1
Style * Font -xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*
Style * IconFont -xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*
Style * HandleWidth 4
Style * BorderWidth 1
Style * GrabFocus
Style * FPGrabFocus
Style * ResizeOpaque
Style * NoPPosition
Style * NoTransientPPosition
Style * SloppyFocus
Style * MWMFunctions
Style * MWMDecor
Style * HintOverride
Style * OLDecor
Style * EdgeMoveDelay 250
Style * EdgeMoveResistance 20
MenuStyle * Font -xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*
MenuStyle * Foreground white, Background black
MenuStyle * Hilight3DThickness 1
MenuStyle * BorderWidth 1
CursorStyle ROOT left_ptr
CursorStyle TITLE left_ptr
CursorStyle DEFAULT left_ptr
CursorStyle SYS left_ptr
CursorStyle MENU left_ptr
# Keys
Key Return A M Exec urxvt
Key "Q" A M Exec dmenu_run -nb '#000000' -nf '#a8c023' -sb '#a8c023' -sf '#000000'
Key "L" A M Exec xscreensaver-command -lock
Key "K" A M Exec amixer set PCM 5%+
Key "S" A M Exec amixer set PCM 5%-
Key Tab A M Next (CurrentPage !Sticky AcceptsFocus) Focus
Key "M" A M Maximize
Key "G" A M Desk -1 0 0 3
Key "R" A M Desk +1 0 0 3
Key "N" A M GotoPage -1p 0
Key "T" A M GotoPage +1p 0
Key "1" A M GotoDeskAndPage 0 0 0
Key "2" A M GotoDeskAndPage 0 1 1
Key "3" A M GotoDeskAndPage 1 0 0
Key "4" A M GotoDeskAndPage 1 1 1
Key "5" A M GotoDeskAndPage 2 0 0
Key "6" A M GotoDeskAndPage 2 1 1
Key "7" A M GotoDeskAndPage 3 0 0
Key "8" A M GotoDeskAndPage 3 1 1
Key "F" A M FvwmRearrange -tile -v 0 0 100 100
Key "H" A M FvwmRearrange -tile -h 0 0 100 100
Key "R" A CM Restart
Key "Q" A CM Quit
# Mouse
Mouse 1 1 N Popup FvwmWindowOpsMenu
Mouse 1 2 N Close
Mouse 1 4 N Maximize 100 100
Mouse 1 6 N Iconify
Mouse 1 I N Iconify
# Colorsets
Colorset 1 RootTransparent Buffer, Tint #000000 40
Colorset 2 RootTransparent Buffer, Tint #fecf35 40
Colorset 3 RootTransparent Buffer
Colorset 4 bg black, fg white
Colorset 5 Transparent, bg black
Colorset 10 fg #e0e0e0, bg #3a3a3a
Colorset 11 fg #f10000, bg #3a3a3a
# Pager
AddToFunc StartFunction
+ I Module FvwmPager 0 3
Style FvwmPager Sticky
Style FvwmPager NoTitle
Style FvwmPager FixedPosition
Style FvwmPager FixedSize
Style FvwmPager BorderColorSet 4
Style FvwmPager !Iconifiable
Style FvwmPager !Handles
*FvwmPager: Font none
*FvwmPager: Geometry 75x150+10+10
*FvwmPager: Columns 1
*FvwmPager: ShapeLabels
*FvwmPager: SolidSeparators
*FvwmPager: Balloons
*FvwmPager: Colorset * 1
*FvwmPager: HilightColorset * 2
*FvwmPager: WindowColorsets 3 3
# IconBox
Style * IconBox 1000x40+5+1030
Style * IconFill Left Right
# Animate
AddToFunc StartFunction
+ I Module FvwmAnimate
*FvwmAnimate: Effect Turn
*FvwmAnimate: Delay 5
*FvwmAnimate: Iterations 30
*FvwmAnimate: Width 1
# Menus
DestroyMenu InternetMenu
AddToMenu InternetMenu "Internet" Title
+ "Opera" Exec exec opera
DestroyMenu MultimediaMenu
AddToMenu MultimediaMenu "Multimedia" Title
+ "gqview" Exec exec gqview
+ "MOC" Exec exec urxvt -e mocp
+ "Quod Libet" Exec exec quodlibet
+ "VLC" Exec exec vlc
DestroyMenu OfficeMenu
AddToMenu OfficeMenu "Office" Title
+ "LibreOffice" Exec exec libreoffice
DestroyMenu SystemMenu
AddToMenu SystemMenu "System" Title
+ "Midnight Commander" Exec exec urxvt -e mc
+ "Python" Exec exec urxvt -e python
+ "virt-manager" Exec exec virt-manager
+ "VirtualBox" Exec exec virtualbox
+ "Wicd" Exec exec urxvt -e wicd-curses
DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot
+ "Urxvt" Exec exec urxvt
+ "Firefox" Exec exec firefox
+ "" Nop
+ "Internet" Popup InternetMenu
+ "Multimedia" Popup MultimediaMenu
+ "Office" Popup OfficeMenu
+ "System" Popup SystemMenu
+ "" Nop
+ "Lock Screen" Exec exec xscreensaver-command -lock
+ "Restart" Restart
+ "Quit" Quit
DestroyMenu FvwmWindowOpsMenu
AddToMenu FvwmWindowOpsMenu
+ "Move%menu/window-move.xpm%" Move
+ "Resize%menu/window-resize.xpm%" Resize
+ "(Un)Shade%menu/window-shade.xpm%" WindowShade
+ "(Un)Stick%menu/window-stick.xpm%" Stick
+ "Close%menu/window-close.xpm%" Close
+ "Delete%menu/window-delete.xpm%" Delete
+ "Destroy%menu/window-destroy.xpm%" Destroy
# Tiling
AddToFunc StartFunction
+ I Module FvwmRearrange
# Buttons
AddToFunc StartFunction
+ I Module FvwmButtons
Style FvwmButtons Sticky
Style FvwmButtons Notitle
Style FvwmButtons FixedPosition
Style FvwmButtons FixedSize
Style FvwmButtons ParentalRelativity
Style FvwmButtons !Iconifiable
Style FvwmButtons !Handles
Style FvwmButtons !Borders
# Raise $y by 75 for each app
*FvwmButtons: Geometry 75x225+12+170
*FvwmButtons: Colorset 5
*FvwmButtons: Rows 10
*FvwmButtons: Columns 1
*FvwmButtons: Frame 0
*FvwmButtons: (1x1, Swallow "wmclockmon" "Exec exec wmclockmon -w -sc -s led1")
*FvwmButtons: (1x1, Padding 4 4, Swallow "wmifinfo" "Exec exec wmifinfo -i eth0")
*FvwmButtons: (1x1, Swallow "wmcpuload" "Exec exec wmcpuload -w")
# Urgent
DestroyFunc UrgencyFunc
AddToFunc UrgencyFunc
+ I Nop
Read windowdecors/brushedmetal/config