Created
November 5, 2022 19:19
-
-
Save sebaro/81190adcea808358938eb14d6ec391a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## Minim FVWM Config | |
########## by sebaro | |
########## | |
########## rev.2022-01-26 | |
########## Settings | |
##### Style | |
## Look | |
InfoStoreAdd mTheme "Breeze" | |
InfoStoreAdd mDecor "Some" | |
InfoStoreAdd mWallpaper "Summer Wallpaper.png" | |
InfoStoreAdd mBgColor "#E0DFDE" | |
InfoStoreAdd mColorStyle "#E0DFDE" | |
InfoStoreAdd mTintStyle "20" | |
## Display | |
InfoStoreAdd mGamma "0.7" | |
InfoStoreAdd mBacklight "50" | |
InfoStoreAdd mDPMS "7200 7200 7200" | |
## Titlebar | |
InfoStoreAdd mTitlebarFontFamily "DejaVu Sans" | |
InfoStoreAdd mTitlebarFontSize "9:bold" | |
InfoStoreAdd mTitlebarFontColor "#EEEEEE" | |
## Menus | |
InfoStoreAdd mDMenuFontFamily "DejaVu Sans" | |
InfoStoreAdd mDMenuFontSize "9:bold" | |
InfoStoreAdd mWMenuFontFamily "DejaVu Sans" | |
InfoStoreAdd mWMenuFontSize "9" | |
## Pager | |
InfoStoreAdd mPagerPosition "Bottom" | |
InfoStoreAdd mPagerSize "4x1" | |
InfoStoreAdd mPagerWidth "350" | |
InfoStoreAdd mPagerHeight "50" | |
InfoStoreAdd mPagerMargin "5" | |
InfoStoreAdd mPagerSeparator "SolidSeparators" | |
InfoStoreAdd mPagerSeparatorColor "#63c3f7" | |
InfoStoreAdd mPagerFontFamily "DejaVu Sans" | |
InfoStoreAdd mPagerFontSize "9:bold" | |
InfoStoreAdd mPagerFontColor "#000000" | |
## IconBox | |
InfoStoreAdd mIconBoxPosition "Bottom" | |
InfoStoreAdd mIconBoxWidth "350" | |
InfoStoreAdd mIconBoxHeight "40" | |
InfoStoreAdd mIconBoxMargin "60" | |
## Ident | |
InfoStoreAdd mIdentFontFamily "DejaVu Sans" | |
InfoStoreAdd mIdentFontSize "9" | |
InfoStoreAdd mIdentFontColor "#444444" | |
## Scripts | |
InfoStoreAdd mScriptColor0 "#EEEEEE" | |
InfoStoreAdd mScriptColor1 "#DDDDDD" | |
InfoStoreAdd mScriptColor2 "#E78787" | |
InfoStoreAdd mScriptColor3 "#89D5D7" | |
## Edges | |
InfoStoreAdd mEdgeLeft "10" | |
InfoStoreAdd mEdgeRight "10" | |
InfoStoreAdd mEdgeTop "10" | |
InfoStoreAdd mEdgeBottom "50" | |
##### Applications | |
InfoStoreAdd mSetWallpaper "fvwm-root -r" | |
InfoStoreAdd mTerminal "urxvt" | |
InfoStoreAdd mFileManager "konqueror /home" | |
InfoStoreAdd mAudioMixer "amixer -M sset Master" | |
InfoStoreAdd mAudioVolume "10%" | |
##### Keymaps | |
InfoStoreAdd mKeyMaps "ro std, ro std_cedilla, us" | |
##### Scripts | |
InfoStoreAdd mStartScripts "Chrono,Yard" | |
############################## | |
########## Paths | |
InfoStoreAdd mHome "$[HOME]/.fvwm" | |
InfoStoreAdd mArtwork "$[infostore.mHome]/artwork" | |
InfoStoreAdd mTools "$[infostore.mHome]/tools" | |
InfoStoreAdd mScripts "$[infostore.mHome]/scripts" | |
InfoStoreAdd mTemp "$[infostore.mHome]/temp" | |
InfoStoreAdd mDecors "$[infostore.mArtwork]/decors" | |
InfoStoreAdd mWallpapers "$[infostore.mArtwork]/wallpapers" | |
InfoStoreAdd mBanners "$[infostore.mArtwork]/banners" | |
InfoStoreAdd mIcons "$[infostore.mTemp]/icons/$[infostore.mTheme]" | |
InfoStoreAdd mApps "$[infostore.mTemp]/apps" | |
InfoStoreAdd mScreenshots "$[infostore.mTemp]/screenshots" | |
############################## | |
########## Virtual Desktop | |
DesktopSize $[infostore.mPagerSize] | |
EdgeScroll 0 0 | |
EdgeThickness 1 | |
EwmhBaseStruts $[infostore.mEdgeLeft] $[infostore.mEdgeRight] $[infostore.mEdgeTop] $[infostore.mEdgeBottom] | |
############################## | |
########## Mouse, Key & Stroke Bindings | |
BusyCursor Read True, Wait True | |
CursorStyle root left_ptr | |
CursorStyle default left_ptr | |
CursorStyle position left_ptr | |
CursorStyle sys left_ptr | |
CursorStyle menu hand2 | |
CursorStyle title left_ptr | |
CursorStyle resize fleur | |
CursorStyle top top_side | |
CursorStyle bottom bottom_side | |
CursorStyle right right_side | |
CursorStyle left left_side | |
CursorStyle top_left top_left_corner | |
CursorStyle top_right top_right_corner | |
CursorStyle bottom_left top_right_corner | |
CursorStyle bottom_right top_left_corner | |
CursorStyle wait watch | |
IgnoreModifiers L25 | |
############################## | |
########## Colorsets | |
##### Menu | |
Colorset 0 fg #000000, bg $[infostore.mBgColor] | |
Colorset 1 fg #000000, bg #000000, hi #000000, Translucent $[infostore.mColorStyle] $[infostore.mTintStyle], IconAlpha 90 | |
Colorset 2 fg #FFFFFF, bg #434343, hi #000000, IconAlpha 100 | |
##### Titlebar & Border | |
Colorset 3 fg $[infostore.mTitlebarFontColor], bg $[infostore.mColorStyle], RootTransparent, Tint $[infostore.mColorStyle] $[infostore.mTintStyle] | |
#Colorset 3 fg $[infostore.mTitlebarFontColor], bg $[infostore.mColorStyle] | |
##### Pager | |
## Default | |
Colorset 4 bg $[infostore.mColorStyle], RootTransparent, Tint $[infostore.mColorStyle] $[infostore.mTintStyle] | |
## Hilight | |
Colorset 5 bg $[infostore.mColorStyle], RootTransparent, Tint #FFFFFF 50 | |
## Windows | |
Colorset 6 bg $[infostore.mColorStyle], RootTransparent, Tint #FFFFFF 20 | |
Colorset 7 bg $[infostore.mColorStyle], RootTransparent, Tint #FFFFFF 30 | |
## Balloon | |
Colorset 8 fg $[infostore.mPagerFontColor], bg $[infostore.mColorStyle], RootTransparent, Tint #FFFFFF 50 | |
##### Identify | |
Colorset 9 fg $[infostore.mIdentFontColor], bg $[infostore.mBgColor] | |
##### Scripts | |
Colorset 10 fg $[infostore.mScriptColor0], bg $[infostore.mColorStyle], hi $[infostore.mScriptColor0], sh $[infostore.mScriptColor0], RootTransparent, Tint $[infostore.mColorStyle] $[infostore.mTintStyle] | |
Colorset 11 fg $[infostore.mScriptColor1], bg $[infostore.mColorStyle], RootTransparent, Tint $[infostore.mColorStyle] $[infostore.mTintStyle] | |
Colorset 12 fg $[infostore.mScriptColor2], bg $[infostore.mColorStyle], RootTransparent, Tint $[infostore.mColorStyle] $[infostore.mTintStyle] | |
Colorset 13 fg $[infostore.mScriptColor3], bg $[infostore.mColorStyle], RootTransparent, Tint $[infostore.mColorStyle] $[infostore.mTintStyle] | |
##### Buttons | |
Colorset 14 bg $[infostore.mColorStyle], RootTransparent, Tint #FFFFFF 0 | |
############################## | |
########## Windows | |
##### Style | |
Style * Colorset 3 | |
Style * HilightColorset 3 | |
Style * Font "xft:$[infostore.mTitlebarFontFamily]:size=$[infostore.mTitlebarFontSize]" | |
Style * DecorateTransient | |
Style * RaiseTransient | |
Style * WindowShadeSteps 20 | |
Style * ResizeOpaque | |
Style * SloppyFocus | |
Style * MouseFocusClickRaises | |
Style * GrabFocusOff | |
Style * GrabFocusTransientOff | |
Style * Button 1, Button 2, Button 4, Button 6 | |
Style * BorderWidth 2, HandleWidth 2 | |
Style * MWMFunctions, MWMDecor, HintOverride, ResizeHintOverride | |
##### Movement and Placement | |
OpaqueMoveSize -1 | |
GeometryWindow hide Move, Resize | |
#HideGeometryWindow Move, Resize | |
##### Decorations | |
DestroyDecor Default | |
AddToDecor Default | |
+ TitleStyle LeftJustified Height 32 | |
+ TitleStyle Colorset 3 -- Flat | |
+ ButtonStyle 1 AllActive (MiniIcon) AllInactive (MiniIcon) | |
+ ButtonStyle 2 ActiveUp (Pixmap $[infostore.mDecors]/$[infostore.mDecor]/close_active_up.png) \ | |
ActiveDown (Pixmap $[infostore.mDecors]/$[infostore.mDecor]/close_active_down.png) \ | |
Inactive (Pixmap $[infostore.mDecors]/$[infostore.mDecor]/close_inactive.png) | |
+ ButtonStyle 2 - Clear | |
+ ButtonStyle 4 ActiveUp (Pixmap $[infostore.mDecors]/$[infostore.mDecor]/max_active_up.png) \ | |
ActiveDown (Pixmap $[infostore.mDecors]/$[infostore.mDecor]/max_active_down.png) \ | |
Inactive (Pixmap $[infostore.mDecors]/$[infostore.mDecor]/max_inactive.png) | |
+ ButtonStyle 6 ActiveUp (Pixmap $[infostore.mDecors]/$[infostore.mDecor]/min_active_up.png) \ | |
ActiveDown (Pixmap $[infostore.mDecors]/$[infostore.mDecor]/min_active_down.png) \ | |
Inactive (Pixmap $[infostore.mDecors]/$[infostore.mDecor]/min_inactive.png) | |
+ ButtonStyle All -- Flat UseTitleStyle | |
+ BorderStyle Colorset 3 -- Flat HiddenHandles NoInset | |
############################## | |
########## Applications | |
Style "*" Icon "$[infostore.mIcons]/logos/32/minim.png", MiniIcon "$[infostore.mIcons]/logos/16/minim.png", IconOverride, EWMHMiniIconOverride, PositionPlacement Center, SkipMapping | |
Style "$[infostore.mTerminal]" Icon "$[infostore.mIcons]/apps/32/utilities-terminal.png", MiniIcon "$[infostore.mIcons]/apps/16/utilities-terminal.png" | |
PipeRead '[ -f "$[infostore.mApps]/icons" ] && echo Read "$[infostore.mApps]/icons"' | |
PipeRead '[ -f "$[infostore.mApps]/styles" ] && echo Read "$[infostore.mApps]/styles"' | |
############################## | |
########## Modules | |
##### Pager | |
Style "FvwmPager" !Title, !Handles, !Borders, Sticky, WindowListSkip, FixedSize, !Iconifiable | |
PipeRead '"$[infostore.mTools]/Modules" "$[vp.width]" "$[vp.height]" "Pager" "$[infostore.mPagerPosition]" "$[infostore.mPagerWidth]" "$[infostore.mPagerHeight]" "$[infostore.mPagerMargin]"' | |
DestroyModuleConfig FvwmPager: * | |
*FvwmPager: Geometry $[infostore.mPagerGeometry] | |
*FvwmPager: MiniIcons | |
*FvwmPager: Colorset * 4 | |
*FvwmPager: Fore $[infostore.mPagerSeparatorColor] | |
*FvwmPager: HilightColorset * 5 | |
*FvwmPager: WindowColorsets 6 7 | |
*FvwmPager: Font none | |
*FvwmPager: SmallFont none | |
*FvwmPager: Balloons All | |
*FvwmPager: BalloonFont "xft:$[infostore.mPagerFontFamily]:size=$[infostore.mPagerFontSize]" | |
*FvwmPager: BalloonYOffset +4 | |
*FvwmPager: BalloonBorderWidth 1 | |
*FvwmPager: BalloonColorset * 8 | |
*FvwmPager: UseSkipList | |
*FvwmPager: MoveThreshold 0 | |
*FvwmPager: $[infostore.mPagerSeparator] | |
*FvwmPager: WindowBorderWidth 0 | |
##### IconBox | |
PipeRead '"$[infostore.mTools]/Modules" "$[vp.width]" "$[vp.height]" "IconBox" "$[infostore.mIconBoxPosition]" "$[infostore.mIconBoxWidth]" "$[infostore.mIconBoxHeight]" "$[infostore.mIconBoxMargin]"' | |
Style * !IconTitle | |
Style * StickyIcon | |
Style * IconBox $[infostore.mIconBoxGeometry], IconGrid 10 10, IconSize 32 32 | |
Style * IconTitleRelief 0 | |
Style * IconBackgroundRelief 0 | |
Style * IconBackgroundPadding 0 | |
##### Event | |
DestroyModuleConfig FvwmEvent: * | |
*FvwmEvent: destroy_window SaveScriptPosition | |
*FvwmEvent: add_window SetWindowStyle | |
##### Animate | |
DestroyModuleConfig FvwmAnimate: * | |
*FvwmAnimate: Color $[infostore.mColorStyle] | |
*FvwmAnimate: Effect Frame | |
*FvwmAnimate: Delay 3 | |
*FvwmAnimate: Iterations 50 | |
*FvwmAnimate: Width 1 | |
##### Ident | |
DestroyModuleConfig FvwmIdent: * | |
*FvwmIdent: Colorset 9 | |
*FvwmIdent: Font "xft:$[infostore.mIdentFontFamily]:size=$[infostore.mIdentFontSize]" | |
##### Buttons | |
Style "FvwmButtons" !Title, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, FixedPosition, FixedSize, !Iconifiable | |
PipeRead '"$[infostore.mTools]/Modules" "$[vp.width]" "$[vp.height]" "Buttons" "Center" "200" "30" "0"' | |
DestroyModuleConfig FvwmButtons: * | |
*FvwmButtons: Colorset 14 | |
*FvwmButtons: Geometry $[infostore.mButtonsGeometry] | |
*FvwmButtons: Rows 1 | |
*FvwmButtons: Columns 1 | |
*FvwmButtons: Padding 0 0 | |
*FvwmButtons: Frame 0 | |
*FvwmButtons: (Icon $[infostore.mBanners]/wait.png) | |
##### Scripts | |
Style "FvwmScript" !Title, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, !FixedPosition, FixedSize, !Iconifiable, StaysOnBottom | |
DestroyModuleConfig FvwmScript: * | |
*FvwmScript: Path $[infostore.mScripts] | |
############################## | |
########## Menus | |
##### Style | |
## Desktop | |
MenuStyle * Font "xft:$[infostore.mDMenuFontFamily]:size=$[infostore.mDMenuFontSize]" | |
MenuStyle * MenuColorset 1 | |
MenuStyle * ActiveColorset 2 | |
MenuStyle * HilightBack | |
MenuStyle * Hilight3DOff | |
MenuStyle * BorderWidth 1 | |
MenuStyle * ItemFormat "%5p%i%6p%l%7p%>%2p" | |
MenuStyle * Animation | |
MenuStyle * !TitleWarp | |
MenuStyle * TitleUnderlines0 | |
MenuStyle * RemoveSubmenus | |
MenuStyle * VerticalItemSpacing 0 0 | |
MenuStyle * PopupOffset 0 100 | |
MenuStyle * !AutomaticHotkeys | |
MenuStyle * TrianglesSolid | |
MenuStyle * PopupImmediately | |
MenuStyle * PopdownImmediately | |
MenuStyle * SeparatorsLong | |
## Window | |
CopyMenuStyle * WinMenuStyle | |
MenuStyle WinMenuStyle Font "xft:$[infostore.mWMenuFontFamily]:size=$[infostore.mWMenuFontSize]" | |
MenuStyle WinMenuStyle MenuColorset 0 | |
MenuStyle WinMenuStyle ItemFormat "%15p%i%6p%l%15p%>%5p" | |
MenuStyle WinMenuStyle VerticalMargins 10 10 | |
##### Desktop Menu | |
DestroyMenu DesktopMenu | |
AddToMenu DesktopMenu "M i n i m%$[infostore.mIcons]/logos/32/minim.png%" | |
+ "" Nop | |
+ "Terminal%$[infostore.mIcons]/apps/32/utilities-terminal.png%" Exec exec $[infostore.mTerminal] | |
+ "My Home%$[infostore.mIcons]/places/32/user-home.png%" Exec exec $[infostore.mFileManager] | |
+ "Programs%$[infostore.mIcons]/places/32/user-desktop.png%" Popup ProgramsMenu | |
PipeRead '[ "$(ls $[infostore.mScripts] 2>/dev/null | wc -l)" -gt 0 ] && echo + \\"Minimoids%$[infostore.mIcons]/logos/32/minimoids.png%\\" Popup ScriptsMenu' | |
+ "" Nop | |
+ "Settings%$[infostore.mIcons]/categories/32/preferences-desktop.png%" Popup SettingsMenu | |
+ "" Nop | |
+ "E x i t%$[infostore.mIcons]/actions/32/application-exit.png%" PipeRead '[ "$(ls "$[infostore.mScripts]" 2>/dev/null | grep -w "AlterState")" != "" ] && echo FvwmScript AlterState/AlterState || echo Quit' | |
##### Programs | |
DestroyMenu ProgramsMenu | |
AddToMenu ProgramsMenu | |
PipeRead '[ -f $[infostore.mApps]/menu ] && echo Read $[infostore.mApps]/menu' | |
##### Scripts | |
PipeRead '"$[infostore.mTools]/Scripts" menulist "$[infostore.mScripts]"' | |
##### Settings | |
DestroyMenu SettingsMenu | |
AddToMenu SettingsMenu | |
+ "Volume%$[infostore.mIcons]/status/32/audio-volume-medium.png%" Popup VolumeMenu | |
+ "Keyboard%$[infostore.mIcons]/apps/32/preferences-desktop-keyboard.png%" Popup KeymapMenu | |
+ "Style%$[infostore.mIcons]/apps/32/preferences-desktop-theme.png%" Popup StyleMenu | |
+ "Display%$[infostore.mIcons]/apps/32/preferences-desktop-display.png%" Popup DisplayMenu | |
DestroyMenu VolumeMenu | |
AddToMenu VolumeMenu | |
+ "100%%%$[infostore.mIcons]/status/10/audio-volume-100.png%" Exec exec $[infostore.mAudioMixer] 100% | |
+ "90%%%$[infostore.mIcons]/status/10/audio-volume-90.png%" Exec exec $[infostore.mAudioMixer] 90% | |
+ "80%%%$[infostore.mIcons]/status/10/audio-volume-80.png%" Exec exec $[infostore.mAudioMixer] 80% | |
+ "70%%%$[infostore.mIcons]/status/10/audio-volume-70.png%" Exec exec $[infostore.mAudioMixer] 70% | |
+ "60%%%$[infostore.mIcons]/status/10/audio-volume-60.png%" Exec exec $[infostore.mAudioMixer] 60% | |
+ "50%%%$[infostore.mIcons]/status/10/audio-volume-50.png%" Exec exec $[infostore.mAudioMixer] 50% | |
+ "40%%%$[infostore.mIcons]/status/10/audio-volume-40.png%" Exec exec $[infostore.mAudioMixer] 40% | |
+ "30%%%$[infostore.mIcons]/status/10/audio-volume-30.png%" Exec exec $[infostore.mAudioMixer] 30% | |
+ "20%%%$[infostore.mIcons]/status/10/audio-volume-20.png%" Exec exec $[infostore.mAudioMixer] 20% | |
+ "10%%%$[infostore.mIcons]/status/10/audio-volume-10.png%" Exec exec $[infostore.mAudioMixer] 10% | |
+ "Mute%$[infostore.mIcons]/status/10/audio-volume-mute.png%" Exec exec $[infostore.mAudioMixer] 0% | |
DestroyMenu KeymapMenu | |
AddToMenu KeymapMenu | |
PipeRead '"$[infostore.mTools]/Keymaps" "$[infostore.mTheme]" "$[infostore.mKeyMaps]"' | |
DestroyMenu StyleMenu | |
AddToMenu StyleMenu | |
+ "Color%$[infostore.mIcons]/apps/32/preferences-style-color.png%" Popup ColorStyleMenu | |
+ "Tint%$[infostore.mIcons]/apps/32/preferences-style-tint.png%" Popup TintStyleMenu | |
+ "Icons%$[infostore.mIcons]/apps/32/preferences-style-icons.png%" Popup IconStyleMenu | |
DestroyMenu ColorStyleMenu | |
AddToMenu ColorStyleMenu | |
+ "Default%$[infostore.mIcons]/status/10/style-color-default.png%" ResetFvwm mColorStyle $[infostore.mBgColor] true | |
+ "Black%$[infostore.mIcons]/status/10/style-color-black.png%" ResetFvwm mColorStyle #000000 true | |
+ "White%$[infostore.mIcons]/status/10/style-color-white.png%" ResetFvwm mColorStyle #FFFFFF true | |
+ "Red%$[infostore.mIcons]/status/10/style-color-red.png%" ResetFvwm mColorStyle #FF0000 true | |
+ "Green%$[infostore.mIcons]/status/10/style-color-green.png%" ResetFvwm mColorStyle #00FF00 true | |
+ "Blue%$[infostore.mIcons]/status/10/style-color-blue.png%" ResetFvwm mColorStyle #0000FF true | |
+ "Yellow%$[infostore.mIcons]/status/10/style-color-yellow.png%" ResetFvwm mColorStyle #FFFF00 true | |
+ "Pink%$[infostore.mIcons]/status/10/style-color-pink.png%" ResetFvwm mColorStyle #FF00FF true | |
+ "Violet%$[infostore.mIcons]/status/10/style-color-violet.png%" ResetFvwm mColorStyle #8D38C9 true | |
+ "Maroon%$[infostore.mIcons]/status/10/style-color-maroon.png%" ResetFvwm mColorStyle #810541 true | |
DestroyMenu TintStyleMenu | |
AddToMenu TintStyleMenu | |
PipeRead "i=$((5+$[infostore.mTintStyle]));if [ $i -le 100 ]; then echo + $[infostore.mTintStyle]+5% ResetFvwm mTintStyle $i true;fi" | |
+ "0%%%$[infostore.mIcons]/status/10/style-tint-0.png%" ResetFvwm mTintStyle 0 true | |
+ "10%%%$[infostore.mIcons]/status/10/style-tint-10.png%" ResetFvwm mTintStyle 10 true | |
+ "20%%%$[infostore.mIcons]/status/10/style-tint-20.png%" ResetFvwm mTintStyle 20 true | |
+ "30%%%$[infostore.mIcons]/status/10/style-tint-30.png%" ResetFvwm mTintStyle 30 true | |
+ "40%%%$[infostore.mIcons]/status/10/style-tint-40.png%" ResetFvwm mTintStyle 40 true | |
+ "50%%%$[infostore.mIcons]/status/10/style-tint-50.png%" ResetFvwm mTintStyle 50 true | |
+ "60%%%$[infostore.mIcons]/status/10/style-tint-60.png%" ResetFvwm mTintStyle 60 true | |
+ "70%%%$[infostore.mIcons]/status/10/style-tint-70.png%" ResetFvwm mTintStyle 70 true | |
+ "80%%%$[infostore.mIcons]/status/10/style-tint-80.png%" ResetFvwm mTintStyle 80 true | |
+ "90%%%$[infostore.mIcons]/status/10/style-tint-90.png%" ResetFvwm mTintStyle 90 true | |
+ "100%%%$[infostore.mIcons]/status/10/style-tint-100.png%" ResetFvwm mTintStyle 100 true | |
DestroyMenu IconStyleMenu | |
AddToMenu IconStyleMenu | |
PipeRead '"$[infostore.mTools]/Icons"' | |
DestroyMenu DisplayMenu | |
AddToMenu DisplayMenu | |
+ "Gamma%$[infostore.mIcons]/apps/32/preferences-display-gamma.png%" Popup GammaMenu | |
+ "Backlight%$[infostore.mIcons]/apps/32/preferences-display-backlight.png%" Popup BacklightMenu | |
+ "DPMS%$[infostore.mIcons]/apps/32/preferences-display-dpms.png%" Popup DPMSMenu | |
+ "Capture%$[infostore.mIcons]/apps/32/preferences-display-capture.png%" Popup CaptureMenu | |
DestroyMenu GammaMenu | |
AddToMenu GammaMenu | |
+ "0.5%$[infostore.mIcons]/status/10/display-gamma-05.png%" PipeRead 'xgamma -gamma 0.5 && echo ResetFvwm mGamma 0.5 false' | |
+ "0.6%$[infostore.mIcons]/status/10/display-gamma-06.png%" PipeRead 'xgamma -gamma 0.6 && echo ResetFvwm mGamma 0.6 false' | |
+ "0.7%$[infostore.mIcons]/status/10/display-gamma-07.png%" PipeRead 'xgamma -gamma 0.7 && echo ResetFvwm mGamma 0.7 false' | |
+ "0.8%$[infostore.mIcons]/status/10/display-gamma-08.png%" PipeRead 'xgamma -gamma 0.8 && echo ResetFvwm mGamma 0.8 false' | |
+ "0.9%$[infostore.mIcons]/status/10/display-gamma-09.png%" PipeRead 'xgamma -gamma 0.9 && echo ResetFvwm mGamma 0.9 false' | |
+ "1.0%$[infostore.mIcons]/status/10/display-gamma-10.png%" PipeRead 'xgamma -gamma 1.0 && echo ResetFvwm mGamma 1.0 false' | |
+ "1.2%$[infostore.mIcons]/status/10/display-gamma-12.png%" PipeRead 'xgamma -gamma 1.2 && echo ResetFvwm mGamma 1.2 false' | |
+ "1.4%$[infostore.mIcons]/status/10/display-gamma-14.png%" PipeRead 'xgamma -gamma 1.4 && echo ResetFvwm mGamma 1.4 false' | |
+ "1.6%$[infostore.mIcons]/status/10/display-gamma-16.png%" PipeRead 'xgamma -gamma 1.6 && echo ResetFvwm mGamma 1.6 false' | |
+ "1.8%$[infostore.mIcons]/status/10/display-gamma-18.png%" PipeRead 'xgamma -gamma 1.8 && echo ResetFvwm mGamma 1.8 false' | |
+ "2.0%$[infostore.mIcons]/status/10/display-gamma-20.png%" PipeRead 'xgamma -gamma 2.0 && echo ResetFvwm mGamma 2.0 false' | |
DestroyMenu BacklightMenu | |
AddToMenu BacklightMenu | |
+ "10%%%$[infostore.mIcons]/status/10/display-backlight-10.png%" PipeRead 'xbacklight -set 10 && echo ResetFvwm mBacklight 10 false' | |
+ "20%%%$[infostore.mIcons]/status/10/display-backlight-20.png%" PipeRead 'xbacklight -set 20 && echo ResetFvwm mBacklight 20 false' | |
+ "30%%%$[infostore.mIcons]/status/10/display-backlight-30.png%" PipeRead 'xbacklight -set 30 && echo ResetFvwm mBacklight 30 false' | |
+ "40%%%$[infostore.mIcons]/status/10/display-backlight-40.png%" PipeRead 'xbacklight -set 40 && echo ResetFvwm mBacklight 40 false' | |
+ "50%%%$[infostore.mIcons]/status/10/display-backlight-50.png%" PipeRead 'xbacklight -set 50 && echo ResetFvwm mBacklight 50 false' | |
+ "60%%%$[infostore.mIcons]/status/10/display-backlight-60.png%" PipeRead 'xbacklight -set 60 && echo ResetFvwm mBacklight 60 false' | |
+ "70%%%$[infostore.mIcons]/status/10/display-backlight-70.png%" PipeRead 'xbacklight -set 70 && echo ResetFvwm mBacklight 70 false' | |
+ "80%%%$[infostore.mIcons]/status/10/display-backlight-80.png%" PipeRead 'xbacklight -set 80 && echo ResetFvwm mBacklight 80 false' | |
+ "90%%%$[infostore.mIcons]/status/10/display-backlight-90.png%" PipeRead 'xbacklight -set 90 && echo ResetFvwm mBacklight 90 false' | |
+ "100%%%$[infostore.mIcons]/status/10/display-backlight-100.png%" PipeRead 'xbacklight -set 100 && echo ResetFvwm mBacklight 100 false' | |
DestroyMenu DPMSMenu | |
AddToMenu DPMSMenu | |
+ "1 minute%$[infostore.mIcons]/actions/16/apply.png%" PipeRead 'xset dpms 60 60 60 && echo ResetFvwm mDPMS \\"60 60 60\\" false' | |
+ "5 minutes%$[infostore.mIcons]/actions/16/apply.png%" PipeRead 'xset dpms 300 300 300 && echo ResetFvwm mDPMS \\"300 300 300\\" false' | |
+ "10 minutes%$[infostore.mIcons]/actions/16/apply.png%" PipeRead 'xset dpms 600 600 600 && echo ResetFvwm mDPMS \\"600 600 600\\" false' | |
+ "20 minutes%$[infostore.mIcons]/actions/16/apply.png%" PipeRead 'xset dpms 1200 1200 1200 && echo ResetFvwm mDPMS \\"1200 1200 1200\\" false' | |
+ "30 minutes%$[infostore.mIcons]/actions/16/apply.png%" PipeRead 'xset dpms 1800 1800 1800 && echo ResetFvwm mDPMS \\"1800 1800 1800\\" false' | |
+ "1 hour%$[infostore.mIcons]/actions/16/apply.png%" PipeRead 'xset dpms 3600 3600 3600 && echo ResetFvwm mDPMS \\"3600 3600 3600\\" false' | |
+ "2 hours%$[infostore.mIcons]/actions/16/apply.png%" PipeRead 'xset dpms 7200 7200 7200 && echo ResetFvwm mDPMS \\"7200 7200 7200\\" false' | |
DestroyMenu CaptureMenu | |
AddToMenu CaptureMenu | |
+ "now%$[infostore.mIcons]/actions/16/apply.png%" DesktopScreenshot 0 | |
+ "in 1 second%$[infostore.mIcons]/actions/16/apply.png%" DesktopScreenshot 1 | |
+ "in 2 seconds%$[infostore.mIcons]/actions/16/apply.png%" DesktopScreenshot 2 | |
+ "in 3 seconds%$[infostore.mIcons]/actions/16/apply.png%" DesktopScreenshot 3 | |
+ "in 4 seconds%$[infostore.mIcons]/actions/16/apply.png%" DesktopScreenshot 4 | |
+ "in 5 seconds%$[infostore.mIcons]/actions/16/apply.png%" DesktopScreenshot 5 | |
##### Window | |
DestroyMenu WindowMenu | |
AddToMenu WindowMenu | |
+ "Identify%$[infostore.mIcons]/apps/24/preferences-window-info.png%" Module FvwmIdent | |
+ "Move To%$[infostore.mIcons]/apps/24/preferences-window-move.png%" Popup SendToMenu | |
+ "Title At%$[infostore.mIcons]/apps/24/preferences-window-title.png%" Popup TitleAtMenu | |
+ "Toggle%$[infostore.mIcons]/apps/24/preferences-window-toggle.png%" Popup ToggleMenu | |
+ "Save%$[infostore.mIcons]/apps/24/preferences-window-save.png%" Popup SaveMenu | |
+ "Capture%$[infostore.mIcons]/apps/24/preferences-window-capture.png%" Pick (CirculateHit) WindowScreenshot | |
DestroyMenu TitleAtMenu | |
AddToMenu TitleAtMenu | |
+ "Top%$[infostore.mIcons]/apps/24/preferences-window-title-top.png%" ChangeWindowStyle "change" "TitleAtTop" | |
+ "Right%$[infostore.mIcons]/apps/24/preferences-window-title-right.png%" ChangeWindowStyle "change" "TitleAtRight" | |
+ "Left%$[infostore.mIcons]/apps/24/preferences-window-title-left.png%" ChangeWindowStyle "change" "TitleAtLeft" | |
+ "Bottom%$[infostore.mIcons]/apps/24/preferences-window-title-bottom.png%" ChangeWindowStyle "change" "TitleAtBottom" | |
DestroyMenu SendToMenu | |
AddToMenu SendToMenu | |
PipeRead '"$[infostore.mTools]/Pages" "$[infostore.mTheme]" "$[infostore.mPagerSize]"' | |
DestroyMenu ToggleMenu | |
AddToMenu ToggleMenu | |
+ "Max Button%$[infostore.mIcons]/apps/24/preferences-window-button-maximize.png%" ChangeWindowStyle "toggle" "Button 4" | |
+ "Min Button%$[infostore.mIcons]/apps/24/preferences-window-button-minimize.png%" ChangeWindowStyle "toggle" "Button 6" | |
+ "Borders%$[infostore.mIcons]/apps/24/preferences-window-borders.png%" ChangeWindowStyle "toggle" "Borders" | |
DestroyMenu SaveMenu | |
AddToMenu SaveMenu | |
+ "Page%$[infostore.mIcons]/apps/24/preferences-window-save-page.png%" ChangeWindowStyle "keep" "StartsOnPage" | |
+ "Position%$[infostore.mIcons]/apps/24/preferences-window-save-position.png%" ChangeWindowStyle "keep" "PositionPlacement" | |
ChangeMenuStyle WinMenuStyle WindowMenu TitleAtMenu SendToMenu ToggleMenu SaveMenu | |
##### Remove | |
DestroyMenu MenuFvwmRoot | |
############################## | |
########## Functions | |
##### Windows | |
DestroyFunc DeleteOrDestroyWindow | |
AddToFunc DeleteOrDestroyWindow | |
+ H Nop | |
+ M Nop | |
+ C Delete | |
+ D Destroy | |
DestroyFunc IconifyOrShadeWindow | |
AddToFunc IconifyOrShadeWindow | |
+ C Iconify | |
+ D WindowShade | |
DestroyFunc DeIconifyWindow | |
AddToFunc DeIconifyWindow | |
+ D Iconify | |
DestroyFunc TransientAllWindows | |
AddToFunc TransientAllWindows | |
+ I All (Transient, !FvwmPager, !FvwmScript) WindowStyle !Button 4, !Button 6 | |
DestroyFunc TransientThisWindow | |
AddToFunc TransientThisWindow | |
+ I ThisWindow (Transient, !FvwmPager, !FvwmScript) WindowStyle !Button 4, !Button 6 | |
DestroyFunc SwitchWindows | |
AddToFunc SwitchWindows | |
+ I Next (AcceptsFocus, CurrentDesk, CurrentPage, !Iconic) Focus | |
+ I Prev (AcceptsFocus, CurrentDesk, CurrentPage, !Iconic) WarpToWindow 50 50 | |
DestroyFunc EWMHActivateWindowFunc | |
AddToFunc EWMHActivateWindowFunc | |
+ I Iconify Off | |
+ I Focus NoWarp | |
+ I Raise | |
##### Scripts | |
DestroyFunc MoveScript | |
AddToFunc MoveScript | |
+ M ThisWindow (!FvwmPager, !FvwmButtons, !Iconic, !Iconifiable) Move | |
DestroyFunc SaveScriptPosition | |
AddToFunc SaveScriptPosition | |
+ I ThisWindow (FvwmScript) Exec exec sed -i -e 's/^.*WindowPosition.*$/WindowPosition $[w.x] $[w.y]/' $[infostore.mScripts]/$[w.name]/$[w.name] | |
DestroyFunc SaveAllScriptsPosition | |
AddToFunc SaveAllScriptsPosition | |
+ I All (FvwmScript) Exec exec sed -i -e 's/^.*WindowPosition.*$/WindowPosition $[w.x] $[w.y]/' $[infostore.mScripts]/$[w.name]/$[w.name] | |
##### Screenshots | |
DestroyFunc WindowScreenshot | |
AddToFunc WindowScreenshot | |
+ I ThisWindow (!Shaded, !Iconic, Iconifiable) Exec exec import -window $[w.id] -silent "PNG24:$[infostore.mScreenshots]/screenshot-$(date +%F[%R]).png" | |
DestroyFunc DesktopScreenshot | |
AddToFunc DesktopScreenshot | |
+ I Exec sleep $0; import -window root -silent "PNG24:$[infostore.mScreenshots]/screenshot-$(date +%F[%R]).png" | |
##### Reset | |
DestroyFunc ResetFvwm | |
AddToFunc ResetFvwm | |
+ I Exec exec sed -i -e 's/^InfoStoreAdd $0.*$/InfoStoreAdd $0 "$1"/' $[infostore.mHome]/config | |
+ I PipeRead '[ "$2" = "true" ] && echo Restart' | |
##### Style | |
DestroyFunc ReadWindowStyle | |
AddToFunc ReadWindowStyle | |
+ I PipeRead '$[infostore.mTools]/Styles "$[w.class]" "read"' | |
DestroyFunc SetWindowStyle | |
AddToFunc SetWindowStyle | |
+ I ReadWindowStyle | |
+ I TransientThisWindow | |
DestroyFunc ChangeWindowStyle | |
AddToFunc ChangeWindowStyle | |
+ I InfoStoreAdd mStyleValue "none" | |
+ I PipeRead '[ "$1" = "StartsOnPage" ] && echo InfoStoreAdd mStyleValue \\"$[page.nx] $[page.ny]\\"' | |
+ I PipeRead '[ "$1" = "PositionPlacement" ] && echo InfoStoreAdd mStyleValue \\"$[w.x]p $[w.y]p\\"' | |
+ I PipeRead '$[infostore.mTools]/Styles "$[w.class]" "$0" "$1" "$[infostore.mStyleValue]"' | |
DestroyFunc ChangeIconTheme | |
AddToFunc ChangeIconTheme | |
+ I All (Iconifiable) Iconify True | |
+ I ResetFvwm mTheme \\"$0\\" false | |
+ I Module FvwmButtons | |
+ I Wait FvwmButtons | |
+ I PipeRead '"$[infostore.mTools]/Themes" "$0" && echo Restart' | |
##### Startup | |
DestroyFunc StartFunction | |
AddToFunc StartFunction | |
+ I Exec exec $[infostore.mSetWallpaper] "$[infostore.mWallpapers]/$[infostore.mWallpaper]" | |
+ I Exec exec $[infostore.mAudioMixer] $[infostore.mAudioVolume] | |
+ I Exec exec xgamma -gamma $[infostore.mGamma] | |
+ I Exec exec xbacklight -set $[infostore.mBacklight] | |
+ I Exec exec xset dpms $[infostore.mDPMS] | |
+ I PipeRead '"$[infostore.mTools]/Starts" "$[infostore.mTheme]" | |
DestroyFunc RestartFunction | |
AddToFunc RestartFunction | |
+ I All (Iconified) Iconify | |
DestroyFunc ExitFunction | |
AddToFunc ExitFunction | |
+ I SaveAllScriptsPosition | |
############################## | |
########## Bindings | |
##### Switch Pages | |
Key Left A C GotoPage -1p 0p | |
Key Right A C GotoPage +1p 0p | |
##### Restart & Quit | |
Key R A CM Restart | |
Key Q A CM Quit | |
##### Alt+Tab | |
Key Tab A M SwitchWindows | |
##### Menus | |
Mouse 3 R A Menu DesktopMenu | |
Mouse 1 1 A Menu WindowMenu | |
##### Windows | |
Mouse 1 2 A DeleteOrDestroyWindow | |
Mouse 1 6 A IconifyOrShadeWindow | |
Mouse 1 I A DeIconifyWindow | |
Mouse 1 W M MoveScript | |
Mouse 1 4 A Maximize 100 100 | |
Mouse 3 4 A Maximize grow grow | |
Key I A CM FvwmIdent | |
Key M A CM Move 0 0 ewmhiwa | |
############################## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment