SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#76 2012-03-07 23:31:20

mahatman2
#! Die Hard
From: Chattanooga TN
Registered: 2009-09-13
Posts: 551

Re: The ultimate fvwm thread

^ That worked great, thanks! (Actually right after I posted this and was walking, I thought "Oh! I need an Exec in there! tongue )


Punch all your friends.

Offline

Help fund CrunchBang, donate to the project!

#77 2012-04-04 16:22:17

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,549

Re: The ultimate fvwm thread

Can the following functions be altered so that the window re-sizes incrementally, non-interactively  from the top or left sid of the active window?

AddToFunc ResizeWindowRight
+ I PipeRead "echo Resize $(($[cw.width] + 15))p keep"

AddToFunc ResizeWindowBottom
+ I PipeRead "echo Resize keep $(($[cw.height] + 15))p"

thanks.

Last edited by PackRat (2012-04-04 22:20:27)


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#78 2012-04-04 22:20:02

ThomasAdam
#! Member
Registered: 2009-10-30
Posts: 74

Re: The ultimate fvwm thread

PackRat wrote:

Can the following functions be altered so that the window re-sizes incrementally, non-interactively  from the top or left side:

I added support to Resize for "Direction" which does just this.  You don't need the function you're trying to fix up.

-- Thomas Adam

Offline

#79 2012-04-04 22:23:18

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,549

Re: The ultimate fvwm thread

I was using Resize Direction West and Resize Direction North but could not get it to resize in 10p increments; I was still having to use the enter key to stop resizing the window.

Last edited by PackRat (2012-04-05 01:16:06)


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#80 2012-04-07 22:07:57

ThomasAdam
#! Member
Registered: 2009-10-30
Posts: 74

Re: The ultimate fvwm thread

PackRat wrote:

I was using Resize Direction West and Resize Direction North but could not get it to resize in 10p increments; I was still having to use the enter key to stop resizing the window.

You can't without patching FVWM; will add such a patch next week to CVS to do this.

-- Thomas Adam

Offline

#81 2012-04-07 23:01:31

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,549

Re: The ultimate fvwm thread

Excellent.


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#82 2012-04-28 13:40:34

Iranon
#! Junkie
Registered: 2012-03-10
Posts: 259

Re: The ultimate fvwm thread

In the "Do you tile or stack?" thread,  several people asked for my FVWM configuration file. I'm afraid it's an awful mess unfit for public showing: whenever I plan to tidy things up I instead spend an afternoon tinkering and making it messier. Here's a slightly sanitised excerpt for window positioning via mouse gestures:

Mouse 3 T N StrokeFunc

Stroke 0 0 A A Maximize True Grow Grow
Stroke 654 0 A A ResizeMove Frame 50 100 0 0
Stroke 456 0 A A ResizeMove Frame 50 100 50 0
Stroke 852 0 A A ResizeMove Frame 100 50 0 0
Stroke 258 0 A A ResizeMove Frame 100 50 0 50
Stroke 1478963 0 A A ResizeMove Frame 50 100 25 0

Stroke 65456 0 A A ResizeMove Frame 75 100 0 0
Stroke 45654 0 A A ResizeMove Frame 75 100 25 0

Stroke 951 0 A A ResizeMove Frame 50 50 0 0
Stroke 753 0 A A ResizeMove Frame 50 50 50 0
Stroke 357 0 A A ResizeMove Frame 50 50 0 50
Stroke 159 0 A A ResizeMove Frame 50 50 50 50
Stroke 8525 0 A A ResizeMove Frame 50 50 25 0
Stroke 6545 0 A A ResizeMove Frame 50 50 0 25
Stroke 4565 0 A A ResizeMove Frame 50 50 50 25
Stroke 2585 0 A A ResizeMove Frame 50 50 25 50

Stroke 95123 0 A A ResizeMove Frame 75 50 0 0
Stroke 75321 0 A A ResizeMove Frame 75 50 25 0
Stroke 35789 0 A A ResizeMove Frame 75 50 0 50
Stroke 15987 0 A A ResizeMove Frame 75 50 25 50

Stroke 98741 0 A A ResizeMove Frame 25 50 0 0
Stroke 96321 0 A A ResizeMove Frame 25 50 25 0
Stroke 74123 0 A A ResizeMove Frame 25 50 50 0
Stroke 78963 0 A A ResizeMove Frame 25 50 75 0
Stroke 32147 0 A A ResizeMove Frame 25 50 0 50
Stroke 36987 0 A A ResizeMove Frame 25 50 25 50
Stroke 14789 0 A A ResizeMove Frame 25 50 50 50
Stroke 12369 0 A A ResizeMove Frame 25 50 75 50

Stroke 35741 0 A A ResizeMove Frame 25 100 0 0
Stroke 36951 0 A A ResizeMove Frame 25 100 25 0
Stroke 14753 0 A A ResizeMove Frame 25 100 50 0
Stroke 15963 0 A A ResizeMove Frame 25 100 75 0

Stroke 32587 0 A A ResizeMove Frame 25 50 0 25
Stroke 36547 0 A A ResizeMove Frame 25 50 25 25
Stroke 14569 0 A A ResizeMove Frame 25 50 50 25
Stroke 12589 0 A A ResizeMove Frame 25 50 75 25

I was pleasantly surprised that Drag-to-Edge functionality worked when naively appended to a Move function:


DestroyFunc TitleFunction
AddToFunc TitleFunction
+ C Focus
+ M Move
+ M Test (EdgeHasPointer North) TileUp
+ M Test (EdgeHasPointer West) TileLeft
+ M Test (EdgeHasPointer South) TileCent

DestroyFunc TileUp
AddToFunc TileUp
+ I All (!Focused) Maximize False
+ I ResizeMoveMaximize 100 50 0 0
+ I FvwmRearrange -tile -noraise 0 50 100 100

DestroyFunc TileLeft
AddToFunc TileLeft
+ I All (!Focused) Maximize False
+ I ResizeMoveMaximize 50 100 0 0
+ I FvwmRearrange -tile -h  -noraise 50 0 100 100

DestroyFunc TileCent
AddToFunc TileCent
+ I ResizeMoveMaximize 60 100 20 0
+ I All (!Focused) Maximize False
+ I FvwmRearrange -tile -mn 2 -noraise

I vaguely recall attempting proper dynamic tiling. My naive implementation interacted strangely with other stuff I did, so I read up something somewhere (FvwmPiazza?), emptied a bottle of whisky and improved on it until nothing worked any more. I should get back to it some time, with two bottles of whisky.


LEGO won't be ready for the average user until it comes pre-assembled, in a single  unified look, and glued together so it doesn't come apart.

Offline

#83 2012-08-04 14:03:56

rstrcogburn
CrunchRanger
From: NM - The Land of Enchantment
Registered: 2010-06-12
Posts: 1,950
Website

Re: The ultimate fvwm thread

FVWM 2.6.5 Squeeze/Statler

fvwm_2.6.5-1_i386.changes
fvwm_2.6.5-1_i386.deb
fvwm_2.6.5-1.debian.tar.gz
fvwm_2.6.5-1.dsc
fvwm_2.6.5.orig.tar.gz

Here's some new FVWM packages for yall.

Last edited by rstrcogburn (2012-08-05 04:39:33)


Pack em in snow!

Offline

#84 2012-08-05 04:39:00

rstrcogburn
CrunchRanger
From: NM - The Land of Enchantment
Registered: 2010-06-12
Posts: 1,950
Website

Offline

#85 2012-08-05 08:02:40

GamBit
#! CrunchBanger
From: Vienna/Austria
Registered: 2012-07-22
Posts: 104

Re: The ultimate fvwm thread

FVWM is new to me.

I found a screenshot at fvwm.org.
screenshot.png
with the comment

Submitted by Christine (pebcak/saigo) Christine says:
Untitled is something I came up with, when someone in #fvwm started to ask for "tabs" like they are used in chromium. I like to have a lot of informations on display, so I added the "statusbar".

Does this mean, that is possible to have every window in fvwm in fullscreen and switching them with tabs?

Offline

#86 2012-08-05 10:50:40

Iranon
#! Junkie
Registered: 2012-03-10
Posts: 259

Re: The ultimate fvwm thread

If I understand you correctly...

yes, with a little work. FVWM is quite workflow-agnostic, it's better at doing what you tell it to do than guessing what you want.
FvwmTabs  has some annoying interface limitations but it lets you put arbitrary windows into one tabbed one. And of course you can do anything with FvwmTabs that you could do with other windows - maximize it, define styles (like !title, !borders) and so on.

Personally I'd use something else if I just wanted a full-screen mode for everything with a little fluff for easy switching.


LEGO won't be ready for the average user until it comes pre-assembled, in a single  unified look, and glued together so it doesn't come apart.

Offline

#87 2012-09-02 02:52:29

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,549

Re: The ultimate fvwm thread

@rooster

the config files you requested:

window decor:

############################################
# Configuration File for Windows
############################################
DestroyDecor SlateDecor
AddToDecor   SlateDecor

## # Window frame and font color -- for reasons I do not know ###
Style * Color #929292/#383838, HilightBack #383838, HilightFore #E3E3E3
Style "*" Font "Shadow=0 0 SE:xft:Droid Sans Serif:style=Bold:size=9:antialias=true:hinting=slight"

+ BorderStyle Active Simple
+ BorderStyle Inactive Simple
Style "*" HandleWidth 3
Style "*" Borderwidth 3
Style "*" FvwmBorder, FirmBorder
#+ BorderStyle Active -- HiddenHandles NoInset
#+ BorderStyle Inactive -- HiddenHandles NoInset

### Window Titlebars
+ TitleStyle LeftJustified Height 20
+ TitleStyle ActiveUp (HGradient 1200 2 #383838 50 #BCB5EB 50 #6A5ACD)
+ TitleStyle ActiveDown (HGradient 1200 2 #6A5ACD 50 #BCB5EB 50 #383838)
# + TitleStyle Inactive (fg #929292, bg #383838)
+ TitleStyle Inactive (HGradient 1200 2 #383838 50 #606e61 50 #161916)

### pixmap buttons
##################################################

+ AddButtonStyle 1 ActiveUp 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
+ AddButtonStyle 1 ActiveDown 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
+ AddButtonStyle 1 InActive 5 45x45@1 55x45@1 55x55@0 45x55@0 45x45@1

+ AddButtonStyle 2 ActiveUp 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
+ AddButtonStyle 2 ActiveDown 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
+ AddButtonStyle 2 InActive 5 45x45@1 55x45@1 55x55@0 45x55@0 45x45@1

+ AddButtonStyle 4 ActiveUp 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
+ AddButtonStyle 4 ActiveDown 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
+ AddButtonStyle 4 InActive 5 45x45@1 55x45@1 55x55@0 45x55@0 45x45@1

+ AddButtonStyle 6 ActiveUp 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
+ AddButtonStyle 6 ActiveDown 5 40x25@1 60x25@1 60x75@0 40x75@0 40x25@1
+ AddButtonStyle 6 InActive 5 45x45@1 55x45@1 55x55@0 45x55@0 45x45@1

# Mouse Bindings

Mouse 1    2    A    Close
Mouse 1    4    A    FvwmMaximize
Mouse 1    6    A    Iconify
# Mouse 1    6    A    Thumbnail

Mouse 2    2    A    FvwmDeleteOrDestroy
Mouse 2    4    A    Maximize 100 0
Mouse 2    6    A    Menu MenuFvwmWindowOps Nop

Mouse 3 2    A    Destroy
Mouse 3    4    A    Maximize 0 100
Mouse 3    6    A    FvwmIdent

Mouse 1    1    A    Menu MenuFvwmWindowOps Nop
Mouse 2    1    A    FvwmWindowShade
Mouse 3    1    A    Close

Style * UseDecor SlateDecor

the modules for the FvwmButtons taskbar:

SetEnv FVWM_TB_HEIGHT 24

Style FvwmTaskBar*    !Title, !Handles, Borderwidth 1, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnTop
Style FvwmWinList*    !Title, !Handles, Borderwidth 1, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom
Style FvwmIdent*    !Title, !Handles, Borderwidth 2, !Button 2, !Button 4, !Button 6
Style FvwmPager*    !Title, !Handles, Borderwidth 1, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom
Style FvwmIconMan !Title, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, StaysOnTop
Style FvwmButtons !Title, !Handles, BorderWidth 1, CirculateSkip, Sticky, WindowListSkip, StaysOnTop, NeverFocus
Style FvwmIconBar !Title, !Handles, !Borders, CirculateSkip, Sticky, WindowListSkip, StaysOnTop, NeverFocus

DestroyModuleConfig FvwmPager: *
*FvwmPager: DeskTopScale 20
*FvwmPager: Geometry +12+12
*FvwmPager: WindowBorderWidth 0.3
#*FvwmPager: Fore #D09D25
*FvwmPager: Colorset * 9
*FvwmPager: HilightColorset * 10
*FvwmPager: WindowColorsets 11 12
*FvwmPager: Font none
#*FvwmPager: SmallFont "xft:Sans:style=Regular:pixelsize=9:antialias=True"
*FvwmPager: Balloons
*FvwmPager: BalloonColorset * 5
# *FvwmPager: BalloonFont "xft:Sans:style=Regular:pixelsize=8:antialias=True"
*FvwmPager: BalloonFont "Shadow=0 0 SE:xft:123:style=regular:pixelsize=10:antialias=true:hinting=slight"
*FvwmPager: BalloonYOffset +2
*FvwmPager: BalloonBorderWidth 0
*FvwmPager: BalloonFore #1F1F1F
*FvwmPager: BalloonBack #E5E5E5
*FvwmPager: UseSkipList
# *FvwmPager: SolidSeparators
# *FvwmPager: NoSeparators
*FvwmPager: ShapeLabels
*FvwmPager: MiniIcons
*FvwmPager: MoveThreshold 5

# FvwmIconMan
#===========================================================
DestroyModuleConfig FvwmIconMan
*FvwmIconMan: Title ""    
*FvwmIconMan: NumManagers 1
#=============================================================
# stand alone
#*FvwmIconMan: ManagerGeometry 0x1+0+0
#*FvwmIconMan: ButtonGeometry 200x22
# taskbar
*FvwmIconMan: ManagerGeometry 1X1
*FvwmIconMan: ButtonGeometry 1x$[FVWM_TB_HEIGHT]
#==============================================================
*FvwmIconMan: MaxButtonWidth 200
*FvwmIconMan: Font "Shadow=0 0 SE:xft:Sans:style=Bold:size=9:antialias=true:hinting=slight"
*FvwmIconMan: Format "%c: %i"
*FvwmIconMan: FollowFocus true
*FvwmIconMan: DontShow icon=Untitled resource=Untitled
*FvwmIconMan: Resolution page
*FvwmIconMan: ShowOnlyIcons false
*FvwmIconMan: DrawIcons false
*FvwmIconMan: ShowOnlyFocused false
*FvwmIconMan: ShowTransient false
*FvwmIconMan: Sort id
*FvwmIconMan: UseWinList true
*FvwmIconMan: ReliefThickness 0
*FvwmIconMan: Tips Always
*FvwmIconMan: TipsDelays 1000 300
*FvwmIconMan: TipsFont "Shadow=0 0 SE:xft:123:style=regular:pixelsize=10:antialias=true:hinting=slight"
# *FvwmIconMan: TipsFont "xft:Envy Code R:style=regular:pixelsize=10"
*FvwmIconMan: TipsFormat "%i"
*FvwmIconMan: TipsBorderWidth 0
*FvwmIconMan: TipsColorset 3
*FvwmIconMan: TipsJustification center
#======================================================================
#*FvwmIconMan: Background  #C7C7C7
#*FvwmIconMan: Foreground  #010101
#*FvwmIconMan: IconButton                up            #010101 #C7C7C7
#*FvwmIconMan: PlainButton                up            #E4E4E4 #5697B2
#*FvwmIconMan: SelectButton                up             #E4E4E4 #5697b2
#*FvwmIconMan: FocusButton                down         #E4E4E4 #5BB0AA
#*FvwmIconMan: FocusAndSelectButton        up            #E4E4E4 #5BB0AA
#======================================================================

*FvwmIconMan: IconButton flat
*FvwmIconMan: PlainButton flat
*FvwmIconMan: SelectButton up
*FvwmIconMan: FocusButton up
*FvwmIconMan: FocusAndSelectButton up
*FvwmIconMan: Colorset 7
*FvwmIconMan: PlainColorset 7
*FvwmIconMan: FocusColorset 8
*FvwmIconMan: IconColorset 7
*FvwmIconMan: SelectColorset 8
*FvwmIconMan: FocusAndSelectColorset 9
#======================================================================
*FvwmIconMan: Action    Mouse 1 N sendcommand FvwmDeiconifyRaiseAndFocus
*FvwmIconMan: Action    Mouse 2 N sendcommand 'WindowShade toggle'
*FvwmIconMan: Action    Mouse 3 N sendcommand "Iconify"
*FvwmIconMan: Action    Mouse 2 M SendCommand Close
#=======================================================================

KillModule FvwmIconcar
DestroyModuleConfig FvwmIconbar: *
*FvwmIconbar: Colorset 7
*FvwmIconbar: Font "xft:Sans:Style=Bold:pixelsize=12:antialias=true:hinting=slight"
*FvwmIconbar: BoxSize smart
*FvwmIconbar: Frame 1
*FvwmIconbar: Padding 1 1
#*FvwmIconbar: Columns $[vp.width]
#*FvwmIconbar: Rows 1
PipeRead 'echo SetEnv pager.width $(( $[desk.pagesx]*$[vp.width]*$[FVWM_TB_HEIGHT]/$[vp.height] ))'
PipeRead 'echo SetEnv xclock.width $(( 3*$[FVWM_TB_HEIGHT] ))'
PipeRead 'echo SetEnv xystray.width $(( 4*$[FVWM_TB_HEIGHT] ))'
PipeRead 'echo SetEnv stalonetray.width $(( 4*$[FVWM_TB_HEIGHT] ))'
# PipeRead 'echo SetEnv iconman.width $(( $[vp.width]- $[FVWM_TB_HEIGHT] - $[pager.width] - $[xclock.width] - $[xystray.width] ))'
# PipeRead 'echo SetEnv iconman.width $(( $[vp.width]- $[pager.width] - $[xclock.width] - $[xystray.width] ))'
PipeRead 'echo SetEnv iconman.width $(( $[vp.width]- $[FVWM_TB_HEIGHT] - $[pager.width] - $[xclock.width] ))'
*FvwmIconbar: (Frame 0 Padding 1 1 Container(Rows 1 Columns $[vp.width], Frame 1, Padding 0 0)
*FvwmIconbar: ($[pager.width]x1, Frame 0, Padding 1 1, Swallow (SwallowNew) FvwmPager 'FvwmPager *')
*FvwmIconbar: ($[iconman.width]x1, Frame 0, Padding 1 1, Swallow (SwallowNew) FvwmIconMan 'FvwmIconMan')
*FvwmIconBar: ($[stalonetray.width]x1, Frame 0, Padding 1 1, Swallow (NoClose,UseOld) "stalonetray" `Exec exec stalonetray`) 
*FvwmIconbar: ($[xclock.width]x1, Frame 0, Padding 2 2, Swallow (UseOld,NoHints,ReSpawn) "xclock" `Exec exec xclock -bg rgb:3C/3C/3C -fg rgb:E3/E3/E3 -digital -twentyfour -strftime "%k:%M" -face "Inconsolata-12:bold" -padding 0`)

the .stalonetrayrc so the tray works with FvwmButtons:

# config file 10 June 2012
decorations none
background rgb:3C/3C/3C
grow_gravity W
icon_gravity E
icon_size 22
kludges force_icons_size
scrollbars none
sticky true
window_type normal
no_shrink true

and a very messy config:

# Configuration for Fvwm
# Created 2 Feb. 2012
#=======================================================================
# Alt-Tab Window Switching
SetEnv DIR Next
ImagePath $[FVWM_USERDIR]/icons/
# ModulePath /usr/lib/fvwm/2.6.4:$[FVWM_USERDIR]/modules
ModulePath +:$[FVWM_USERDIR]/modules
SetEnv fvwm_temp $[FVWM_USERDIR]/temp
SetEnv fvwm_browser firefox-browser
SetEnv fvwm_mail thunderbird
SetEnv fvwm_filemanager pcmanfm
SetEnv fvwm_terminal sakura
SetEnv fvwm_editor geany
SetEnv fvwm_art gimp
SetEnv fvwm_windecs $[FVWM_USERDIR]/pixmaps
SetEnv fvwm_scripts $[FVWM_USERDIR]/bin
SetEnv fvwm_wallpaper $[HOME]/wallpaper

Test (EnvMatch LANG *.UTF-8)    SetEnv FVWM_FLAG_UTF_8 1
Test (EnvMatch LANG *.utf-8)    SetEnv FVWM_FLAG_UTF_8 1
Test (EnvMatch LANG *.UTF8)    SetEnv FVWM_FLAG_UTF_8 1

SetEnv FVWM_TB_HEIGHT 24
SetEnv PANEL_HEIGHT 20

# EwmhBaseStruts 0 0 0 $[FVWM_TB_HEIGHT]
EwmhBaseStruts 4 4 28 20
Emulate FVWM
DefaultLayers 0 4 6
IgnoreModifiers L25
EWMHUseStackingOrderHints
ClickTime 220
EdgeScroll 0 0
EdgeThickness 0
EdgeResistance 800 20
EdgeCommand Left nop
SnapAttraction 3
SnapGrid 2 2
XorValue 55555
# OpaqueMoveSize -1
OpaqueMoveSize 7
HideGeometryWindow Move, Resize
BugOpts FlickeringMoveWorkaround True
ColorMapFocus  FollowsMouse
SetAnimation  10  -.01 0 .01 .03 .08 .18 .3 .45 .6 .75 .85 .90 .94 .97 .99 1.0
BusyCursor DynamicMenu True, Read True

# Two pages, one desktop
# DeskTopSize 2x2
# DeskTopSize 3x3
DeskTopSize 4x1

# Two desktops
#DeskTopSize 1x1
#EwmhNumberOfDesktops 2

CursorStyle root left_ptr
CursorStyle default left_ptr
CursorStyle position left_ptr
CursorStyle sys left_ptr
CursorStyle menu left_ptr
CursorStyle title left_ptr
CursorStyle resize fleur
CursorStyle stroke cross
CursorStyle select draped_box

Style * IndexedWindowName
#Style * SloppyFocus
#Style * MouseFocusClickRaises
Style * ClickToFocus
Style * TileCascadePlacement
Style * DecorateTransient
Style * WindowShadeSteps 20, WindowShadeScrolls
# Style * FPGrabFocusOff
Style * FPGrabFocus
Style * FPReleaseFocus
Style * FPGrabFocusTransientOff
Style * !AllowMaximizeFixedSize
Style * IndexedIconName
Style * HintOverride
Style * ResizeHintOverride
Style * ResizeOpaque
# Style * MWMFunctions, MWMDecor, MWMButtons, MWMBorder
Style * FvwmButtons, FvwmBorder
Style * !UsePPosition
Style * MinOverlapPlacement

Style *lock !Title, !Handles, !Borders, Sticky, WindowListSkip, NeverFocus
Style conky* !Title, !Borders, Sticky, NeverFocus, StaysOnBottom, Nohandles
Style Conky* !Title, !Borders, Sticky, NeverFocus, StaysOnBottom, Nohandles
Style dzen2 !Title, !Borders, Sticky, NeverFocus, StaysOnBottom, Nohandles
Style tint2 !Title, !Borders, Sticky, StaysObBottom, NoHandles, ClickToFocus
Style trayer !Title, !Borders, Sticky, StaysObBottom, NoHandles, WindowListSkip, CirculateSkip, NeverFocus
Style stalonetray !Title, !Handles, !Borders, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom
Style Xystray !Title, !Borders, StaysOnBottom, Sticky, NoHandles, WindowListSkip

Style "Navigator"        !Title, State 3, StartsOnPage 0 2 0, SkipMapping
Style "Mail"            !Title, State 3, StartsOnPage 0 2 0, SkipMapping
Style "Msgcompose"        !Title, SkipMapping
Style "gimp"            !Title, State 2, StartsOnPage 0 1 0, SkipMapping

Style *            MiniIcon application.png
Style "XTerm"        MiniIcon terminal.png
Style "UXTerm"        MiniIcon terminal.png
Style "urxvt*"        MiniIcon terminal.bx2.xpm
Style "MPlayer"        MiniIcon mplayer_.xpm

#=================== COLORSETS ========================================#

Colorset 0 fg #000000, bg #EFEFEF
Colorset 1 fg #E2E2E2, bg #2A2A2A
Colorset 2 fg #686868, bg #2A2A2A

# Menu
Colorset 3 fg #383838, bg #E5E5E5
Colorset 4 fg #1F1F1F, bg #A1BBD3

# BlueStiple Decor
Colorset 5 fg #F0F0F0, bg #5B85B0
Colorset 6 fg #B0B0B0, bg #2C2C34

# Modules
# Colorset 7 fg #FFFFFF, VGradient 1000 2 #5C5C5C 50 #4A4A4A 50 #3D3D3D
# Colorset 7 fg #929292, VGradient 800 #C9C9C9 #BFBFBF
#Colorset 7 fg #929292, VGradient 1000 #383838 #404040
Colorset 7 fg #929292, VGradient 1000 #424242 #383838
# Colorset 8 fg #0F0F0F, VGradient 800 #C9C9C9 #BFBFBF
#Colorset 8 fg #E3E3E3, VGradient 1000 #383838 #404040
Colorset 8 fg #E3E3E3, VGradient 1000 #424242 #383838
Colorset 9 fg #000000, bg #505050

# Colorset 10 fg #444444, bg #000000, RootTransparent buffer, Tint #CCCCDA 25
Colorset 10 fg #303344, bg #D0DDED
Colorset 11 fg #d3d3d3, bg #B0DEC8
Colorset 12 fg #d3d3d3, bg #B7B7E3

# Window decoration
Colorset 13 fg #010101, VGradient 1000 #C9C9C9 #B5B5B5
Colorset 14 fg #D6D6D6, VGradient 1000 #393939 #454545
Colorset 15 fg #696969, bg #E5E5E5
Colorset 16 fg #1F1F1F, bg #A1BBD3

# Modules
Colorset 17 fg #A0A0A0, VGradient 1000 #393939 #454545
Colorset 18 fg #C0C0C0, VGradient 800 #303334 #303334
Colorset 19 fg #9DA6D6, VGradient 800 #303334 #303334
Colorset 20 fg #D6D6D6, VGradient 1000 #393939 #454545
Colorset 21 fg #C9C9C9, VGradient 800 #C9C9C9 #BFBFBF

#=======================================================================

#Default Font
Style * Font -xos4-terminus-medium-r-normal-*-12-120-*-*-*-*-iso8859-1
DefaultColorset 2

#+ BorderStyle Active -- HiddenHandles NoInset
#+ BorderStyle Inactive -- HiddenHandles NoInset

# Start The Show
#======================================================================
Read FvwmFunction
Read FvwmAdvancedFunction
Read FvwmModules
Read ConfigFvwmTabs
Read TabsModule
Read FvwmKeys
Read FvwmMouse
Read FvwmMenu
#=======================================================================
# Pick a Style                                                     #####
#=======================================================================
# Read NoTitleTrace
# Read BlueStipple
# Read fboxgray
# Read TraceDecor
Read SlateDecor
# Read ElfinDecor
# Read OscuraDecor
# Read DandelionDecor
# Read DecorBlackBar
# Read ChokeDecor
# Read LactusDecor
# Read SandDecor

DestroyFunc StartFunction
AddToFunc StartFunction
# load fvwm modules
+ I Module FvwmEvent
+ I Module FvwmCommandS
+ I Module FvwmRearrange
+ I Module FvwmAnimate
+ I Module FvwmPerl
+ I Module FvwmTabs
# + I Module FvwmPager
# + I Module FvwmIconMan
# + I Module FvwmWinList
# + I Module FvwmButtons FPagerBar
# + I Module FvwmButtons FvwmClock
+ I Module FvwmButtons FvwmIconBar -g $[vp.width]x$[FVWM_TB_HEIGHT]+0+0

# ===========================================
+ I Test Exec exec xset s off
+ I Test Exec exec xset b 33
+ I Test (Restart) Beep
+ I Test Exec exec urxvtd -q -f -o
+ I Test (Init) Exec exec hsetroot -center /home/doug/wallpaper/fvwmwp
# + I Test (Init) Exec exec $[fvwm_scripts]/fvwmtray.sh
+ I Test (Init) Exec exec /home/doug/conky/ConkyFvwm.sh
+ I Test (Init) Exec exec update-notifier
#====================================================
+ I Test (Restart) All (Iconic) Test (f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png

DestroyFunc ExitFunction
AddToFunc   ExitFunction
+ I Exec exec killall conky
+ I Exec exec killall tint2
+ I Test (!ToRestart) Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*

# EOF ==============================================================

enjoy


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#88 2012-09-02 03:31:51

rstrcogburn
CrunchRanger
From: NM - The Land of Enchantment
Registered: 2010-06-12
Posts: 1,950
Website

Re: The ultimate fvwm thread

@packrat

Thanks for the new toys.


Pack em in snow!

Offline

#89 2013-01-02 13:21:59

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 636

Re: The ultimate fvwm thread

I came across this youtube vid that showes a tiling window mode for fvwm
http://www.youtube.com/watch?v=xdSgf-IykIo
there is a link below the vid for the files
what do you make of it?
the link to the github files
https://github.com/urob/fvwm-tiling

Last edited by Resident Bot (2013-01-02 13:23:18)


Troll = not a fanatic
slave of #!  and arch

Offline

#90 2013-01-02 13:31:40

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,549

Re: The ultimate fvwm thread

^ I tried that. It works really well.

There is also FvwmPiazza if you want tiling.


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#91 2013-01-20 04:28:19

rstrcogburn
CrunchRanger
From: NM - The Land of Enchantment
Registered: 2010-06-12
Posts: 1,950
Website

Re: The ultimate fvwm thread

I've got an fvwm repo up for any debian deriv with 2.6.5, both architectures

deb http://dl.dropbox.com/u/17828753/bbq brisket main
deb-src http://dl.dropbox.com/u/17828753/bbq brisket main

apt-key

http://dl.dropbox.com/u/17828753/bbq/co … ogburn.key

(you probably know but use "sudo apt-key add rstrcogburn.key")


Pack em in snow!

Offline

#92 2013-02-08 00:12:13

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,549

Re: The ultimate fvwm thread

Anyone aware of a way to center justify the text on the FvwmIconMan buttons?

I'm pretty sure it can't be done, but you never know.

And a screenshot just because:

abloHIZ6.jpg

Last edited by PackRat (2013-02-08 00:12:30)


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#93 2013-04-12 18:45:54

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,549

Re: The ultimate fvwm thread

@rkwurth

here you go - a bit messy, but should be decipherable.

Images of the two setups I use with Fvwm - one a more traditional looking taskbar and the other with the same modules moved around a bit. One is using thumbnails for iconified windows, the other icons. Both use stalonetray as the system tray, the conky is whatever you need it to be:

adh0lcGn.jpg  aciGNMwz.jpg

and the configuration files:

config:

# Alt-Tab Window Switching
SetEnv DIR Next
ImagePath +:$[FVWM_USERDIR]/pixmaps/
ModulePath +:$[FVWM_USERDIR]/modules
SetEnv fvwm_temp $[FVWM_USERDIR]/temp
SetEnv fvwm_browser firefox
SetEnv fvwm_mail thunderbird
SetEnv fvwm_filemanager thunar
SetEnv fvwm_terminal urxvtc
SetEnv fvwm_editor medit
SetEnv fvwm_art gimp
SetEnv fvwm_scripts $[FVWM_USERDIR]/bin
SetEnv fvwm_wallpaper $[HOME]/wallpaper
SetEnv fvwm_themes $[FVWM_USERDIR]/themes

Test (EnvMatch LANG *.UTF-8)	SetEnv FVWM_FLAG_UTF_8 1
Test (EnvMatch LANG *.utf-8)	SetEnv FVWM_FLAG_UTF_8 1
Test (EnvMatch LANG *.UTF8)	SetEnv FVWM_FLAG_UTF_8 1

SetEnv FVWM_TB_HEIGHT 24

EwmhBaseStruts 2 2 2 24
Emulate FVWM
DefaultLayers 0 4 6
IgnoreModifiers L25
EWMHUseStackingOrderHints
ClickTime 220
EdgeScroll 0 0
EdgeThickness 0
EdgeResistance 800 20
EdgeCommand Left nop
SnapAttraction 3
SnapGrid 2 2
XorValue 55555
# OpaqueMoveSize -1
OpaqueMoveSize 7
HideGeometryWindow Move, Resize
BugOpts FlickeringMoveWorkaround True
SetAnimation  10  -.01 0 .01 .03 .08 .18 .3 .45 .6 .75 .85 .90 .94 .97 .99 1.0
BusyCursor DynamicMenu True, Read True

# Focus Style
Style * SloppyFocus
Style * MouseFocusClickRaises
ColorMapFocus  FollowsMouse
# Style * ClickToFocus

CursorStyle root left_ptr
CursorStyle default left_ptr
CursorStyle position left_ptr
CursorStyle sys left_ptr
CursorStyle menu left_ptr
CursorStyle title left_ptr
CursorStyle resize fleur
CursorStyle stroke cross
CursorStyle select draped_box

Style * IndexedWindowName
Style * TileCascadePlacement
Style * DecorateTransient
Style * WindowShadeSteps 20, WindowShadeScrolls
# Style * FPGrabFocusOff
Style * FPGrabFocus
Style * FPReleaseFocus
Style * FPGrabFocusTransientOff
Style * !AllowMaximizeFixedSize
Style * IndexedIconName
Style * HintOverride
Style * ResizeHintOverride
Style * ResizeOpaque
Style * MWMFunctions
Style * MWMDecor
Style * HintOverride
Style * OLDecor
Style * FvwmButtons, FvwmBorder
Style * !UsePPosition
Style * MinOverlapPlacement

Style *sview !Title, Sticky, WindowListSkip, NeverFocus, StaysOnBottom
Style *lock !Title, Sticky, WindowListSkip, NeverFocus, StaysOnBottom
Style conky* !Title, Sticky, NeverFocus, StaysOnBottom
Style Conky* !Title, Sticky, NeverFocus, StaysOnBottom
Style ConkyTao* !Title, !Handles, !Borders, Sticky, NeverFocus, StaysOnBottom, WindowListSkip
Style dzen2 !Title, !Borders, Sticky, NeverFocus, StaysOnBottom, !Handles
Style tint2 !Title, !Borders, Sticky, StaysOnBottom, NoHandles, ClickToFocus
Style stalonetray !Title, !Handles, !Borders, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom

Style urxvt Icon $[FVWM_USERDIR]/pixmaps/XTerminal.xpm
Style xterm Icon $[FVWM_USERDIR]/pixmaps/XTerminal.xpm
Style Uxterm Icon $[FVWM_USERDIR]/pixmaps/XTerminal.xpm
Style UXTerm Icon $[FVWM_USERDIR]/pixmaps/XTerminal.xpm
Style FvwmConsole Icon $[FVWM_USERDIR]/pixmaps/XTerminal.xpm

# DeskTopSize 2x2
# DeskTopSize 3x3
# Inline pager for FvwmButtons Taskbar
DeskTopSize 4x1

# Two desktops
# DeskTopSize 1x1
# EwmhNumberOfDesktops 4

# -- order is critical to get theme elements correct -- #

Read Colors
Read Functions
Read AppFunctions
Read Menu

# --- Window Decor --- #
# Read WindowDec
# Read SlateDecor
# Read WindecAlpha
# Read WindecBeta
# Read WindecGamma
Read FrenchDecor
# Read UbuntuDecor
# -------------------- #

Read Modules
Read InlinePanel
Read ModularDesktop

# --- Bindings last --- #
Read Mouse
Read Keys

DestroyFunc StartFunction
AddToFunc StartFunction
# load fvwm modules
+ I Module FvwmEvent
+ I Module FvwmCommandS
+ I Module FvwmRearrange
+ I Module FvwmAnimate
+ I Module FvwmPerl
+ I Schedule 500 Module FvwmEvent
# + I Module FvwmTabs
# + I Module FvwmWinList
# + I Module FvwmPager
# + I Module FvwmIconMan
#==================================#
+ I Module FvwmButtons InlinePanel -g $[vp.width]x$[FVWM_TB_HEIGHT]+0+0
#
# Modular
#+ I FvwmButtons PagerButtons -g $[PagerButtons_Width]x$[PagerButtons_Height]+4+4
#+ I FvwmButtons TrayButtons
#+ I FvwmButtons InlineTaskManager -g 854x$[PagerButtons_Height]+256+4

+ I Test (Init) Exec exec fbsetbg -c -r "$HOME/wallpaper/" &
+ I Test (Init) Exec exec nm-applet &
+ I Test (Init) Exec exec update-notifier &
+ I Test Exec exec "$HOME/bin/ConkyFvwm.sh" &
+ I Test (Restart) All (Iconic) Test (f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png

DestroyFunc ExitFunction
AddToFunc   ExitFunction
+ I Exec exec killall conky
# + I Exec exec killall stalonetray
+ I Test (!ToRestart) Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*

# EOF ==============================================================

and files read by config:

Colors:

CleanupColorsets
DefaultColors #0B0B0B, #E5E5FF

Colorset 0 fg #000000, bg #FFFFFF

# Menu
# Colorset 1 fg #50534A, bg #D9CEB6
Colorset 1 fg #50534A, bg #E6E5E1
Colorset 2 fg #DAC79C, bg #50534A

Colorset 3 fg #000000, bg #EEECE9
Colorset 4 fg #000000, bg #F0E7D8

# Ballon help 
Colorset 5 fg #F5F5F5, bg #4B3621
Colorset 6 fg #0B0B0B, bg #A67B5B

# Inline Pager and Iconbar/IconMan; FvwmPager FvwmIconMan
Colorset 7 fg #929292, VGradient 1000 #424242 #383838
Colorset 8 fg #E3E3E3, VGradient 1000 #424242 #383838
Colorset 9 fg #000000, bg #505050
# Colorset 10 fg #444444, bg #000000, RootTransparent, buffer, Tint #CCCCDA 25
Colorset 10 fg #303344, bg #D0DDED
Colorset 11 fg #d3d3d3, bg #B0DEC8
Colorset 12 fg #d3d3d3, bg #B7B7E3

# FvwmTaskBar
Colorset 13 fg #E5E5FF, bg #C6C3C6 sh #000000, hi #000000

# Examples for transparency
# Colorset 14 fg black, bg white, NoShape, RootTransparent Buffer, Tint #5a8ade 60
# Colorset 15 fg black, bg white, NoShape, RootTransparent Buffer, Tint #f6f6f6 20

# Window Decor (Normal=14 and highlight=15) for WindecAlpha fg=text bg=border of buttons sh=background of buttons hi=background of mwm hint buttons
Colorset 14 fg #F5F5F5, bg #303334, sh #030303, hi #2e2e2e
Colorset 15 fg #A0A0A0, bg green, sh #030303, hi #3e3e3e

# Border colorsets (normal and highlight)
Colorset 16 bg #303334
Colorset 17 bg #4B6D4A

# Vector button colors
# Normal (=18) and Highlight (=19) Colorset:
# fg is color of font in window decor, bg is border of buttons in window decor
# sh is background of buttons in window decor, hi is background of buttons
# in window decor which have a mwm hint (eg max buttong when being maximized)
Colorset 18 fg #A0A0A0, bg #3B3F40, sh #3B3F40, hi #3B3F40
Colorset 19 fg #0C0C0C, bg #4F4F4F, sh #D5D5D5, hi #D5D5D5

Colorset 20 fg #A0A0A0, bg #375159, sh #375159, hi #375159
Colorset 21 fg #E2E2E2, bg #E2E2E2, sh #363636, hi #363636

# UbuntuDecor Borders
Colorset 22 bg #3C3B37
Colorset 23 bg #A89A78
Colorset 24 fg #E5E5E5, bg #6E6C66

Colorset 25 bg #202020
Colorset 26 bg #A52A2A

# FvwmTaskBar
Colorset 27 fg #0C0C0C, bg #E6E5E1, RootTransparent buffer, Tint #DEDDD9 30
Colorset 28 fg #3B392C, bg #C6C3C6 sh black, hi black, RootTransparent buffer, Tint #D0C496 75
Colorset 29 fg #3B392C, bg #C6C3C6 sh black, hi black, RootTransparent buffer, Tint #E6E5E1 75


Colorset 30 fg #ADACA9, VGradient 1000 #E6E5E1 #EEECE9
Colorset 31 fg #0C0C0C, VGradient 1000 #E6E5E1 #EEECE9
Colorset 32 fg #0C0C0C, VGradient 1000 #E6E5E1 #EEECE9
Colorset 33 fg #0C0C0C, VGradient 1000 #DEDDD9 #CFCECA
Colorset 34 fg #0E0E0E, bg #E0E0E0, sh black, hi black, RootTransparent buffer, Tint #CFCFCA 66
Colorset 35 fg #0E0E0E, bg #E0E0E0, sh black, hi black, RootTransparent buffer, Tint #DEDDD9 50

# ----------------------- EOF --------------------------------------------------------#

Functions

#============================FvwmFunctions 2 Feb. 2012 ================#
#
# DestroyFunc FuncName
# AddToFunc   FuncName
# + I (Action to happen immediately)
# + C (Action to happen on a mouse 'click')
# + D (Action to happen on a mouse 'double click')
# + H (Action to happen on a mouse 'hold')
# + M (Action to happen on a mouse 'motion')
#
###########

# Fvwm mouse bindings 12 May 2012
#
# R - the root window, I - Icon, F - frame corners, S - frame sides, T - title bar, 
# W - application window and 0-9 - buttons.
# Note that A will stand for anywhere, i.e. it doesn't matter where the mouse is located.
#======================================================================##
DestroyFunc FvwmMaximize
AddToFunc   FvwmMaximize
+ H Nop
+ M Nop
+ C Maximize $0 $1

DestroyFunc FvwmVMaximize
AddToFunc FvwmVMaximize
+ H Nop
+ M Nop
+ C Maximize 0 100

DestroyFunc FvwmHMaximize
AddToFunc FvwmHMaximize
+ H Nop
+ M Nop
+ C Maximize 100 0

DestroyFunc FuncFvwmMoveOrRaise
AddToFunc FuncFvwmMoveOrRaise
+ I Raise
+ M Move
+ D Lower

DestroyFunc FuncFvwmMaximize
AddToFunc FuncFvwmMaximize
+ M Maximize   0 100
+ H Maximize   0 100
+ C Maximize 100 100

DestroyFunc FuncFvwmMoveOrIconify
AddToFunc FuncFvwmMoveOrIconify
+ I Raise
+ M Move
+ D Iconify

DestroyFunc FuncFvwmResizeOrRaise
AddToFunc FuncFvwmResizeOrRaise
+ I Raise
+ M Resize
+ D Lower

DestroyFunc FvwmWindowShade
AddToFunc   FvwmWindowShade
+ H Nop
+ M Nop
+ C WindowShade $0
+ D WindowShade $0

DestroyFunc FvwmDeleteOrDestroy
AddToFunc   FvwmDeleteOrDestroy
+ H Nop
+ M Nop
+ C Delete
+ D Destroy

DestroyFunc FvwmDeiconifyRaiseAndFocus
AddToFunc FvwmDeiconifyRaiseAndFocus
+ I Iconify off
+ I Raise
+ I Focus

DestroyFunc DeiconifyAndRearrange
AddToFunc DeiconifyAndRearrange
+ C Iconify off
+ C All (CurrentPage, Iconic) PlaceAgain Icon

DestroyFunc AnimateIcon
AddToFunc AnimateIcon
+ C DeiconifyAndRearrange
+ M Raise
+ M Move
+ D DeiconifyAndRearrange

DestroyFunc FvwmSelectRaiseAndFocus
AddToFunc FvwmSelectRaiseAndFocus
+ C DeiconifyAndRearrange
+ I Raise
+ I Focus

DestroyFunc FvwmViewManPage
AddToFunc   FvwmViewManPage
+ I Exec exec uxterm -fg "#F8F8ED" -bg "#202838" -g 100x40 -fa "Terminus-10" -fb 7x14bold \
-n "Manual Page - $0" -T "Manual Page - $0" -e man "$0"

DestroyMenu FvwmManPagesMenu
AddToMenu   FvwmManPagesMenu "FVWM Man Pages" Title
+ "%menu/help.png%fvwm"                FvwmViewManPage fvwm
+ "%menu/help.png%FvwmAnimate"         FvwmViewManPage FvwmAnimate
+ "%menu/help.png%FvwmAuto"            FvwmViewManPage FvwmAuto
+ "%menu/help.png%FvwmBacker"          FvwmViewManPage FvwmBacker
+ "%menu/help.png%FvwmBanner"          FvwmViewManPage FvwmBanner
+ "%menu/help.png%FvwmButtons"         FvwmViewManPage FvwmButtons
+ "%menu/help.png%FvwmCommand"         FvwmViewManPage FvwmCommand
+ "%menu/help.png%FvwmConsole"         FvwmViewManPage FvwmConsole
+ "%menu/help.png%FvwmConsoleC.pl"     FvwmViewManPage FvwmConsoleC.pl
+ "%menu/help.png%FvwmCpp"             FvwmViewManPage FvwmCpp
+ "%menu/help.png%FvwmDebug"           FvwmViewManPage FvwmDebug
+ "%menu/help.png%FvwmDragWell"        FvwmViewManPage FvwmDragWell
+ "%menu/help.png%FvwmEvent"           FvwmViewManPage FvwmEvent
+ "%menu/help.png%FvwmForm"            FvwmViewManPage FvwmForm
+ "%menu/help.png%FvwmGtk"             FvwmViewManPage FvwmGtk
+ "%menu/help.png%FvwmGtkDebug"        FvwmViewManPage FvwmGtkDebug
+ "%menu/help.png%FvwmIconBox"         FvwmViewManPage FvwmIconBox
+ "%menu/help.png%FvwmIconMan"         FvwmViewManPage FvwmIconMan
+ "%menu/help.png%FvwmIdent"           FvwmViewManPage FvwmIdent
+ "%menu/help.png%FvwmM4"              FvwmViewManPage FvwmM4
+ "%menu/help.png%FvwmPager"           FvwmViewManPage FvwmPager
+ "%menu/help.png%FvwmPerl"            FvwmViewManPage FvwmPerl
+ "%menu/help.png%FvwmProxy"           FvwmViewManPage FvwmProxy
+ "%menu/help.png%FvwmRearrange"       FvwmViewManPage FvwmRearrange
+ "%menu/help.png%FvwmSave"            FvwmViewManPage FvwmSave
+ "%menu/help.png%FvwmSaveDesk"        FvwmViewManPage FvwmSaveDesk
+ "%menu/help.png%FvwmScript"          FvwmViewManPage FvwmScript
+ "%menu/help.png%FvwmScroll"          FvwmViewManPage FvwmScroll
+ "%menu/help.png%FvwmTaskBar"         FvwmViewManPage FvwmTaskBar
+ "%menu/help.png%FvwmTheme"           FvwmViewManPage FvwmTheme
+ "%menu/help.png%FvwmWharf"           FvwmViewManPage FvwmWharf
+ "%menu/help.png%FvwmWinList"         FvwmViewManPage FvwmWinList
+ "%menu/help.png%Fvwm/"               FvwmViewManPage FvwmWindowMenu
+ "" Nop
+ "%menu/help.png%fvwm-config"         FvwmViewManPage fvwm-config
+ "%menu/help.png%fvwm-perllib"        FvwmViewManPage fvwm-perllib
+ "%menu/help.png%fvwm-root"           FvwmViewManPage fvwm-root
+ "%menu/help.png%fvwm-bug"            FvwmViewManPage fvwm-bug
+ "%menu/help.png%fvwm-convert-2.2"    FvwmViewManPage fvwm-convert-2.2
+ "%menu/help.png%fvwm-convert-2.4"    FvwmViewManPage fvwm-convert-2.4
+ "" Nop
+ "%menu/help.png%fvwm-menu-desktop"   FvwmViewManPage fvwm-menu-desktop
+ "%menu/help.png%fvwm-menu-directory" FvwmViewManPage fvwm-menu-directory
+ "%menu/help.png%fvwm-menu-headlines" FvwmViewManPage fvwm-menu-headlines

# Alt - Tab functionality =============================================#
DestroyFunc FvwmRaiseAndFocus
AddToFunc FvwmRaiseAndFocus
+ I Iconify off
+ I Raise
+ I Focus

DestroyFunc SwitchWindow
AddToFunc SwitchWindow
+ I $[DIR] (CurrentPage, !Iconic, !Sticky) FvwmRaiseAndFocus
+ I Deschedule 134000
+ I PipeRead `[ "$[DIR]" == "Prev" ] && \
	echo 'SetEnv NDIR Next' || \
	echo 'SetEnv NDIR Prev'`
+ I Schedule 700 134000 SetEnv DIR $[NDIR]

DestroyFunc 	NextWindow
AddToFunc 		NextWindow
+ I ScanForWindow NorthEast NorthWest (CurrentPage, !Iconic, AcceptsFocus) FlipFocus
+ I Current Raise
#+ I Current WarpToWindow 5 5

DestroyFunc 	PrevWindow
AddToFunc 	PrevWindow
+ I ScanForWindow SouthEast SouthWest (CurrentPage, !Iconic, AcceptsFocus) FlipFocus
+ I Current Raise
#+ I Current WarpToWindow 5 5

### Swap window with next window in specified direction
DestroyFunc SwapWindowsDir
AddToFunc SwapWindowsDir
+ I Current (State 2|Transient) NoWindow Break
+ I Current SetEnv FvwmId_current $$$$[w.id]
+ I ScanForWindow $0 $1 (CurrentPage, !Iconic, AcceptsFocus, !State 2) \
    SetEnv FvwmId_dest $$$$[w.id]
+ I SwapWindowsToggleState
+ I SwapWindows

### Toggles master/floating when swapping windows
DestroyFunc SwapWindowsToggleState
AddToFunc SwapWindowsToggleState
+ I Piperead '[ $[FvwmId_current] = $[FvwmId_dest] ] && echo Break 1'
+ I WindowId $[FvwmId_current] ThisWindow (state 1) \
    WindowId $[FvwmId_dest] State 1 True
+ I WindowId $[FvwmId_current] ThisWindow (state 1) \
    WindowId $[FvwmId_current] State 1 False
+ I TestRc (Match) Break 1
+ I WindowId $[FvwmId_dest] ThisWindow (state 1) \
    WindowId $[FvwmId_current] State 1 True
+ I WindowId $[FvwmId_dest] ThisWindow (state 1) \
    WindowId $[FvwmId_dest] State 1 False

### Does the actually swapping
DestroyFunc SwapWindows
AddToFunc SwapWindows
+ I WindowId $[FvwmId_current] \
    SetEnv FvwmCoord_current \
    '$$$$[w.width]p $$$$[w.height]p $$$$[w.x]p $$$$[w.y]p'
+ I WindowId $[FvwmId_dest] \
    SetEnv FvwmCoord_dest \
    '$$$$[w.width]p $$$$[w.height]p $$$$[w.x]p $$$$[w.y]p'
+ I WindowId $[FvwmId_current] ResizeMove frame $[FvwmCoord_dest]
+ I WindowId $[FvwmId_dest] ResizeMove frame $[FvwmCoord_current]
+ I WindowId $[FvwmId_current] WarpToWindow 50 50
+ I UnsetEnv FvwmId_current
+ I UnsetEnv FvwmCoord_current
+ I UnsetEnv FvwmId_dest
+ I UnsetEnv FvwmCoord_dest

# Move Window
DestroyFunc MoveRight
AddToFunc   MoveRight
+ I AnimatedMove w+20p keep

DestroyFunc MoveLeft
AddToFunc MoveLeft
+ I AnimatedMove w+-20p keep

DestroyFunc MoveUp
AddToFunc MoveUp
+ I AnimatedMove keep w+-20p

DestroyFunc MoveDown
AddToFunc MoveDown
+ I AnimatedMove keep w+20p

# Resize windows either directly or with PipeRead
#======================================================================#
#DestroyFunc GrowSouth
#AddToFunc GrowSouth
#+ I Resize Direction S keep w+10p

#DestroyFunc ShrinkSouth
#AddToFunc ShrinkSouth
#+ I Resize Direction S keep w-10p

#DestroyFunc GrowEast
#AddToFunc GrowEast
#+ I Resize Direction E w+10p keep

#DestroyFunc ShrinkEast
#AddToFunc ShrinkEast
#+ I Resize Direction E w-20p keep

DestroyFunc ShrinkEast
AddToFunc ShrinkEast
+ I PipeRead "echo Resize $(($[cw.width] - 15))p keep"

DestroyFunc GrowEast
AddToFunc GrowEast
+ I PipeRead "echo Resize $(($[cw.width] + 15))p keep"

DestroyFunc ShrinkSouth
AddToFunc ShrinkSouth
+ I PipeRead "echo Resize keep $(($[cw.height] - 15))p"

DestroyFunc GrowSouth
AddToFunc GrowSouth
+ I PipeRead "echo Resize keep $(($[cw.height] + 15))p"

DestroyFunc WindowMoveControl
AddToFunc WindowMoveControl
+ M Move
+ H Raise
+ H Move

DestroyFunc WindowResizeControl
AddToFunc WindowResizeControl
+ M Resize
+ H Raise
+ H Resize

#####
# Create thumbnail of minimized/iconified windows instead of an icon - replace Iconify with IconThumb (the function name)
# in mouse or key bindings
#
# If you use Thumbnails, how big would you like the Icons to be?
#
# Try one of these, from tiny to large: 32, 64, 96, 128
#
# In original function - Note that the aspect ratio is maintained, so tall and thin windows may get larger icons,
# but this function has been changed so that all the thumbnails are 100x56 pixels.
#################

SetEnv fvwm_icon_size 64
SetEnv fvwm_thumbx 100
SetEnv fvwm_thumby 56

#####
# Name:     Thumbnail
# Purpose:  Iconify a window with a reduced screenshot of the application
#           Window, looks really cool.
#
#           Uses FvwmEvent to remove the Icon when deiconified, you will want
#           to remove this if you use WindowStyle elsewhere.
#
#           Thumbnailing example: [6]http://dev.gentoo.org/~taviso/step2.png
#
##################
DestroyFunc IconThumb
AddToFunc IconThumb
+ I Raise
+ I PipeRead "xwd -silent -id $[w.id] | convert -scale '$[fvwm_thumbx]x$[fvwm_thumby]!' -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, StaysOnBottom \
    || echo Nop"
+ I Iconify

DestroyFunc DeIconThumb
AddToFunc DeIconThumb
+ I DestroyWindowStyle
+ I Exec exec rm -f $HOME/.fvwm/icon.tmp.$[w.id].png

#### Browse Wallpapers Directory
DestroyFunc WallpaperBrowser
AddToFunc WallpaperBrowser
+ I PipeRead 'test ! -d "$0/.thumbs" && mkdir "$0/.thumbs"; \
    for i in "$0/"*; do \
        test -f "$0/.thumbs/${i##*/}" \
            -a "${i}" -ot "$0/.thumbs/${i##*/}" || { \
                convert -quality 0 -scale 64 "${i}" "png:$0/.thumbs/${i##*/}" 2>/dev/null \
                    || continue; \
            }; \
    done; \
    fvwm-menu-directory --icon-title icons/globes/folder.png --icon-file __PIXMAP__ \
    --icon-dir icons/globes/folder.png --dir $0 --exec-file "^hsetroot -center" \
    --exec-t="^eog *" | sed -e "s#FuncFvwmMenuDirectory#WallpaperBrowser#g" \
    -e "s#__PIXMAP__\\(.*\\)\\"\\(.*/\\)\\(.*\\)\\"#\\2.thumbs/\\3\\1\\2\\3#g"'

# functions from rooster config
#====================================================================#
# Undecorate given window
DestroyFunc UnDecorate
AddToFunc UnDecorate
# + I WindowStyle !Title, !Borders, !Handles
+ I WindowStyle !Title

# And decorate it again
DestroyFunc Decorate
AddToFunc Decorate
# + I WindowStyle Title, Borders, Handles
+ I WindowStyle Title

# Undecorate window and maximize it
DestroyFunc UndecMax
AddToFunc UndecMax 
+ I ThisWindow UnDecorate
+ I Schedule 100 Maximize 100 100

# Toggle 'always on top' using TestRc
DestroyFunc WinOnTop
AddToFunc WinOnTop
+ I ThisWindow (Layer 6) Layer
+ I TestRc (NoMatch) Layer 0 6

# Widescreen formatting 
DestroyFunc ReadableWidth
AddToFunc ReadableWidth
+ I Maximize 60
+ I Move 50-50w 50-50w

# key bindings for above
# W=active window

DestroyFunc Move-Raise-Shade
AddToFunc   Move-Raise-Shade
+ I Raise
+ M Move
+ D WindowShade

# EOF =================================================================#

AppFunctions:

DestroyFunc StartConsole
AddToFunc StartConsole
+ I Module FvwmConsole -terminal uxterm -fg "#F8F8ED" -bg "#202838" -g 100x40 -fa "Terminus-10" -fb 7x14bold -n "FvwmConsole"

DestroyFunc     rxvt-under-mouse
AddToFunc       rxvt-under-mouse
+ I Style "urxvt" PositionPlacement UnderMouse
+ I Exec exec urxvtc
+ I Wait urxvt
+ I Style "urxvt" MinOverlapPercentPlacement

DestroyFunc FvwmMail
AddToFunc FvwmMail
+ I Exec exec $[fvwm_mail]
+ I GotoDeskAndPage 0 1 0

DestroyFunc FvwmBrowser
AddToFunc FvwmBrowser
+ I Exec exec $[fvwm_browser]
+ I GotoDeskAndPage 0 2 0

DestroyFunc FvwmGimp
AddToFunc FvwmGimp
+ I Exec exec $[fvwm_art]
+ I GoToDeskAndPage 0 3 0

DestroyFunc FvwmEditor
AddToFunc FvwmEditor
+ I Exec exec $[fvwm_editor]
+ I Move 50-50w 50-50w

DestroyFunc FoxNews
AddToFunc FoxNews
+ I Exec exec $[fvwm_browser] http://www.foxnews.com
+ I GotoDeskAndPage 0 2 0

DestroyFunc TelegraphNews
AddToFunc TelegraphNews
+ I Exec exec $[fvwm_browser] http://www.telegraph.co.uk/news/worldnews/
+ I GotoDeskAndPage 0 2 0

DestroyFunc BBCNews
AddToFunc BBCNews
+ I Exec exec $[fvwm_browser] http://www.bbc.co.uk/news/
+ I GotoDeskAndPage 0 2 0

DestroyFunc MLBNews
AddToFunc MLBNews
+ I Exec exec $[fvwm_browser] http://www.mlb.com
+ I GotoDeskAndPage 0 2 0

DestroyFunc ESPN
AddToFunc ESPN
+ I Exec exec $[fvwm_browser] http://espn.go.com/
+ I GotoDeskAndPage 0 2 0

DestroyFunc CBangForums
AddToFunc CBangForums
+ I Exec exec $[fvwm_browser] http://crunchbang.org/forums/
+ I GotoDeskAndPage 0 2 0

DestroyFunc SalixForums
AddToFunc SalixForums
+ I Exec exec $[fvwm_browser] http://www.salixos.org/forum/
+ I GotoDeskAndPage 0 2 0

DestroyFunc DebianForums
AddToFunc DebianForums
+ I Exec exec $[fvwm_browser] http://forums.debian.net/index.php?sid=77dde694bf0ec601131d482f5ee4d2f1
+ I GotoDeskAndPage 0 2 0

DestroyFunc DebianWiki
AddToFunc DebianWiki
+ I Exec exec $[fvwm_browser] http://wiki.debian.org/
+ I GotoDeskAndPage 0 2 0

DestroyFunc ArchWiki
AddToFunc ArchWiki
+ I Exec exec $[fvwm_browser] https://wiki.archlinux.org/
+ I GotoDeskAndPage 0 2 0

DestroyFunc DrudgeReport
AddToFunc DrudgeReport
+ I Exec exec $[fvwm_browser] http://www.drudgereport.com/
+ I GotoDeskAndPage 0 2 0

DestroyFunc DailyCaller
AddToFunc DailyCaller
+ I Exec exec $[fvwm_browser] http://dailycaller.com/
+ I GotoDeskAndPage 0 2 0

DestroyFunc AmericanThinker
AddToFunc AmericanThinker
+ I Exec exec $[fvwm_browser] http://www.americanthinker.com/
+ I GotoDeskAndPage 0 2 0

DestroyFunc WashingtonTimes
AddToFunc WashingtonTimes
+ I Exec exec $[fvwm_browser] http://www.washingtontimes.com/
+ I GotoDeskAndPage 0 2 0

Menu:

MenuStyle "*" FVWM
MenuStyle "*" Font "xft:Source Sans Pro:Style=Regular:pixelsize=12:antialias=true:hinting=slight"
MenuStyle "*" Hilight3DThin
MenuStyle "*" Hilight3DThickness 1
# MenuStyle "*" Hilight3DOff
MenuStyle "*" MenuColorset 1, HilightBack, ActiveColorset 2
MenuStyle "*" PopupDelayed, PopupDelay 150, PopdownDelayed, PopdownDelay 150
MenuStyle "*" PopupOffset +6 100, TitleWarpOff
MenuStyle "*" TitleUnderlines2, SeparatorsShort, TrianglesRelief
MenuStyle "*" Animation, AutomaticHotkeysOff, DoubleClickTime
MenuStyle "*" BorderWidth 2, SidePic, SideColor
MenuStyle "*" PopupAsSubmenu, HoldSubmenus, SubmenusRight
MenuStyle "*" ItemFormat "%.4s%.1|%.5i%.5l%.5l%.5r%.5i%2.3>%1|"
MenuStyle "*" VerticalItemSpacing 3 3, VerticalTitleSpacing 3 3
#=============== Patches ==============================#
# MenuStyle "*" FlatSeparators
# MenuStyle "*" MenuTranslucancy

DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot  "$[gt.Fvwm Menu]"             Title
+       "Run"			Exec exec dmenu_run -nb rgb:0B/0B/0B -nf rgb:F5/F5/F5 -sb rgb:A6/7B/5B -sf rgb:F5/F5/F5 &
+       "URxvt"             	Exec exec urxvtc
+       "Medit"             	Exec exec medit
+       "Thunar"		Exec exec thunar
+	"Firefox"		FvwmBrowser
+	"Thunderbird"		FvwmMail
+	"Gimp"			FvwmGimp
+	""		Nop
+	"Screenshot"		Exec exec "$HOME/bin/scrot_delay.sh"
+	"Conky"			Popup ConkyMenu
+       "Screen"                Popup ScreenMenu
+	"Background"		Popup MenuBackground
+	"Tile"			Module FvwmRearrange -tile -u -animate -resize -h 2 2 98 98 -mn 2
+	"Cascade"		Module FvwmRearrange -u -cascade -resize -animate -incx 2 -incy 2 2 2 90 90
+       ""              Nop
+	"News"			Popup NewsMenu
+	""		Nop
+	"FvwmConsole"		StartConsole
+	"Fvwm Man Pages"	Popup FvwmManPagesMenu
+       "$[gt.Fvwm Modules]"	Popup MenuFvwmModules
+       "$[gt.Fvwm Window Ops]"	Popup MenuFvwmWindowOps
+       ""              Nop
+       "$[gt.Exit Fvwm]"		Popup MenuFvwmQuitVerify

# First windowops menu, bound to:
# mouse 2 on root
# Root menu
#DestroyMenu MenuFvwmWindowOps
#AddToMenu MenuFvwmWindowOps     "$[gt.Window Ops]"    Title
#FuncFvwmWindowCommon MenuFvwmWindowOps

# The window Ops menus exhibit a different HotKey style.
# There are 2 versions of the WindowOps Menu, meant to be bound to different
# things.  Here is the "common" part:
# DestroyFunc FuncFvwmWindowCommon
# AddToFunc FuncFvwmWindowCommon

DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps "Window Options" Title
+ "$[gt.&Move]"              Move
+ "$[gt.&Resize]"            Resize
+ "$[gt.R&aise]"             Raise
+ "$[gt.&Lower]"             Lower
+ "$[gt.(De)&Iconify]"       Iconify
+ "$[gt.(Un)&Stick]"         Stick
+ "$[gt.(Un)Ma&ximize]"      Maximize
+ "$[gt.(Un)Shade]"          WindowShade
+ ""                 Nop
+ "$[gt.&Delete]"            Delete
+ "$[gt.&Close]"             Close
+ "$[gt.Destroy]"            Destroy
+ ""                 Nop
+ "$[gt.Identify]"           Module FvwmIdent
+ "$[gt.Re&fresh Window]"    RefreshWindow
+ "$[gt.Recapture Screen]"   Recapture

DestroyMenu ScreenMenu
AddToMenu ScreenMenu "$[gt.Backlight]" Title
+	"30%"	Exec exec xbacklight -set 30
+	"40%"	Exec exec xbacklight -set 40
+	"50%"	Exec exec xbacklight -set 50

DestroyMenu MenuFvwmModules
AddToMenu MenuFvwmModules "$[gt.Fvwm Modules]"        Title
+ "&1. $[gt.Control Animation]" Popup  MenuFvwmAnimate
+ "&B. Button-Bar"        Module FvwmButtons
+ "&O. IconBox"           FuncFvwmConfigureIconBox
+ "&F. Forms"             Popup  MenuFvwmForms
+ "&I. Identify"          Module FvwmIdent
+ "&M. IconMan"           Module FvwmIconMan
+ "&N. Banner"            Module FvwmBanner
+ "&C. Console"           Module FvwmConsole
+ "&P. Pager"             Module FvwmPager 0 0
+ "&R. Backer"            Module FvwmBacker
+ "&S. ScrollBar"         Module FvwmScroll 50 50
+ "&T. FvwmTaskBar"       Module FvwmTaskBar
+ "&U. AutoRaise"         Module FvwmAuto 200 Raise Nop
+ "&W. WinList"           Module FvwmWinList
+ "&X. $[gt.Stop Module Menu]"  Popup  MenuFvwmStopModule

DestroyMenu MenuFvwmStopModule
AddToMenu MenuFvwmStopModule "$[gt.Stop Fvwm Modules]" Title
+ "&B. $[gt.Stop] Button-Bar"  KillModule FvwmButtons
+ "&O. $[gt.Stop] IconBox"     KillModule FvwmIconBox
+ "&M. $[gt.Stop] IconMan"     KillModule FvwmIconMan
+ "&P. $[gt.Stop] Pager"       KillModule FvwmPager
+ "&R. $[gt.Stop] Backer"      KillModule FvwmBacker
+ "&S. $[gt.Stop] ScrollBar"   KillModule FvwmScroll
+ "&T. $[gt.Stop] FvwmTaskBar" KillModule FvwmTaskBar
+ "&U. $[gt.Stop] AutoRaise"   KillModule FvwmAuto
+ "&W. $[gt.Stop] WinList"     KillModule FvwmWinList

DestroyMenu MenuBackground
AddToMenu MenuBackground
+	MissingSubmenuFunction WallpaperBrowser
+	"Image Browser"		Popup $[fvwm_wallpaper]
+	"Blue"			Exec exec xsetroot -mod 1 1 -bg gray75 -fg Royalblue &
+	"Black"			Exec exec xsetroot -solid black &
+	"Green"			Exec exec xsetroot -solid "#35C55F" &
+	"SteelBlue"		Exec exec xsetroot -solid SteelBlue &
+   "Gray"			Exec exec xsetroot -solid gray75 &

DestroyMenu ConkyMenu
AddToMenu ConkyMenu
+	"System"	Exec exec "$HOME/bin/ConkyFvwm.sh" &
+	"Weather"	Exec exec "$HOME/bin/ConkyWeather.sh" &
+	"Tao"		Exec exec "$HOME/bin/ConkyTao.sh" &

DestroyMenu MenuFvwmQuitVerify
AddToMenu MenuFvwmQuitVerify "$[gt.Really Quit Fvwm?]" Title
+ "&Q. $[gt.Yes, Really Quit]" Quit
+ ""                     Nop
+ "&R. $[gt.Restart]"          Restart
+ ""                     Nop
+ "&X. $[gt.Just an Xterm]"    Restart xterm -n '"X Console"' -T '"X Console"'
+ ""                     Nop
+ "&N. $[gt.No, Don't Quit]"   Nop

DestroyMenu	NewsMenu
AddToMenu	NewsMenu
+	"Fox"		FoxNews
+	"Washington Times"	WashingtonTimes
+	"Telegraph"	TelegraphNews
+	"BBC"		BBCNews
+	"MLB"		MLBNews
+	"Drudge Report"	DrudgeReport
+	"Daily Caller"	DailyCaller
+	"American Thinker"	AmericanThinker
+	"#!"		CBangForums

DestroyMenu TaskMenu
AddToMenu TaskMenu
+ "Run" Exec exec dmenu_run
+ "" Nop
+ "Urxvt" Exec exec urxvtc
+ "Tmux" Exec exec uxterm -e tmux
+ "Thunar" Exec exec thunar
+ "Medit" Exec exec medit
+ "Firefox" Exec exec firefox
+ "Thunderbird" Exec exec thunderbird
+ "Gimp" Exec exec gimp

FrenchDecor  # -- it is only called this because the original was annotated in French

DestroyDecor FrenchDecor
AddToDecor FrenchDecor

Style "*" Font "Shadow=0 0 SE:xft:Andale Mono:style:Regular:size=10"
Style "*" BorderWidth 2, HandleWidth 2
Style "*" FvwmBorder, FirmBorder
Style "*" Color #B0B0B0/#333333, HilightBack #333333, HilightFore #F0F0F0
# Style "*" BorderColorset 23, HilightBorderColorset 22
Style "*" MWMFunctions, HintOverride

Mouse 1 5	A	ReadableWidth

+ TitleStyle Centered Height 18
+ TitleStyle (VGradient 800 #CD5C5C #A52A2A)
+ AddTitleStyle ActiveDown (VGradient 800 #837563 #655D51)
+ TitleStyle Inactive (VGradient 800 #55544F #3C3B37) -- Flat
+ ButtonStyle All -- UseTitleStyle

+ ButtonStyle 1 Active (VGradient 800 #666666 #222222)-- Flat
+ ButtonStyle 1 Inactive (VGradient 800 #55544F #3C3B37) -- Flat

+ ButtonStyle 3 (VGradient 800 #666666 #222222)-- Flat
+ ButtonStyle 3 Inactive (VGradient 800 #55544F #3C3B37) -- Flat

+ ButtonStyle 5 (VGradient 800 #666666 #222222)-- Flat
+ ButtonStyle 5 Inactive (VGradient 800 #55544F #3C3B37) -- Flat

+ ButtonStyle 2 (VGradient 800 #666666 #222222)-- Flat
+ ButtonStyle 2 Inactive (VGradient 800 #55544F #3C3B37) -- Flat

+ ButtonStyle 4 (VGradient 800 #666666 #222222)-- Flat
+ ButtonStyle 4 Inactive (VGradient 800 #55544F #3C3B37) -- Flat

+ ButtonStyle 6 (VGradient 800 #666666 #222222)-- Flat
+ ButtonStyle 6 Inactive (VGradient 800 #55544F #3C3B37) -- Flat

+ AddButtonStyle  1 Inactive Vector 4 49x49@2 49x51@2 51x51@2 51x49@2 -- Flat
+ AddButtonStyle  1 Active Vector 4 49x49@3 49x51@3 51x51@3 51x49@3 -- Flat
+ AddButtonStyle  1 AllUp Vector 2 50x55@1 50x55@1 -- Flat

+ AddButtonStyle  3 Inactive Vector 4 49x49@2 49x51@2 51x51@2 51x49@2 -- Flat
+ AddButtonStyle  3 Active Vector 4 49x49@3 49x51@3 51x51@3 51x49@3 -- Flat
+ AddButtonStyle  3 AllUp Vector 2 50x55@1 50x55@1 -- Flat

+ AddButtonStyle  5 Inactive Vector 4 49x49@2 49x51@2 51x51@2 51x49@2 -- Flat
+ AddButtonStyle  5 Active Vector 4 49x49@3 49x51@3 51x51@3 51x49@3 -- Flat
+ AddButtonStyle  5 AllUp Vector 2 50x55@1 50x55@1 -- Flat

+ AddButtonStyle  2 Inactive Vector 4 49x49@2 49x51@2 51x51@2 51x49@2 -- Flat
+ AddButtonStyle  2 Active Vector 4 49x49@3 49x51@3 51x51@3 51x49@3 -- Flat
+ AddButtonStyle  2 AllUp Vector 2 50x55@1 50x55@1 -- Flat

+ AddButtonStyle  4 Inactive Vector 4 49x49@2 49x51@2 51x51@2 51x49@2 -- Flat
+ AddButtonStyle  4 Active Vector 4 49x49@3 49x51@3 51x51@3 51x49@3 -- Flat
+ AddButtonStyle  4 AllUp Vector 2 50x55@1 50x55@1 -- Flat

+ AddButtonStyle  6 Inactive Vector 4 49x49@2 49x51@2 51x51@2 51x49@2 -- Flat
+ AddButtonStyle  6 Active Vector 4 49x49@3 49x51@3 51x51@3 51x49@3 -- Flat
+ AddButtonStyle  6 AllUp Vector 2 50x55@1 50x55@1 -- Flat

# These two vectors draw a circle around the vectors above, uncomment 
# them and see what you think.
+ AddButtonStyle  All Active Vector 9 80x60@4 80x40@2 60x20@2 40x20@2 20x40@2 20x60@2 40x80@2 60x80@2 80x60@2 -- Flat
+ AddButtonStyle  All Inactive Vector 9 80x60@4 80x40@2 60x20@2 40x20@2 20x40@2 20x60@2 40x80@2 60x80@2 80x60@2 -- Flat

+ ButtonStyle 1 - MwmDecorMenu
+ ButtonStyle 6 - MwmDecorMin
+ ButtonStyle 4 - MwmDecorMax

BorderStyle Simple
+ BorderStyle Active -- NoInset
+ BorderStyle Inactive -- NoInset HiddenHandles
Style "*" BorderColorset 25, HilightBorderColorset 26

Style "*" UseDecor FrenchDecor

Modules:

# --- Module Configuration

#---- Modules
Style FvwmTaskBar* !Title, BorderWidth 2, HandleWidth 2, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnTop
Style FvwmWinList* !Title, !Handles, Borderwidth 1, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom
Style FvwmIdent* !Title, !Handles, Borderwidth 2, !Button 1, !Button 4, !Button 6
Style FvwmPager* !Title, !Handles, Borderwidth 1, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom
Style FvwmIconMan* !Title, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, StaysOnTop
Style FvwmButtons* !Title, !Handles, BorderWidth 1, CirculateSkip, Sticky, WindowListSkip, StaysOnTop, NeverFocus

DestroyModuleConfig FvwmIdent: *
*FvwmIdentBack #191970
*FvwmIdentFore #FFB600
*FvwmIdent: Font "xft:sans:pixelsize=10:antialias=true:hinting=slight"

DestroyModuleConfig FvwmAnimate: *
*FvwmAnimate: Effect Flip
*FvwmAnimate: Delay 1
*FvwmAnimate: Iterations 30
*FvwmAnimate: Twist 1
*FvwmAnimate: Width 2

DestroyModuleConfig FvwmEvent: *
*FvwmEvent: Cmd Function
*FvwmEvent: new_page CurrentPageFocusFunc
*FvwmEvent: new_desk CurrentPageFocusFunc
*FvwmEvent: destroy_window CurrentPageFocusFunc
*FvwmEvent: focus_change MarkWindowAsActiveFunc

DestroyModuleConfig FvwmWinList
*FvwmWinList: Font "xft:Source Code Pro:style=Regular:pixelsize=10:antialias=True:hinting=slight"
*FvwmWinList: NoIconAction SendToModule FvwmAnimate animate
# *FvwmWinList: Geometry +4+200
*FvwmWinList: ButtonFrameWidth 1
*FvwmWinList: BorderReliefWidth 1
*FvwmWinList: DontDepressFocus
*FvwmWinList: UseSkipList
*FvwmWinList: ShowCurrentDesk
*FvwmWinList: NoAnchor
*FvwmWinList: UseIconNames
*FvwmWinList: MinWidth 100
*FvwmWinList: MaxWidth 132
*FvwmWinList: Action Click1 Function FvwmDeiconifyRaiseAndFocus
*FvwmWinList: Action Click2 Iconify
*FvwmWinList: Action Click3 Close
*FvwmWinList: Colorset 3
*FvwmWinList: IconColorset 3
*FvwmWinList: FocusColorset 4

Style FvwmTaskBar* !Title, !Handles, !Borders, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnTop
# FvwmTaskBar
#===========================
*FvwmTaskBar: Geometry +0-0
*FvwmTaskBar: Rows 1
*FvwmTaskBar: Font "xft:Source Sans Pro:style=Regular:pixelsize=12:antialias=True:hinting=slight"
*FvwmTaskBar: SelFont "xft:Source Sans Pro:style=Bold:pixelsize=12:antialias=True:hinting=slight"
*FvwmTaskBar: StatusFont "xft:Source Code Pro:style=Bold:pixelsize=12:antialias=True:hinting=slight"
*FvwmTaskBar: Colorset 27
*FvwmTaskBar: IconColorset 28
*FvwmTaskBar: FocusColorset 29
*FvwmTaskBar: NoBrightFocus
*FvwmTaskBar: TipsFore #F29E6D
*FvwmTaskBar: TipsBack #1D2437
*FvwmTaskBar: AutoStick
*FvwmTaskBar: AutoFocus
*FvwmTaskBar: UseSkipList
*FvwmTaskBar: DeskOnly
*FvwmTaskBar: PageOnly
*FvwmTaskBar: Action Click1 Function FvwmDeiconifyRaiseAndFocus
*FvwmTaskBar: Action Click2 Function IconThumb
*FvwmTaskBar: Action Click3 Close
*FvwmTaskBar: ButtonWidth 200
*FvwmTaskBar: Pad 2
*FvwmTaskBar: WindoButtonsLeftMargin 1
*FvwmTaskBar: WindowButtonsRightMargin 1
*FvwmTaskBar: StartButtonRightMargin 0
*FvwmTaskBar: 3DFvwm
*FvwmTaskBar: HighlightFocus
*FvwmTaskBar: ShowTips
*FvwmTaskBar: ClockFormat %k:%M
*FvwmTaskBar: DateFormat %a %b %e
*FvwmTaskBar: MailCheck 0
*FvwmTaskBar: NoDefaultStartButton
#*FvwmTaskBar: Startname
#*FvwmTaskBar: StartMenu (Mouse 1) TaskMenu
#*FvwmTaskBar: StartMenu (Mouse 3) MenuFvwmQuitVerify
#*FvwmTaskBar: StartIcon /home/doug/.icons/fvwm-logo.png

#======FvwmIconBox specs [l t r b]===============#
# comment out if iconbox needed; then select IconBox location
# Style * !Icon

# top left
Style "*" IconBox 2 48 230 348, IconGrid 16 24, IconFill left top 
#
# top center
# Style * IconBox 270 12 1112 156, IconGrid 48 24, IconFill left top
#
# bottom center
# Style * IconBox 270 684 1112 744, IconGrid 24 24, IconFill left top
#
# top right
# Style * IconBox 1250 48 1360 640, IconGrid 24 24, IconFill left top
#
# bottom left
# Style * IconBox 12 690 1000 730, IconGrid 36 36, IconFill left top
#
# top left
# Style "*" Iconbox 4 4 132 256, IconGrid 16 16, IconFill left top
#
# middle right
# Style * Iconbox 1224 300 1360 600, IconGrid 36 36, IconFill left top

#===================================================
Style * !IconTitle
Style * StickyIcon
Style * IconTitleRelief 0
Style * IconBackgroundRelief 0
Style * IconBackgroundPadding 3
# Style * IconBackgroundColorset 3
Style * IconSize 24x24
Style * IconFont "Shadow=0 0 SE:xft:Sans:style=regular:pixelsize=8:antialias=true:hinting=slight"
Style * IconTitleColorset 3
Style * HilightIconTitleColorset 1

# ------ FvwmPager
DestroyModuleConfig FvwmPager: *
*FvwmPager: DeskTopScale 20
*FvwmPager: Geometry +12+12
*FvwmPager: WindowBorderWidth 0.3
#*FvwmPager: Fore #D09D25
*FvwmPager: Colorset * 9
*FvwmPager: HilightColorset * 10
*FvwmPager: WindowColorsets 11 12
*FvwmPager: Font none
#*FvwmPager: SmallFont "xft:Sans:style=Regular:pixelsize=9:antialias=True"
*FvwmPager: Balloons
*FvwmPager: BalloonColorset * 5
# *FvwmPager: BalloonFont "xft:Sans:style=Regular:pixelsize=8:antialias=True"
*FvwmPager: BalloonFont "Shadow=0 0 SE:xft:123:style=regular:pixelsize=10:antialias=true:hinting=slight"
*FvwmPager: BalloonYOffset +2
*FvwmPager: BalloonBorderWidth 0
*FvwmPager: BalloonFore #1F1F1F
*FvwmPager: BalloonBack #E5E5E5
*FvwmPager: UseSkipList
# *FvwmPager: SolidSeparators
# *FvwmPager: NoSeparators
*FvwmPager: ShapeLabels
*FvwmPager: MiniIcons
*FvwmPager: MoveThreshold 5

# FvwmIconMan
#===========================================================
DestroyModuleConfig FvwmIconMan
*FvwmIconMan: Title ""    
*FvwmIconMan: NumManagers 1
#=============================================================
# stand alone
#*FvwmIconMan: ManagerGeometry 0x1+0+0
#*FvwmIconMan: ButtonGeometry 200x22
# taskbar
*FvwmIconMan: ManagerGeometry 1X1
*FvwmIconMan: ButtonGeometry 1x$[FVWM_TB_HEIGHT]
#==============================================================
*FvwmIconMan: MaxButtonWidth 200
*FvwmIconMan: Font "Shadow=0 0 SE:xft:Sans:style=Bold:size=9:antialias=true:hinting=slight"
*FvwmIconMan: Format "%c: %i"
*FvwmIconMan: FollowFocus true
*FvwmIconMan: DontShow icon=Untitled resource=Untitled
*FvwmIconMan: Resolution page
*FvwmIconMan: ShowOnlyIcons false
*FvwmIconMan: DrawIcons false
*FvwmIconMan: ShowOnlyFocused false
*FvwmIconMan: ShowTransient false
*FvwmIconMan: Sort id
*FvwmIconMan: UseWinList true
*FvwmIconMan: ReliefThickness 0
*FvwmIconMan: Tips Always
*FvwmIconMan: TipsDelays 1000 300
*FvwmIconMan: TipsFont "Shadow=0 0 SE:xft:123:style=regular:pixelsize=10:antialias=true:hinting=slight"
# *FvwmIconMan: TipsFont "xft:Envy Code R:style=regular:pixelsize=10"
*FvwmIconMan: TipsFormat "%i"
*FvwmIconMan: TipsBorderWidth 0
*FvwmIconMan: TipsColorset 3
*FvwmIconMan: TipsJustification center
#======================================================================
#*FvwmIconMan: Background  #C7C7C7
#*FvwmIconMan: Foreground  #010101
#*FvwmIconMan: IconButton                up            #010101 #C7C7C7
#*FvwmIconMan: PlainButton                up            #E4E4E4 #5697B2
#*FvwmIconMan: SelectButton                up             #E4E4E4 #5697b2
#*FvwmIconMan: FocusButton                down         #E4E4E4 #5BB0AA
#*FvwmIconMan: FocusAndSelectButton        up            #E4E4E4 #5BB0AA
#======================================================================

*FvwmIconMan: IconButton flat
*FvwmIconMan: PlainButton flat
*FvwmIconMan: SelectButton flat
*FvwmIconMan: FocusButton flat
*FvwmIconMan: FocusAndSelectButton flat
*FvwmIconMan: Colorset 7
*FvwmIconMan: PlainColorset 7
*FvwmIconMan: FocusColorset 8
*FvwmIconMan: IconColorset 7
*FvwmIconMan: SelectColorset 8
*FvwmIconMan: FocusAndSelectColorset 9
#======================================================================
*FvwmIconMan: Action    Mouse 1 N sendcommand FvwmDeiconifyRaiseAndFocus
*FvwmIconMan: Action    Mouse 2 N sendcommand 'WindowShade toggle'
*FvwmIconMan: Action    Mouse 3 N sendcommand "Iconify"
*FvwmIconMan: Action    Mouse 2 M SendCommand Close

# EOF

InlinePanel # -- the gnome2/xfce looking panel

Style InlinePager* !Title, !Handles, !Borders, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom
Style InlineIconBar* !Title, !Handles, !Borders, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom
Style InlinePanel* !Title, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, NeverFocus, StaysOnBottom

#--- Pager and IconManager configuration and taskbar ---#

Schedule Periodic 2000 UpdateTextfield

DestroyFunc UpdateTextfield
AddToFunc UpdateTextfield
+ I PipeRead 'echo SendToModule FvwmButtons ChangeButton Textfield Title \
    \\"`date +"%b %-d, %-k:%M"`\\"'
### Adjust "text.width" below in section Modules when using one of the two below:
#    \\"`sh $FVWM_USERDIR/bin/battery-check.sh`, `date +"%-H:%M"`\\"'
#    \\"`sh $FVWM_USERDIR/bin/battery-check.sh` \\| `date +"%b %-d, %-H:%M"`\\"'

# 

SetEnv text.width 112

DestroyModuleConfig InlinePager: *
*InlinePager: DeskTopScale 20
*InlinePager: Geometry +12+12
*InlinePager: WindowBorderWidth 0.3
#*InlinePager: Fore #D09D25
*InlinePager: Colorset * 33
*InlinePager: HilightColorset * 10
*InlinePager: WindowColorsets 11 12
*InlinePager: Font none
#*InlinePager: SmallFont "xft:Sans:style=Regular:pixelsize=9:antialias=True"
*InlinePager: Balloons
*InlinePager: BalloonColorset * 5
# *InlinePager: BalloonFont "xft:Sans:style=Regular:pixelsize=8:antialias=True"
*InlinePager: BalloonFont "Shadow=0 0 SE:xft:123:style=regular:pixelsize=10:antialias=true:hinting=slight"
*InlinePager: BalloonYOffset +2
*InlinePager: BalloonBorderWidth 0
*InlinePager: BalloonFore #1F1F1F
*InlinePager: BalloonBack #E5E5E5
*InlinePager: UseSkipList
# *InlinePager: SolidSeparators
# *InlinePager: NoSeparators
*InlinePager: ShapeLabels
*InlinePager: !MiniIcons
*InlinePager: MoveThreshold 5

# InlineIconBar
#===========================================================
DestroyModuleConfig InlineIconBar
*InlineIconBar: Title ""    
*InlineIconBar: NumManagers 1
#=============================================================
# stand alone
#*InlineIconBar: ManagerGeometry 0x1+0+0
#*InlineIconBar: ButtonGeometry 200x22
*InlineIconBar: MaxButtonWidthByColumns 1
# taskbar
*InlineIconBar: ManagerGeometry 1X1
*InlineIconBar: ButtonGeometry 1x$[FVWM_TB_HEIGHT]
#==============================================================
*InlineIconBar: MaxButtonWidth 200
*InlineIconBar: Font "Shadow=0 0 SE:xft:Sans:style=Bold:size=9:antialias=true:hinting=slight"
*InlineIconBar: Format "%c: %i"
*InlineIconBar: FollowFocus true
*InlineIconBar: DontShow icon=Untitled resource=Untitled
*InlineIconBar: Resolution page
*InlineIconBar: ShowOnlyIcons false
*InlineIconBar: DrawIcons false
*InlineIconBar: ShowOnlyFocused false
*InlineIconBar: ShowTransient false
*InlineIconBar: Sort id
*InlineIconBar: UseWinList true
*InlineIconBar: ReliefThickness 0
*InlineIconBar: Tips Always
*InlineIconBar: TipsDelays 1000 300
*InlineIconBar: TipsFont "Shadow=0 0 SE:xft:123:style=regular:pixelsize=10:antialias=true:hinting=slight"
# *InlineIconBar: TipsFont "xft:Envy Code R:style=regular:pixelsize=10"
*InlineIconBar: TipsFormat "%i"
*InlineIconBar: TipsBorderWidth 0
*InlineIconBar: TipsColorset 3
*InlineIconBar: TipsJustification center
#======================================================================
#*InlineIconBar: Background  #C7C7C7
#*InlineIconBar: Foreground  #010101
#*InlineIconBar: IconButton                up            #010101 #C7C7C7
#*InlineIconBar: PlainButton                up            #E4E4E4 #5697B2
#*InlineIconBar: SelectButton                up             #E4E4E4 #5697b2
#*InlineIconBar: FocusButton                down         #E4E4E4 #5BB0AA
#*InlineIconBar: FocusAndSelectButton        up            #E4E4E4 #5BB0AA
#======================================================================

*InlineIconBar: IconButton flat
*InlineIconBar: PlainButton flat
*InlineIconBar: SelectButton flat
*InlineIconBar: FocusButton up
*InlineIconBar: FocusAndSelectButton up
*InlineIconBar: Colorset 30
*InlineIconBar: PlainColorset 30
*InlineIconBar: FocusColorset 31
*InlineIconBar: IconColorset 30
*InlineIconBar: SelectColorset 32
*InlineIconBar: FocusAndSelectColorset 32
#======================================================================
*InlineIconBar: Action    Mouse 1 N sendcommand FvwmDeiconifyRaiseAndFocus
*InlineIconBar: Action    Mouse 2 N sendcommand 'WindowShade toggle'
*InlineIconBar: Action    Mouse 3 N sendcommand "Iconify"
*InlineIconBar: Action    Mouse 2 M SendCommand Close
#=======================================================================

KillModule InlinePanel
DestroyModuleConfig InlinePanel: *
*InlinePanel: Colorset 30
*InlinePanel: Font "xft:Inconsolata:Style=Bold:pixelsize=14:antialias=true:hinting=slight"
*InlinePanel: BoxSize smart
*InlinePanel: Frame 1
*InlinePanel: Padding 1 1
#*InlinePanel: Columns $[vp.width]
#*InlinePanel: Rows 1
PipeRead 'echo SetEnv pager.width $(( $[desk.pagesx]*$[vp.width]*$[FVWM_TB_HEIGHT]/$[vp.height] ))'
PipeRead 'echo SetEnv xclock.width $(( 2*$[FVWM_TB_HEIGHT] ))'
PipeRead 'echo SetEnv stalonetray.width $(( 3*$[FVWM_TB_HEIGHT] ))'
#PipeRead 'echo SetEnv iconman.width $(( $[vp.width]- $[FVWM_TB_HEIGHT] - $[pager.width] - $[stalonetray.width] ))'
PipeRead 'echo SetEnv iconman.width $(( $[vp.width] - $[pager.width] - $[stalonetray.width] - $[xclock.width] ))'
# PipeRead 'echo SetEnv iconman.width $(( $[vp.width]- $[FVWM_TB_HEIGHT] - $[pager.width] - $[text.width] ))'
*InlinePanel: (Frame 0 Padding 0 0 Container(Rows 1 Columns $[vp.width], Frame 1, Padding 0 0)
*InlinePanel: ($[pager.width]x1, Frame 0, Padding 1 1, Swallow (SwallowNew) FvwmPager 'Module FvwmPager InlinePager *')
*InlinePanel: ($[iconman.width]x1, Frame 0, Padding 1 1, Swallow (SwallowNew) FvwmIconMan 'Module FvwmIconMan InlineIconBar')
*InlinePanel: ($[stalonetray.width]x1, Frame 0, Padding 1 1, Swallow (NoClose,UseOld) "stalonetray" `Exec exec stalonetray`)
*InlinePanel: ($[xclock.width]x1, Frame 0, Padding 2 4, Swallow (UseOld,NoHints,ReSpawn) "xclock" `Exec exec xclock -bg rgb:E5/E6/E1 -fg rgb:03/03/03 -digital -twentyfour -strftime "%k:%M" -face "Inconsolata-12" -padding 0`)

ModularDesktop:

# pager, clock, systray for fvwm
#
Style Pager* !Title, !Handles, BorderWidth 3, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom
Style Clock* !Title, !Handles, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom, BorderWidth 3
Style XClock* !Title, !Handles, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom, BorderWidth 3
Style Date* !Title, !Handles, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom, BorderWidth 3
Style Tray* !Title, !Handles, BorderWidth 3, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom
Style IconTaskBar !Title, !Handles, BorderWidth 3, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom
Style Inline* !Title, !Handles, BorderWidth 3, WindowListSkip, CirculateSkip, Sticky, NeverFocus, StaysOnBottom

DestroyModuleConfig PagerOnly
*PagerOnly: DeskTopScale 24
*PagerOnly: Geometry +12+12
*PagerOnly: WindowBorderWidth 0.3
#*PagerOnly: Fore #D09D25
*PagerOnly: Colorset * 27
*PagerOnly: HilightColorset * 34
*PagerOnly: WindowColorsets 28 29
*PagerOnly: Font none
#*PagerOnly: SmallFont "xft:Sans:style=Regular:pixelsize=9:antialias=True"
*PagerOnly: Balloons
*PagerOnly: BalloonColorset * 5
*PagerOnly: BalloonFont "Shadow=0 0 SE:xft:123:style=regular:pixelsize=10:antialias=true:hinting=slight"
*PagerOnly: BalloonYOffset +2
*PagerOnly: BalloonBorderWidth 0
*PagerOnly: BalloonFore #1F1F1F
*PagerOnly: BalloonBack #E5E5E5
*PagerOnly: UseSkipList
# *PagerOnly: SolidSeparators
# *PagerOnly: NoSeparators
*PagerOnly: ShapeLabels
*PagerOnly: !MiniIcons
*PagerOnly: MoveThreshold 5

SetEnv PagerButtons_Width 176
SetEnv PagerButtons_Height 24

KillModule PagerButtons
DestroyModuleConfig PagerButtons: *
*PagerButtons: Colorset 27
*PagerButtons: Font "xft:Inconsolata:Style=Bold:pixelsize=14:antialias=true:hinting=slight"
*PagerButtons: BoxSize smart
*PagerButtons: Frame 0
*PagerButtons: Padding 0 0
#*PagerButtons: Columns $[vp.width]
#*PagerButtons: Rows 1
PipeRead 'echo SetEnv pager.width $(( $[desk.pagesx]*$[vp.width]*$[FVWM_TB_HEIGHT]/$[vp.height] ))'
*PagerButtons: (Frame 0 Padding 0 0 Container(Rows 1 Columns 1, Frame 1, Padding 0 0)
*PagerButtons: ($[pager.width]x1, Frame 0, Padding 1 1, Swallow (SwallowNew) FvwmPager 'Module FvwmPager PagerOnly *')

KillModule ClockButtons
DestroyModuleConfig ClockButtons: *
PipeRead 'echo SetEnv xclock.width $(( 2*$[FVWM_TB_HEIGHT] ))'
*ClockButtons: Colorset 30
*ClockButtons: Font "xft:Source Sans Pro:Regular:pixelsize=12:antialias=true:hinting=slight"
# *ClockButtons: Columns 1
*ClockButtons: Geometry 100x$[FVWM_TB_HEIGHT]+563+2
*ClockButtons: Frame 1
*ClockButtons: Padding 1
*ClockButtons: (Frame 0 Padding 0 0 Container(Rows 1 Colums 1, Frame 1 Padding 0 0)
# *ClockButtons: (1x1, Frame 2, Padding 4 2, Swallow (UseOld,NoHints,ReSpawn) "xclock" `Exec exec xclock -digital -bg rgb:E6/E5/E1 -fg rgb:0E/0E/0E -strftime "%a %e %b" -face "Inconsolata-12" -padding 0`)
*ClockButtons: (1x1, Frame 2, Padding 24 2, Swallow (UseOld,NoHints,ReSpawn) "xclock" `Exec exec xclock -digital -brief -bg rgb:E6/E5/E1 -fg rgb:0E/0E/0E -twentyfour -strftime "%k:%M" -face "Inconsolata-12" -padding 0`)

KillModule DateButtons:
DestroyModuleConfig DateButtons: *
PipeRead 'echo SetEnv xclock.width $(( 2*$[FVWM_TB_HEIGHT] ))'
*DateButtons: Colorset 30
*DateButtons: Font "xft:Source Sans Pro:Regular:pixelsize=12:antialias=true:hinting=slight"
*DateButtons: Columns 1
*DateButtons: Geometry 100x$[FVWM_TB_HEIGHT]+703+2
*DateButtons: Frame 1
*DateButtons: Padding 1
*DateButtons: (Frame 0 Padding 0 0 Container(Rows 1 Colums 1, Frame 1 Padding 0 0)
*DateButtons: (1x1, Frame 2, Padding 5 2, Swallow (UseOld,NoHints,ReSpawn) "xclock" `Exec exec xclock -digital -bg rgb:E6/E5/E1 -fg rgb:0E/0E/0E -strftime "%a %e %b" -face "Inconsolata-12" -padding 0`)

KillModule TrayButtons:
DestroyModuleConfig TrayButtons: *
PipeRead 'echo SetEnv tray.width $(( 4*$[FVWM_TB_HEIGHT] ))'
*TrayButtons: Colorset 27
*TrayButtons: Font "xft:Source Sans Pro:Regular:pixelsize=12:antialias=true:hinting=slight"
*TrayButtons: Columns 1
*TrayButtons: Geometry 120x$[FVWM_TB_HEIGHT]-4+4
*TrayButtons: Frame 1
*TrayButtons: Padding 1
*TrayButtons: (Frame 0 Padding 0 0 Container(Rows 1 Colums 1, Frame 1 Padding 0 0)
*TrayButtons: ($[tray.width]x1, Frame 0, Padding 1 1, Swallow (NoClose,UseOld) "stalonetray" `Exec exec stalonetray`)

KillModule XClockButtons
DestroyModuleConfig XClockButtons: *
PipeRead 'echo SetEnv xclock.width $(( 2*$[FVWM_TB_HEIGHT] ))'
*XClockButtons: Colorset 30
*XClockButtons: Font "xft:Source Sans Pro:Regular:pixelsize=12:antialias=true:hinting=slight"
*XClockButtons: Columns 1
*XClockButtons: Geometry 120x120-2-24
*XClockButtons: Frame 0
*XClockButtons: Padding 0 0
*XClockButtons: (Frame 0 Padding 0 0 Container(Rows 1 Colums 1, Frame 1 Padding 0 0)
*XClockButtons: (1x1, Frame 1, Padding 0 0, Swallow (UseOld,NoHints,ReSpawn) "xclock" `Exec exec xclock -bg rgb:E6/E5/E1 -fg rgb:0E/0E/0E -padding 0`)

# IconTaskBar
#===========================================================
DestroyModuleConfig IconTaskBar
*IconTaskBar: Title ""    
*IconTaskBar: NumManagers 1
#=============================================================
# stand alone
# *IconTaskBar: ManagerGeometry 0x1+300+4
# *IconTaskBar: ButtonGeometry 200x$[FVWM_TB_HEIGHT]
# *IconTaskBar: MaxButtonWidthByColumns 1
# taskbar
*IconTaskBar: ManagerGeometry 1X1
*IconTaskBar: ButtonGeometry 1x$[PagerButtons_Height]
# *IconTaskBar: MaxButtonWidth 200
*IconTaskBar: MaxButtonWidthByColumns 1
*IconTaskBar: Font "Shadow=0 0 SE:xft:Sans:style=Bold:size=9:antialias=true:hinting=slight"
*IconTaskBar: Format "%c: %i"
*IconTaskBar: FollowFocus true
*IconTaskBar: DontShow icon=Untitled resource=Untitled
*IconTaskBar: Resolution page
*IconTaskBar: ShowOnlyIcons false
*IconTaskBar: DrawIcons false
*IconTaskBar: ShowOnlyFocused false
*IconTaskBar: ShowTransient false
*IconTaskBar: Sort id
*IconTaskBar: UseWinList true
*IconTaskBar: ReliefThickness 0
*IconTaskBar: Tips Always
*IconTaskBar: TipsDelays 1000 300
*IconTaskBar: TipsFont "Shadow=0 0 SE:xft:Monospace:style=regular:pixelsize=10:antialias=true:hinting=slight"
*IconTaskBar: TipsFormat "%i"
*IconTaskBar: TipsBorderWidth 0
*IconTaskBar: TipsColorset 3
*IconTaskBar: TipsJustification center
# ===============================================#
*IconTaskBar: IconButton flat
*IconTaskBar: PlainButton flat
*IconTaskBar: SelectButton flat
*IconTaskBar: FocusButton up
*IconTaskBar: FocusAndSelectButton up
*IconTaskBar: Colorset 27
*IconTaskBar: PlainColorset 27
*IconTaskBar: FocusColorset 34
*IconTaskBar: IconColorset 27
*IconTaskBar: SelectColorset 35
*IconTaskBar: FocusAndSelectColorset 35
#======================================================================
*IconTaskBar: Action    Mouse 1 N sendcommand FvwmDeiconifyRaiseAndFocus
*IconTaskBar: Action    Mouse 2 N sendcommand 'WindowShade toggle'
*IconTaskBar: Action    Mouse 3 N sendcommand "Iconify"
*IconTaskBar: Action    Mouse 2 M SendCommand Close
#=======================================================================

KillModule InlineTaskManager
DestroyModuleConfig InlineTaskManager: *
*InlineTaskManager: Colorset 27
*InlineTaskManager: Font "xft:Inconsolata:Style=Bold:pixelsize=14:antialias=true:hinting=slight"
*InlineTaskManager: BoxSize smart
*InlineTaskManager: Frame 1
*InlineTaskManager: Padding 1 1
#*InlineTaskManager: Columns $[vp.width]
#*InlineTaskManager: Rows 1
# PipeRead 'echo SetEnv iconman.width $(( $[vp.width] - $[pager.width] - $[stalonetray.width] - $[xclock.width] ))'
*InlineTaskManager: (Frame 0 Padding 0 0 Container(Rows 1 Columns 1, Frame 1, Padding 0 0)
*InlineTaskManager: (1x1, Frame 0, Padding 1 1, Swallow (SwallowNew) FvwmIconMan 'Module FvwmIconMan IconTaskBar')

Mouse:

# R - the root window, I - Icon, F - frame corners, S - frame sides, T - title bar, 
# W - application window and 0-9 - buttons.
# Note that A will stand for anywhere, i.e. it doesn't matter where the mouse is located.
#======================================================================#

# Widescreen formatting 
DestroyFunc ReadableWidth
AddToFunc ReadableWidth
+ I Maximize 60
+ I Move 50-50w 50-50w

# Autoshade functions set mimics
# kwin autoshade feature
DestroyFunc ToggleAutoshaded
AddToFunc ToggleAutoshaded
+ I State 0

DestroyFunc AutoShade
AddToFunc AutoShade
+ I ThisWindow (State 0) WindowShade True

DestroyFunc AutoUnshade
AddToFunc AutoUnshade
+ I ThisWindow (State 0) WindowShade False

# some simple default mouse bindings:
#   for the root window:
Mouse 1 R       A       Menu MenuFvwmRoot Nop
Mouse 2 R       A       Menu MenuFvwmWindowOps Nop
Mouse 3 R       A       WindowList

#   for other parts of the window/borders/icons:
Mouse 1 F       A       FuncFvwmResizeOrRaise
# Mouse 1 TS      A       FuncFvwmMoveOrRaise
Mouse 1 TS      A       Move-Raise-Shade
Mouse 1 I       A       AnimateIcon
Mouse 2 I       A       AnimateIcon
Mouse 3 I	A	FvwmDeleteOrDestroy
Mouse 2 FST     A       FvwmWindowShade
Mouse 3 TSIF    A       RaiseLower

Mouse 1 1 	A	Menu MenuFvwmWindowOps Nop
Mouse 2 1	A	ReadableWidth
Mouse 3 1	A	Destroy

Mouse 1 3	A	FvwmWindowShade
# Mouse 1 3	A	AutoShade

Mouse 1	2	A	Close
Mouse 1 4	A	FvwmMaximize
# -- thumbnails or icons, not both
# Mouse 1 6	A	Iconify
Mouse 1 6	A	IconThumb

Mouse 2 4	A	FvwmVMaximize
Mouse 3 4	A	FvwmHMaximize

Keys

# Scroll Pages
Key Right		A	CM  Scroll +100 0
Key Left		A	CM  Scroll -100 0
Key Up			A	CM	Scroll +0 -100
Key Down		A	CM	Scroll +0 +100

# Scroll Desktops
Key Return A 4 Desk		1 1 1
Key Return A S4 Desk	-1 0 0

# Switch Window Focus
# Key Tab			A 	M  	SwitchWindow
Key Tab		A		M	NextWindow
Key Tab		A		4	PrevWindow
Key J       A    	CM   SwapWindowsDir SouthEast SouthWest 
Key K       A    	CM   SwapWindowsDir NorthEast NorthWest

# Function Keys
Key F1		A		M	Exec exec $[fvwm_terminal] &
Key F1		A		C4	rxvt-under-mouse &
Key F2		A		M	Exec exec dmenu_run -nb rgb:0B/0B/0B -nf rgb:F5/F5/F5 -sb rgb:A6/7B/5B -sf rgb:F5/F5/F5 &
Key F3		A		M	Exec exec uxterm &
Key F4		A		M	Close
Key F5		A		M	Move 50-50w 50-50w
Key F6		A		M	Iconify
Key F7		A		M	Maximize 0 100
Key F8		A		M	Maximize 100 0
Key F9		A		M	Destroy
Key F10		A		M	Maximize 100 100
Key F11		A		M	Module FvwmRearrange -tile -u -animate -resize -h 2 2 98 98 -mn 2
Key F12		A		M	Module FvwmRearrange -u -cascade -resize -animate -incx 2 -incy 2 2 2 90 90
Key F13		A		C4	Exec exec gksudo $[fvwm_filemanager] &
Key F14		A		C4	Exec exec gksudo $[fvwm_editor] &

Key F1		A	SM	AnimatedMove +0 +0
Key F2		A	SM	AnimatedMove -0 +0
Key F3		A	SM	AnimatedMove +0 -0
Key F4		A	SM	AnimatedMove -0 -0

Key Right	A	SM	MoveRight
Key Left	A	SM	MoveLeft
Key Up		A	SM	MoveUp
Key Down	A	SM	MoveDown

Key Left	A	S4	ShrinkEast
Key Right	A	S4	GrowEast
Key Down	A	S4	GrowSouth
Key Up		A	S4	ShrinkSouth
Key Left	A	C4	Resize Direction West
Key Up		A	C4	Resize Direction North

Key q	A	4	Restart
Key q	A	S4	Module FvwmScript FvwmScript-Quit

Key Space	A	4	Popup MenuFvwmRoot Nop
Key Space	A	M	Menu MenuFvwmWindowOps Nop

Key 1		A	4	GoToDeskAndPage 0 0 0
Key 2		A	4	GoToDeskAndPage 0 1 0
Key 3		A	4	GoToDeskAndPage 0 2 0
Key 4		A	4	GoToDeskAndPage 0 0 1
Key 5		A	4	GoToDeskAndPage 0 1 1
Key 6		A	4	GoToDeskAndPage 0 2 1
Key 7		A	4	GoToDeskAndPage 0 0 2
Key 8		A	4	GoToDeskAndPage 0 1 2
Key 9		A	4	GoToDeskAndPage 0 2 2

#====================== Apps =======================================#
Key XF86HomePage		A	A	FvwmBrowser
Key F14				A	4	FvwmMail
Key Menu			A	A	Exec exec thunar &
Key F14				A	CM	Exec exec uxterm -e tmux &
Key XF86AudioMute		A	A	Exec exec amixer set Master toggle -q &
Key XF86AudioRaiseVolume	A	A	Exec exec amixer set Master 2+ -q &
Key XF86AudioLowerVolume	A	A	Exec exec amixer set Master 2- -q &
Key c				A	C4	Exec exec xcalc &
Key g				A	C4	FvwmGimp
Key l				A	C4	Exec exec $[fvwm_editor]
Key k				A	C4	Exec exec geany &
Key p				A	C4	Exec exec libreoffice --calc &
Key o				A	C4	Exec exec libreoffice --writer &
Key Pause			A	C4	Exec exec "$HOME/bin/ConkyFvwm.sh"
Key Print			A	C4	Exec exec "$HOME/bin/scrot_delay.sh"
Key b				A	C4	Exec exec "$HOME/bin/ConkyTao.sh"
key w				A	C4	Exec exec "$HOME/bin/ConkyWeather.sh"

key u	A	CM	UnDecorate
Key d	A	CM	Decorate

That's it, edit to taste.

If you are new to Fvwm, definitely read through this.

And just about anything you'll want to try has been asked/attempted in the Fvwm forum. Thomas Adam knows his stuff and is pretty good about answering questions.

Last edited by PackRat (2013-04-12 19:02:03)


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#94 2013-04-12 21:16:17

rkwurth
#! Junkie
Registered: 2012-09-04
Posts: 365

Re: The ultimate fvwm thread

Thank you for taking the time, PackRat! Will copy and experiment.
Will post in response if I come up with anything worthwhile.

Offline

#95 2013-04-17 01:45:06

rstrcogburn
CrunchRanger
From: NM - The Land of Enchantment
Registered: 2010-06-12
Posts: 1,950
Website

Re: The ultimate fvwm thread

Here's an FVWM ebuild template, that you'd need to put in a local overlay to include those nasty unsupported bells and whistles on 32 or 64 bit Gentoo like rounded windows.

https://dl.dropboxusercontent.com/u/104 … vwm.tar.gz

It's basically a gentoo version of arch's fvwm+. wink

Last edited by rstrcogburn (2013-08-10 00:09:46)


Pack em in snow!

Offline

#96 2013-05-20 18:31:20

nebulaehair
#! Junkie
Registered: 2013-01-05
Posts: 268

Re: The ultimate fvwm thread

Is there a secure way of replacing openbox with fvwm? Quite curious about this. I recently discovered fvm and, personally, I think it is way cooler and even more minimalistic than openbox. Frankly, I fancy it a lot.


"The time we wish we spent but lost it all."
- Coheed and Cambria.

my favorite distros: solyd xk | kwheezy

Offline

#97 2013-05-20 20:34:59

joek
#! Junkie
Registered: 2011-09-06
Posts: 497

Re: The ultimate fvwm thread

First, install fvwm:

sudo apt-get install fvwm

Secondly, if you are using GDM, check to see if you have a file called /usr/share/xsessions/fvwm.desktop. I think it is created automatically, but if not:

sudo touch /usr/share/xsession/fvwm.desktop && nano /usr/share/xsession/fvwm.desktop

Replace nano with the name of your favourite text editor. The file should contain:

## /etc/dm/Sessions/Fvwm.desktop ##

[Desktop Entry]
Name=Fvwm
Comment=Fvwm
Exec=fvwm2
Terminal=False
TryExec=fvwm2
Type=Application

[Window Manager]
SessionManaged=true

##

If you are using SlIM:

sudo nano /etc/slim.conf

The file should look something like this:

# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions            openbox-session

Edit the file so it now looks like this:

# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions            fvwm,openbox-session

If you do not use a display manager:

nano ~/.xinitrc

If you had an .xinitrc file already, it probably looks something like this:

exec openbox-session

Change this to

exec fvwm

Now, logout.
If using a display manager, ensure that fvwm is selected. You can cycle the available wms by pressing F1 in slim, or by means of a menu underneath the username and password fields in GDM. Login, and if necessary startx. Congratulations, you are now using fvwm.

If you decide you want to uninstall openbox:

sudo apt-get purge openbox

ETA: If you are not sure about whether you use SlIM or GDM, if you are using Waldorf you are probably using SlIM; Statler, GDM.
To check which display manager you are using, run

cat /etc/X11/default-display/manager

Last edited by joek (2013-05-20 20:39:06)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo