Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##################################
- # ____________________________
- # ( _________________________)
- # ) (__ _ _ _ _
- # ( __)( \/ )( \/\/ )/\/\
- # ) ( \ / \ // \
- # (___) \/ \/\/(_/\/\_)
- #
- #
- # This is NOT the default configuration file shipped with fvwm.
- #
- # This config file is organized as follows:
- #
- # 1: Functions
- # 2: Styles
- # 3: Colorsets
- # 4: Menus
- # 5: Bindings
- # 6: Decor
- # 7: Modules
- #
- #################################
- # InfoStoreAdd can be used to store variable data internal to fvwm.
- # The variable can then be used in the configuration as $[infostore.name].
- #
- # You can also use environment variables but for data internal to fvwm
- # use InfoStore variables instead.
- #
- # The following is used in various menus and also sets the terminal
- # that FvwmConsole uses. Change this to your terminal of choice
- InfoStoreAdd terminal urxvt
- InfoStoreAdd FONT 'Sarasa Mono J:Bold'
- InfoStoreAdd HOME $HOME
- InfoStoreAdd accent #c0a080
- InfoStoreAdd dull #c0a000
- ###########
- # 1: Functions
- #
- # Fvwm can use custom functions for various tasks.
- # The syntax for defining a function named FunctionName is:
- #
- # DestroyFunc FunctionName
- # AddToFunc FunctionName
- # + I [Action to do Immediately]
- # + C [Action to do on a Mouse Click]
- # + D [Action to do on a Mouse Double Click]
- # + H [Action to do on a Mouse Hold]
- # + M [Action to do on a Mouse Motion]
- ###########
- # Start Function
- #
- # The start function is run right after fvwm is done reading
- # the config file. This function run after each restart
- # so using Test (Init) or Test (Restart) can further control
- # actions that are run during the first time run (Init) or
- # actions that are run after a restart.
- DestroyFunc StartFunction
- AddToFunc StartFunction
- + I Exec exec setxkbmap jp
- + I Test (Init) Exec exec unclutter --jitter 10 --ignore-scroll --timeout 3
- + I Exec exec synclient TouchpadOff=1
- + I Exec exec xset r rate 500 59
- + I Exec exec xset m 3 0
- + I Test (Init) Exec exec xbacklight -set 50
- + I Test (Init) Exec exec conky
- + I Test (Init) Exec exec fcitx -rd
- + I Test (Init) Exec exec numlockx on
- + I Test (Init) Exec exec /usr/bin/pipewire
- + I Test (Init) Exec exec ssh-agent -s
- + I Test (Init) Exec exec xss-lock slock
- + I Test (Init) Exec exec $[infostore.HOME]/Scripts/refresh-wallpaper.sh NOTCRON
- + I Test (Init) Exec $[infostore.terminal] -e $[infostore.HOME]/Scripts/daily-digest.sh
- + I Module FvwmButtons TopPanel
- + I Module FvwmEvent EventNewDesk
- # Exit Function
- #
- # Runs when exiting fvwm.
- DestroyFunc ExitFunction
- AddToFunc ExitFunction
- + I Test (Quit) Exec exec pkill xss-lock
- + I Test (Quit) Exec exec pkill ssh-agent
- + I Test (Quit) Exec exec pkill fcitx
- + I Test (Quit) Exec exec pkill pipewire
- + I Test (Quit) Exec exec pkill mozc_server
- # Mouse Bindings Functions
- DestroyFunc RaiseMoveX
- AddToFunc RaiseMoveX
- + I Raise
- + M $0
- + D $1
- DestroyFunc RaiseMove
- AddToFunc RaiseMove
- + I Raise
- + M $0
- DestroyFunc MoveToCurrent
- AddToFunc MoveToCurrent
- + I ThisWindow MoveToPage
- + I ThisWindow MoveToDesk
- DestroyFunc TuckWindow
- AddToFunc TuckWindow
- + I ThisWindow ResizeMove 1571p 988p 0p 0p
- + I ThisWindow Raise
- # Function: IconManClick
- #
- # This function is run from FvwmIconMan when the button is clicked.
- DestroyFunc IconManClick
- AddToFunc IconManClick
- + I ThisWindow (Raised, !Shaded, !Iconic, CurrentPage) Iconify
- + I TestRc (Match) Break
- + I ThisWindow WindowShade off
- + I ThisWindow Iconify off
- + I ThisWindow Raise
- + I ThisWindow (AcceptsFocus) FlipFocus
- # Function: ToggleTitle
- #
- # This function will toggle if fvwm shows the TitleBar.
- DestroyFunc ToggleTitle
- AddToFunc ToggleTitle
- + I ThisWindow (State 1) WindowStyle Title
- + I TestRc (Match) State 1 False
- + I TestRc (Match) Break
- + I WindowStyle !Title
- + I State 1 True
- # Function: ChangeDesk
- #
- # This function is called by FvwmEvent every time the Desk is changed.
- DestroyFunc ChangeDesk
- AddToFunc ChangeDesk
- + I SendToModule FvwmButtons ChangeButton desk0 Colorset 16
- + I SendToModule FvwmButtons ChangeButton desk1 Colorset 16
- + I SendToModule FvwmButtons ChangeButton desk2 Colorset 16
- + I SendToModule FvwmButtons ChangeButton desk3 Colorset 16
- + I SendToModule FvwmButtons ChangeButton desk$0 Colorset 15
- # Function: TileLeft
- #
- # Move to left half of screen
- DestroyFunc TileLeft
- AddToFunc TileLeft
- + I ThisWindow (!Shaded, !Iconic) Maximize 50 100
- + I ThisWindow (Maximized, !Shaded, !Iconic) Move +0 +0
- # Function: TileRight
- #
- # Move to right half of screen
- DestroyFunc TileRight
- AddToFunc TileRight
- + I ThisWindow (!Shaded, !Iconic) Maximize 50 100
- + I ThisWindow (Maximized, !Shaded, !Iconic) Move -0 +0
- #############
- # 2: Styles #
- #############
- # Desktops and Pages
- #
- # Fvwm has both Virtual Desktops and Pages. Each Desktop is built from
- # a grid of Pages. The following sets the name of four Desktops and then
- # divides each Desktop into a 2x2 grid of Pages that are positioned as
- #
- # +---+---+
- # | | |
- # +---+---+
- # | | |
- # +---+---+
- #
- DesktopName 0 Main
- DesktopName 1 Desk1
- DesktopName 2 Desk2
- DesktopName 3 Desk3
- DesktopSize 2x2
- # EdgeScroll will move the view port between the Pages when the mouse
- # moves to the edge of the screen. This set the amount of distance to
- # scroll at 100% (full page) and the EdgeResistance which is a timer
- # for how long the mouse as at the edge before it scrolls.
- #
- # Set EdgeScroll 0 0 and/or EdgeResistance -1 to disable.
- EdgeScroll 0 0
- EdgeResistance -1
- # EwmhBaseStruts [left] [right] [top] [bottom]
- # Reserves space along the edge(s) of the Screen that will not
- # be covered when maximizing or placing windows.
- EwmhBaseStruts 0 0 60 0
- # This sets the ClickTime and MoveThreshold used to determine
- # Double Clicks, Hold and Move for the mouse.
- ClickTime 250
- MoveThreshold 3
- # Sets the focus style to SloppyFocus and a mouse click
- # in a window will Raise it.
- Style * SloppyFocus, MouseFocusClickRaises
- # Default Font
- DefaultFont "xft:$[infostore.FONT]:size=10:Bold:antialias=True"
- # Window Placement
- Style * MinOverlapPlacement, GrabFocus, !UsePPosition
- # Sets all windows to OpaqueMove (vs a wired frame) and windows will
- # snap to each other and the edge of the screen.
- OpaqueMoveSize unlimited
- Style * ResizeOpaque, SnapAttraction 15 SameType ScreenAll, SnapGrid
- # Transient Windows (such as open file windows)
- Style * DecorateTransient, StackTransientParent
- Style * !FPGrabFocusTransient, FPReleaseFocusTransient
- # WindowShade
- Style * WindowShadeScrolls, WindowShadeSteps 10
- # Ignore Numlock and other modifiers for bindings
- # See http://fvwm.org/documentation/faq/#why-do-numlock-capslock-and-scrolllock-interfere-with-clicktofocus-andor-my-mouse-bindings
- IgnoreModifiers L25
- # Decor Styles
- Style * BorderWidth 7, HandleWidth 7, MWMButtons, FvwmBorder, FirmBorder
- Style * Colorset 1, HilightColorset 2
- Style * BorderColorset 3, HilightBorderColorset 4
- # Disable Icons from appearing on desktop.
- # Comment this out or use Style * Icon to get the icons back.
- Style * !Icon
- # Window Specific Styles
- Style TopPanel !Title, Borders, !Handles, Sticky, \
- WindowListSkip, NeverFocus, BorderColorset 19
- Style Conky !Title, Borders, !Handles, Sticky, \
- WindowListSkip, NeverFocus, BorderColorset 19, \
- InitialMapCommand Iconify
- Style grun !Title, PositionPlacement Center, WindowListSkip, Layer 6
- Style FvwmIdent WindowListSkip
- Style FvwmScript WindowListSkip
- Style FvwmModule WindowListSkip
- Style FvwmForm WindowListSkip
- #######
- # 3: Colorsets
- #
- # Colorsets can be used to configure the color of the various
- # parts of fvwm such as window decor, menus, modules, etc.
- #
- # Colorset Convention
- #
- # 0 - Default
- # 1 - Inactive Windows
- # 2 - Active Window
- # 3 - Inactive Windows Borders
- # 4 - Active Windows Borders
- # 5 - Menu - Inactive Item
- # 6 - Menu - Active Item
- # 7 - Menu - Grayed Item
- # 8 - Menu - Title
- # 9 - Reserved
- # Modules
- # 10 - Module Default
- # 11 - Module Hilight
- # 12 - Module ActiveButton (Mouse Hover)
- # Other
- # 13 - FvwmPager Active Page; FvwmForm
- # 14 - FvwmIconMan Iconified Button
- # 15 - FvwmIconMan Active Window; FvwmPager Active Window; Current Virtual Desktop
- # 16 - Inactive Virtual Desktop
- # 17 - Hovering over Virtual Desktop
- # 18 - FvwmIconMan Hovering Over Icon
- # 19 - Panel and Conky colorset
- # 20 - FvwmPager Inactive Window
- ###########
- Colorset 0 fg #bebebe, bg #000000, hi, sh, Plain, NoShape
- Colorset 1 fg #505050, bg #bebebe, hi, sh, Plain, NoShape
- Colorset 2 fg #000000, bg #909090, hi, sh, Plain, NoShape
- Colorset 3 fg #000000, bg #bebebe, hi, sh, Plain, NoShape
- Colorset 4 fg #000000, bg #909090, hi, sh, Plain, NoShape
- Colorset 5 fg #000000, bg #b0b0b0, hi, sh, Plain, NoShape
- Colorset 6 fg #ffffff, bg $[infostore.accent], hi, sh, Plain, NoShape
- Colorset 7 fg grey30, bg #ffffff, hi, sh, Plain, NoShape
- Colorset 8 fg $[infostore.accent], bg #202020, hi, sh, Plain, NoShape
- Colorset 10 fg #bebebe, bg #202020, hi, sh, Plain, NoShape
- Colorset 11 fg #000000, bg #bebebe, hi, sh, Plain, NoShape
- Colorset 12 fg #000000, bg #ffffff, hi, sh, Plain, NoShape
- Colorset 13 fg #bebebe, bg #202020, hi, sh, Plain, NoShape
- Colorset 14 fg #707070, bg #202020, hi, sh, Plain, NoShape
- Colorset 15 fg #000000, bg $[infostore.accent], hi, sh, Plain, NoShape
- Colorset 16 fg #ababab, bg #202020, hi, sh, Plain, NoShape
- Colorset 17 fg #000000, bg #808080, hi, sh, Plain, NoShape
- Colorset 18 fg $[infostore.dull], bg #202020, hi, sh, Plain, NoShape
- Colorset 19 fg #ffffff, bg #202020, hi #000000, sh #808080, Plain, NoShape
- Colorset 20 fg #000000, bg #757575, hi, sh, Plain, NoShape
- #######
- # 4: Menus
- ###########
- MenuStyle * MenuColorset 5, ActiveColorset 6, GreyedColorset 7, TitleColorset 8
- MenuStyle * HilightBack, HilightTitleBack, SeparatorsLong
- MenuStyle * TrianglesSolid, TrianglesUseFore
- MenuStyle * ItemFormat "%|%3.1i%5.3l%5.3>%|"
- MenuStyle * Font "xft:$[infostore.FONT]:size=12:antialias=True"
- # Root Menu
- #
- # The root menu will PopUp with a click in the root
- # window or using alt-f1 (or menu).
- DestroyMenu MenuFvwmRoot
- AddToMenu MenuFvwmRoot "Fvwm" Title
- + "&urxvt%icons/terminal.png%" Exec exec $[infostore.terminal]
- + "" Nop
- + "&Browsers%icons/programs.png%" Popup MenuBrowsers
- + "&Office%icons/programs.png%" Popup MenuOffice
- + "&Utils%icons/programs.png%" Popup MenuUtils
- + "&Leisure%icons/programs.png%" Popup MenuLeisure
- + "" Nop
- + "&Run%icons/programs.png%" Exec exec grun
- + "" Nop
- + "&Wallpaper%icons/refresh.png%" Exec exec $[infostore.HOME]/Scripts/refresh-wallpaper.sh NOTCRON
- + "Re&fresh%icons/refresh.png%" Refresh
- + "&Restart%icons/restart.png%" Restart
- + "&Quit%icons/quit.png%" Module FvwmForm FvwmForm-QuitVerify
- + "" Nop
- + "R&eboot%icons/restart.png%" Module FvwmForm FvwmForm-RebootVerify
- + "&Halt%icons/quit.png%" Module FvwmForm FvwmForm-HaltVerify
- # Programs Menu
- #
- # This test for some common programs and adds them to the menu.
- # When adding programs you don't need to use the Test (x foo)
- # lines as this is only to help make this menu portable.
- DestroyMenu MenuBrowsers
- AddToMenu MenuBrowsers "Browsers" Title
- Test (x vivaldi-stable) + "Vivaldi" Exec exec vivaldi-stable
- Test (x firefox) + "Firefox" Exec exec firefox
- Test (x google-chrome-stable) + "Google-Chrome" Exec exec google-chrome-stable
- + "lynx" Exec $[infostore.terminal] -e lynx
- DestroyMenu MenuOffice
- AddToMenu MenuOffice "Office" Title
- + "LibreOffice" Exec exec libreoffice7.3
- Test (x gvim) + "gVim" Exec exec gvim
- + "" Nop
- Test (x gimp) + "GIMP" Exec exec gimp
- Test (x inkscape) + "inkscape" Exec exec inkscape
- Test (x darktable) + "Darktable" Exec exec darktable
- DestroyMenu MenuUtils
- AddToMenu MenuUtils "Utils" Title
- Test (x htop) + "htop" Exec $[infostore.terminal] -e htop
- Test (x atop) + "atop" Exec $[infostore.terminal] -e atop
- Test (x pw-top) + "pw-top" Exec $[infostore.terminal] -e pw-top
- Test (x alsamixer) + "alsamixer" Exec $[infostore.terminal] -e alsamixer
- + "" Nop
- + "vifm" Exec $[infostore.terminal] -e vifm ~ /
- + "" Nop
- + "daily-digest" Exec $[infostore.terminal] -e $[infostore.HOME]/Scripts/daily-digest.sh
- + "" Nop
- + "ksh" Exec $[infostore.terminal] -e /bin/ksh
- + "dash" Exec $[infostore.terminal] -e /bin/dash
- + "powershell" Exec $[infostore.terminal] -e /usr/bin/pwsh
- DestroyMenu MenuLeisure
- AddToMenu MenuLeisure "Leisure" Title
- Test (x pcem) + "PCem" Exec exec pcem
- Test (x ncspot) + "ncspot" Exec $[infostore.terminal] -e ncspot
- + "frotz" Exec $[infostore.terminal] -g 211x49 -T frotz -e $[infostore.HOME]/Scripts/diafrotz.sh
- + "trek" Exec $[infostore.terminal] -e trek
- # Window Operations Menus
- DestroyMenu MenuWindowOps
- AddToMenu MenuWindowOps
- + "Move" Move
- + "Resize" Resize
- + "Iconify" Iconify
- + "Maximize" Maximize
- + "Shade" WindowShade
- + "Stick" Stick
- + "" Nop
- + "Close" Close
- + "More..." Menu MenuWindowOpsLong This 0 0
- DestroyMenu MenuWindowOpsLong
- AddToMenu MenuWindowOpsLong
- + "Move" Move
- + "Resize" Resize
- + "(De)Iconify" Iconify
- + "(Un)Maximize" Maximize
- + "(Un)Shade" WindowShade
- + "(Un)Sticky" Stick
- + "(No)TitleBar" Pick (CirculateHit) ToggleTitle
- + "Send To" Popup MenuSendTo
- + "" Nop
- + "Close" Close
- + "Destroy" Destroy
- + "" Nop
- + "Raise" Raise
- + "Lower" Lower
- + "" Nop
- + "StaysOnTop" Pick (CirculateHit) Layer 0 6
- + "StaysPut" Pick (CirculateHit) Layer 0 4
- + "StaysOnBottom" Pick (CirculateHit) Layer 0 2
- + "" Nop
- + "Identify" Module FvwmIdent
- DestroyMenu MenuIconOps
- AddToMenu MenuIconOps
- + "(De)Iconify" Iconify
- + "(Un)Maximize" Maximize
- + "(Un)Shade" WindowShade
- + "(Un)Sticky" Stick
- + "(No)TitleBar" Pick (CirculateHit) ToggleTitle
- + "Send To" Popup MenuSendTo
- + "" Nop
- + "Close" Close
- + "Destroy" Destroy
- + "" Nop
- + "Raise" Raise
- + "Lower" Lower
- + "" Nop
- + "StaysOnTop" Pick (CirculateHit) Layer 0 6
- + "StaysPut" Pick (CirculateHit) Layer 0 4
- + "StaysOnBottom" Pick (CirculateHit) Layer 0 2
- + "" Nop
- + "Identify" Module FvwmIdent
- DestroyMenu MenuSendTo
- AddToMenu MenuSendTo
- + "Current" MoveToCurrent
- + "Page" PopUp MenuSendToPage
- + "Desk" PopUp MenuSendToDesk
- DestroyMenu MenuSendToDesk
- AddToMenu MenuSendToDesk
- + "Desk 0" MoveToDesk 0 0
- + "Desk 1" MoveToDesk 0 1
- + "Desk 2" MoveToDesk 0 2
- + "Desk 3" MoveToDesk 0 3
- DestroyMenu MenuSendToPage
- AddToMenu MenuSendToPage
- + "Page (0,0)" MoveToPage 0 0
- + "Page (0,1)" MoveToPage 0 1
- + "Page (1,0)" MoveToPage 1 0
- + "Page (1,1)" MoveToPage 1 1
- #######
- # 5: Mouse and Key bindings
- #
- # Contexts:
- # R = Root Window rrrrrrrrrrrrrrrrrrrrrr
- # W = Application Window rIrrrr<---------^rrrrr
- # F = Frame Corners rrrrrr[13TTTT642]rrrrr
- # S = Frame Sides rIrrrr[wwwwwwwww]rrrrr
- # T = Title Bar rrrrrr[wwwwwwwww]rrrrr
- # I = Icon rIrrrrv_________>rrrrr
- # rrrrrrrrrrrrrrrrrrrrrr
- #
- # Numbers are buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2]
- #
- # Modifiers: (A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing
- #
- # Format: Key <X> <Context> <Modifier> <Action>
- # Mouse <X> <Context> <Modifier> <Action>
- ####################
- # Alt-F1 or Menu to load the root menu and Alt-Tab for a WindowList.
- # Ctrl-F1/F2/F3/F4 will switch between the Virtual Desktops.
- # Super_R (windows key) will launch a terminal.
- #
- # Silent supresses any errors (such as keyboards with no Menu key).
- Silent Key F1 A M Menu MenuFvwmRoot
- Silent Key Menu A A Menu MenuFvwmRoot
- Silent Key K A 4 WindowList Root c c NoDeskSort, SelectOnRelease Super_L
- Silent Key 1 A MC GotoDesk 0 0
- Silent Key 2 A MC GotoDesk 0 1
- Silent Key 3 A MC GotoDesk 0 2
- Silent Key 4 A MC GotoDesk 0 3
- Silent Key 1 A 4 GotoPage 0 0
- Silent Key 2 A 4 GotoPage 1 0
- Silent Key 3 A 4 GotoPage 0 1
- Silent Key 4 A 4 GotoPage 1 1
- Silent Key T A 4S Exec exec $[infostore.terminal]
- Silent Key P A 4 Exec exec grun
- Silent Key C A 4S Close
- Silent Key 1 A MCS MoveToDesk 0 0
- Silent Key 2 A MCS MoveToDesk 0 1
- Silent Key 3 A MCS MoveToDesk 0 2
- Silent Key 4 A MCS MoveToDesk 0 3
- Silent Key 1 A 4S MoveToPage 0 0
- Silent Key 2 A 4S MoveToPage 1 0
- Silent Key 3 A 4S MoveToPage 0 1
- Silent Key 4 A 4S MoveToPage 1 1
- Silent Key M A 4 Exec exec pactl set-sink-mute 0 toggle
- Silent Key Q A 4 Exec exec amixer -q sset Master 1%+
- Silent Key A A 4 Exec exec amixer -q sset Master 1%-
- Silent Key W A 4 Exec exec xbacklight -inc 2
- Silent Key S A 4 Exec exec xbacklight -dec 2
- Silent Key H A 4 TileLeft
- Silent Key L A 4 TileRight
- Silent Key F A 4S ThisWindow Maximize 100 100
- Silent Key F A 4 ThisWindow Maximize 0 100
- Silent Key C A 4 All ("Conky") Iconify
- Silent Key T A 4 ThisWindow TuckWindow
- # Window Buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2]
- # 1 - Open the WindowOps menu.
- # 2 - Close on single click, Destory on double click.
- # 4 - Maximize (right/middle button will only maximize vertical/horizontal)
- # 6 - Iconify (minimize)
- Mouse 1 1 A Menu MenuWindowOps Delete
- Mouse 1 2 A Close
- # TitleBar: Click to Raise, Move, Double Click to Maximize
- # Mouse Wheel Up/Down to WindowShade On/Off
- # Borders: Click to raise, Move to Resize
- # Root Window: Left Click - Main Menu
- # Right Click - WindowOps Menu
- # Middle Click - Window List Menu
- # Right click TitleBar/Borders for WindowOps Menu
- Mouse 1 T A RaiseMoveX Move Maximize
- Mouse 1 FS A RaiseMove Resize
- Mouse 4 T A WindowShade True
- Mouse 5 T A WindowShade False
- Mouse 1 R A Menu MenuFvwmRoot
- Mouse 2 R A WindowList
- Mouse 3 R A Menu MenuWindowOpsLong
- Mouse 1 I A RaiseMoveX Move "Iconify off"
- Mouse 3 T A Menu MenuWindowOps
- Mouse 3 I A Menu MenuIconOps
- #######
- # 6: Window Decor
- #
- # Buttons Locations: [1 3 5 7 9 TTTTT 0 8 6 4 2]
- #
- # 1 - WindowOps Menu
- # 2 - Close
- # 4 - Maximize
- # 6 - Minimize
- ###########
- TitleStyle Centered Height 18 -- Raised
- AddButtonStyle 1 Vector 3 0+4px50+1p@0 100-5px50+1p@0 100-5px50-2p@0
- AddButtonStyle 2 Vector 5 25x25@1 25x75@1 75x75@0 75x25@0 25x25@1
- ButtonStyle All - Clear
- ButtonStyle 1 - MwmDecorMenu
- ############
- # 7: Modules
- #############
- # FvwmIdent
- #
- # FvwmIdent is a module that can be used to get the various info about
- # a window. One use is getting the class/resource/name of a window.
- DestroyModuleConfig FvwmIdent:*
- *FvwmIdent: Colorset 10
- *FvwmIdent: Font "xft:$[infostore.FONT]:size=12:antialias=True"
- # FvwmScript
- #
- # FvwmScript is a module that allows one to write custom desktop
- # widgets and various other tools. This config uses two FvwmScripts.
- # - DateTime - uses the output of "date" to display the date/time
- # on the TopPanel.
- # - Quit - This is a popup that asks for quit confirmation before
- # quitting fvwm.
- DestroyModuleConfig FvwmScript:*
- *FvwmScript: DefaultColorset 10
- # FvwmButtons - TopPanel
- #
- # FvwmButtons is a powerful module that can be used to build custom
- # panels and docks. This config uses FvwmButtons to build the TopPanel.
- # The panel contains buttons to switch desks, FvwmPager, a system tray,
- # FvwmIconMan (list of running windows), and a clock.
- #
- # Note - To use the system tray you must have "stalonetray" installed.
- DestroyModuleConfig TopPanel:*
- *TopPanel: Geometry 1906x46+0+0
- *TopPanel: Colorset 10
- *TopPanel: Rows 46
- *TopPanel: Columns 1906
- *TopPanel: Frame 0
- *TopPanel: Font "xft:$[infostore.FONT]:size=12:antialias=True"
- *TopPanel: (120x46, Icon "/usr/share/fvwm3/default-config/images/fvwm-gray.png", Frame 0)
- *TopPanel: (22x46, Frame0)
- *TopPanel: (20x46, Id desk0, Title "A", Action (Mouse 1) GotoDesk 0 0, Colorset 15, ActiveColorset 17, Frame 0)
- *TopPanel: (20x46, Id desk1, Title "B", Action (Mouse 1) GotoDesk 0 1, ActiveColorset 17, Frame 0)
- *TopPanel: (20x46, Id desk2, Title "C", Action (Mouse 1) GotoDesk 0 2, ActiveColorset 17, Frame 0)
- *TopPanel: (20x46, Id desk3, Title "D", Action (Mouse 1) GotoDesk 0 3, ActiveColorset 17, Frame 0)
- *TopPanel: (14x46, Frame0)
- *TopPanel: (120x46, Swallow FvwmPager 'Module FvwmPager *', Frame 0)
- PipeRead 'echo "*TopPanel: ($((1920-432))x46,\
- Top, Swallow FvwmIconMan \'Module FvwmIconMan\', Frame 0)"'
- *TopPanel: (120x46, Swallow DateTime 'Module FvwmScript FvwmScript-DateTime',\
- Frame 0)
- # FvwmPager
- #
- # This module displays the location of the windows on the various Pages
- # and Desks. This is setup to show only the Pages on the current Desk.
- DestroyModuleConfig FvwmPager:*
- *FvwmPager: NoSeparators
- *FvwmPager: Geometry 0x46+0+0
- *FvwmPager: Colorset * 10
- *FvwmPager: HilightColorset * 13
- *FvwmPager: BalloonColorset * 10
- *FvwmPager: Font None
- *FvwmPager: Balloons All
- *FvwmPager: BalloonFont "xft:$[infostore.FONT]:size=12:antialias=True"
- *FvwmPager: BallonYOffset +2
- *FvwmPager: WindowColorsets 20 15
- *FvwmPager: Window3DBorders
- *FvwmPager: MiniIcons
- # FvwmIconMan
- #
- # FvwmIconMan is a powerful tool to list and manage windows. This
- # is used as the window list in the panel or taskbar.
- DestroyModuleConfig FvwmIconMan:*
- *FvwmIconMan: UseWinList true
- *FvwmIconMan: ButtonGeometry 120x23
- *FvwmIconMan: MaxButtonWidth 300
- *FvwmIconMan: ManagerGeometry 1x1
- *FvwmIconMan: Background #202020
- *FvwmIconMan: Foreground #bebebe
- *FvwmIconMan: ReliefThickness 2
- *FvwmIconMan: PlainButton up #000000 #757575
- *FvwmIconMan: SelectButton down #000000 #757575
- *FvwmIconMan: FocusButton up #000000 $[infostore.accent]
- *FvwmIconMan: FocusAndSelectButton down #000000 $[infostore.accent]
- *FvwmIconMan: IconColorset 14
- *FvwmIconMan: IconAndSelectColorset 18
- *FvwmIconMan: IconAndSelectButton flat
- *FvwmIconMan: Format "%t"
- *FvwmIconMan: Font "xft:$[infostore.FONT]:style=bold:size=10:antialias=True"
- *FvwmIconMan: Action Mouse 0 A ret
- *FvwmIconMan: Action Mouse 1 A sendcommand IconManClick
- *FvwmIconMan: Action Mouse 3 A sendcommand "Menu MenuIconOps"
- *FvwmIconMan: Resolution global
- *FvwmIconMan: Tips needed
- *FvwmIconMan: Sort id
- *FvwmIconMan: Title ""
- *FvwmIconMan: TitleButton flat
- # FvwmEvent
- #
- # FvwmEvent is a module that can run an action or function
- # on specific events. This instance changes which desk number
- # is highlighted when the desk is changed.
- DestroyModuleConfig EventNewDesk:*
- *EventNewDesk: PassID
- *EventNewDesk: new_desk ChangeDesk
- # FvwmForm
- #
- # FvwmForm is a module that can be used to build a GUI
- # form. Used with fvwm-menu-desktop-config.fpl.
- # This sets the default colorsets.
- *FvwmFormDefault: Colorset 10
- *FvwmFormDefault: ItemColorset 13
Advertisement
Add Comment
Please, Sign In to add comment