Skip to content

Instantly share code, notes, and snippets.

@Su-Shee
Created September 4, 2013 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Su-Shee/6439662 to your computer and use it in GitHub Desktop.
Save Su-Shee/6439662 to your computer and use it in GitHub Desktop.
ImagePath $[FVWM_USERDIR]/icons:+ \
:$[FVWM_USERDIR]/wallpaper:+ \
:$[FVWM_USERDIR]/buttons:+ \
:$[FVWM_USERDIR]/images:+
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Module FvwmPager 0 0
+ I Module FvwmButtons 0 0
+ I Module FvwmAuto 750
#+ I Module FvwmWinList 0 0
+ I Module FvwmBacker
+ I Exec exec fbsetroot -solid "#9a5e3d"
*FvwmBacker: Command (Desk 0, Page 0 0) -solid #9a5e3d
*FvwmBacker: Command (Desk 0, Page 0 1) -solid #7c8a3a
*FvwmBacker: Command (Desk 0, Page 0 2) -solid #999900
*FvwmBacker: Command (Desk 0, Page 0 3) -solid #993311
*FvwmBacker: Command (Desk 0, Page 0 4) -solid #666633
*FvwmBacker: Command (Desk 0, Page 0 5) -solid #662307
#Style fvwm-run-dialog FPGrabFocus, FPReleaseFocus
#Key R A 4 Exec exec $[FVWM_USERDIR]/run-dialog
Style Firefox* StartsOnPage 0 0, PositionPlacement +60+15, DecorateTransient
Style gimp* StartsOnPage 0 5, DecorateTransient
Style inkscape* StartsOnPage 0 5, DecorateTransient
Style epdfview* StartsOnPage 0 3, DecorateTransient
Style xpdf* StartsOnPage 0 3
Style pcmanfm* StartsOnPage 0 3
Style arduino* StartsOnPage 0 4
Style pidgin* StartsOnPage 0 5, StartsOnPageIncludesTransients
# virtual desktops
DesktopSize 1x6
Key F1 A M GotoPage 0 0
Key F2 A M GotoPage 0 1
Key F3 A M GotoPage 0 2
Key F4 A M GotoPage 0 3
Key F5 A M GotoPage 0 4
Key F6 A M GotoPage 0 5
Key Tab A M Next (AcceptsFocus !Shaded !Iconic CurrentPage) RaiseAndFocus
Key Tab A MS Prev (AcceptsFocus !Shaded !Iconic CurrentPage)
AddToFunc RaiseAndFocus
+ I Raise
+ I Focus
# click behavior
ClickTime 350
MoveThreshold 3
Style * SloppyFocus, MouseFocusClickRaises, FocusFollowsMouse
EwmhBaseStruts 10 10 10 10
Mouse 3 T A Function ToggleRollWindow
DestroyFunc RollUpWindowDestroyFunc ToggleRollWindow
AddToFunc ToggleRollWindow
+ C WindowShade toggle
#DestroyFunc MoveWindow
#AddToFunc MoveWindow
# + H Move
#Mouse 3 W P Function MoveWindow
#
#Menu:
MenuStyle * PopupDelayed, PopupDelay 300, PopdownImmediately
MenuStyle * PopupOffset -5 100, TitleWarpOff
MenuStyle * PopupAsSubmenu, HoldSubmenus, SubmenusRight
MenuStyle * VerticalItemSpacing 2 2, VerticalTitleSpacing 2 2
MenuStyle * Font "xft:Samanata:size=7:antialias=true"
MenuStyle * Foreground #7b1404, Background #e63317
MenuStyle * HilightBack #73041a, ActiveFore #f199aa
#MenuStyle * FlatSeparators
DestroyDecor MyDecor
AddToDecor MyDecor
+ BorderStyle Simple -- NoInset Flat
+ ButtonStyle 2 \
ActiveUp (Pixmap $[FVWM_USERDIR]/buttons/closebrown.png -- Flat) \
ActiveDown (Pixmap $[FVWM_USERDIR]/buttons/closebrown.png -- Flat) \
Inactive (Pixmap $[FVWM_USERDIR]/buttons/closebrownactive.png -- Flat)
+ ButtonStyle 4 \
AddToFunc RollUpWindow ActiveUp (Pixmap $[FVWM_USERDIR]/buttons/maxbrown.png -- Flat) \
ActiveDown (Pixmap $[FVWM_USERDIR]/buttons/maxbrown.png -- Flat) \
Inactive (Pixmap $[FVWM_USERDIR]/buttons/maxbrownactive.png -- Flat)
+ ButtonStyle All -- UseTitleStyle
+ TitleStyle LeftJustified Height 24
+ TitleStyle -- Flat
Mouse 1 4 N Maximize
Mouse 1 2 N Close
# Window Colorsets
Colorset 1 bg #e66117, fg #7b1404
Colorset 2 bg #9a4a3d, fg #f6a99c
Colorset 3 bg #9a5e3d, fg #f67662
#Style "*" RoundedCorners
Style "*" UseDecor MyDecor
Style "*" Font "xft:Samanata:size=7:antialias=true"
Style "*" BorderWidth 4, HandleWidth 4
Style "*" MWMBorder, FirmBorder
Style "*" BorderColorset 2
Style "*" Colorset 2
Style "*" HilightColorset 1
Style "*" HilightBorderColorset 1
Style "*" EdgeMoveDelay 150
Style "*" EdgeMoveResistance 100
Style "FvwmPager" !Title, !Handles, BorderWidth 2, Sticky, WindowListSkip, \
CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
+ C WindowShade onDestroyModuleConfig FvwmPager: *
*FvwmPager: Geometry 64x384+1516+20
*FvwmPager: SolidSeparators
*FvwmPager: Font None
*FvwmPager: Back #e63317
*FvwmPager: Fore #f67662
*FvwmPager: WindowBorderWidth 0
# FvwmButtons icon launcher:
DestroyFunc Launcher
AddToFunc Launcher
+ I DestroyModuleConfig $0Launch: *
+ I *$0Launch: Geometry 64x64
+ I *$0Launch: Columns 1
+ I *$0Launch: Rows 4
+ I *$0Launch: Frame 0
+ I *$0Launch: Back #7b2f04
+ I *$0Launch: (1x3+0+0, Padding 0 0, Frame 0, Icon $1, ActiveIcon $2, Action (Mouse 1) `Exec $3`)
+ I *$0Launch: (1x1+0+3, Font "xft:Samanata:size=6:antialias=true", Fore White, Back #e66117, Title $0, Action (Mouse 1) `Exec $3`)
+ I Style $0Launch HandleWidth 0, NoTitle, Sticky, CirculateSkip, BorderWidth 0
+ I Module FvwmButtons $4 $0Launch
Launcher inkscape flowerbrown.svg:-1+10@13 flower1brown.svg:-1+10@13 "/usr/local/bin/inkscape &" "-g +20+20"
Launcher gimp flowerbrown.svg:-1+10@13 flower1brown.svg:-1+10@13 "gimp-2.7 &" "-g +20+90"
Launcher office flowerbrown.svg:-1+10@13 flower1brown.svg:-1+10@13 "libreoffice &" "-g +20+160"
Launcher firefox flowerbrown.svg:-1+10@13 flower1brown.svg:-1+10@13 "~/bin/firefox.sh &" "-g +20+300"
Launcher xterm flowerbrown.svg:-1+10@13 flower1brown.svg:-1+10@13 "xterm -u8 -fa 'Droid Mono Sans' -fs 9 +dc -ls -bg black -fg white" "-g +20+370"
Launcher terminal flowerbrown.svg:-1+10@13 flower1brown.svg:-1+10@13 "terminal" "-g +20+440"
Style Clock !Title, !Handles, Sticky, WindowListSkip, CirculateSkip, BorderWidth 0, HandleWidth 1
DestroyModuleConfig Clock:*
*Clock: Geometry 220x60+20+820
*Clock: Rows 5
*Clock: Columns 3
*Clock: Frame0
*Clock: Back #73041a
*Clock: (3x1)
*Clock: (3x3, Center, Swallow xclock `Exec exec xclock -bg "#e66117" -fg "#ffffff" -digital -face 'Samanata:Bold:size=8:antialias=true:minspace=false' -strftime '%a, %d %b %Y %H:%M'`)
*Clock: (3x1)
Module FvwmButtons Clock
+ C ChangeDecor TintDecor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment