FVWM Vertex theme!

All questions related to fvwm-themes go here.
User avatar
ILLUXA
Cat in the hat
Cat in the hat
Posts: 25
Joined: Sat May 28, 2016 4:07 pm
Location: $[HOME]

FVWM Vertex theme!

Postby ILLUXA » Wed Aug 16, 2017 1:34 am

Image


1. Install Vertex GTK theme (FreeBSD example):

Code: Select all

# pkg install automake autoconf pkgconf gtk-murrine-engine
% git clone https://github.com/horst3180/vertex-theme --depth 1 && cd vertex-theme
% ./autogen.sh --prefix=/usr/local
# make install


2. Install x11-themes/lxappearance and choose Vertex theme.

3. Download fvwm.zip and extract .fvwm/ dir to your home dir (~/.fvwm).

4. Install and start FVWM:

Code: Select all

# pkg install fvwm

Code: Select all

% startx /usr/local/bin/fvwm2
or

Code: Select all

% startx =fvwm2
if you use zsh.

5. Enjoy!

Button pixmaps were taken from Vertex GTK theme.
Most of menu icons were taken from Vivacious Colors icon theme.


FULL SCREENSHOT


Here is my full ~/.fvwm/config:

Code: Select all

ImagePath  $[FVWM_DATADIR]/pixmaps:$[HOME]/.fvwm/buttons:$[HOME]/.fvwm/icons

AddToFunc StartFunction
 + I Module FvwmBanner
 + I Module FvwmButtons FvwmDock
 + I Module FvwmButtons FvwmMiniButtons
 + I Module FvwmButtons
 + I Module FvwmEvent
 + I Module FvwmEvent FvwmSecondEvent
# + I Module FvwmAnimate
# + I Module FvwmCommandS
AddToFunc InitFunction
 + I Test (F $[FVWM_USERDIR]/autostart)\
   Exec exec /bin/sh $[FVWM_USERDIR]/autostart
AddToFunc RestartFunction
# + I Exec ...
#AddToFunc ExitFunction
# + I Exec ...

IgnoreModifiers L25
DesktopSize 1x1
Emulate Mwm
HideGeometryWindow Always
OpaqueMoveSize unlimited
MoveThreshold 5
DefaultLayers 2 4 4
EwmhBaseStruts 0 0 0 64
DefaultFont "xft:Droid Sans:size=10"
DefaultColors "#FFFFFF" "#454749"
Colorset 0 bg "#454749", fg white
Colorset 1 bg black, fg white
Colorset 2 bg "#4986FB", fg white
Colorset 3 bg "#3C3D40", fg white

#Style * HintOverride, Iconifiable, Closable
Style * IconBox 1 1 -579 -0, IconFill r b, IconGrid 1 1
Style * StickyIcon, !StickyStippledIconTitle
Style * Icon Unknown.png
Style * MiniIcon unknown.png
Style * IconSize 58 44
Style * IconTitleRelief 1
Style * IconBackgroundRelief 2
Style * IconBackgroundPadding 0
Style * IconTitleColorset 1
Style * IconBackgroundColorset 0
Style * HilightIconTitleColorset 2
Style * ClickToFocus
Style * FPSortWindowlistByFocus
Style * FPIgnoreRaiseClickMotion
Style * !FPReleaseFocus
Style * WindowShadeSteps 100
Style * ResizeOpaque
Style * MwmFunctions
Style * MwmDecor
Style * OLDecor
Style * FvwmBorder
Style * !StippledTitle
Style * CascadePlacement
Style * DecorateTransient
Style * StackTransientParent
Style * EWMHUseStackingOrderHints
Style * BorderWidth 2, HandleWidth 2
Style * SnapAttraction 10 SameType Screen
Style * IconFont "xft:Droid Sans:size=9"
Style * Font "xft:Droid Sans:size=10:Bold"
Style * ForeColor darkgray, BackColor "#454749"
Style * HilightFore white, HilightBack "#454749"

CursorStyle root left_ptr
CursorStyle TITLE left_ptr
CursorStyle DEFAULT left_ptr
CursorStyle SYS left_ptr
CursorStyle MENU left_ptr
CursorStyle WAIT left_ptr

MenuStyle * Fvwm
MenuStyle * Hilight3DOff
MenuStyle * SeparatorsLong
MenuStyle * BorderWidth 1
MenuStyle * TrianglesSolid
MenuStyle * VerticalMargins 12 12
MenuStyle * Font "xft:Droid Sans:size=11"
MenuStyle * Foreground white, Background "#454749"
MenuStyle * ActiveFore white, HilightBack "#4986FB"
MenuStyle * VerticalItemSpacing 3 4, VerticalTitleSpacing 0 4

TitleStyle ActiveUp solid "#454749" -- Flat
TitleStyle ActiveDown solid "#454749" -- Flat
TitleStyle Inactive solid "#454749" -- Flat
TitleStyle Centered Height 21

BorderStyle Inactive -- HiddenHandles NoInset
BorderStyle Active -- HiddenHandles NoInset
########## Titlebar buttons pixmaps
# Close
ButtonStyle 1 Pixmap button.png -- Flat
ButtonStyle 1 Inactive Pixmap button-unfocused.png -- Flat
ButtonStyle 1 ActiveDown Pixmap button-close.png -- Flat
# Iconify
ButtonStyle 3 Pixmap button.png -- Flat
ButtonStyle 3 Inactive Pixmap button-unfocused.png -- Flat
ButtonStyle 3 ActiveDown Pixmap button-iconify.png -- Flat
# Maximize
ButtonStyle 5 Pixmap button.png -- Flat
ButtonStyle 5 Inactive Pixmap button-unfocused.png -- Flat
ButtonStyle 5 ActiveDown Pixmap button-maximize.png -- Flat
########## Titlebar buttons actions: Close/iconify/maximize
AddToFunc CloseButton
 + C Close
AddToFunc IconifyButton
 + C Iconify
AddToFunc MaximizeButton
 + C Maximize

Mouse 1      1   A   CloseButton
Mouse 1      3   A   IconifyButton
Mouse 1      5   A   MaximizeButton
########## Titlebar actions
# Move and raise with titlebar single click, maximize with double click
AddToFunc MaximizeOrMove
 + I Raise
 + I Focus
 + D Maximize
 + M ThisWindow (Maximized) Maximize false
 + M TestRc (Match) WarpToWindow 50 1
 + M Move

Mouse 1      T   A   MaximizeOrMove
# Window shade with titlebar scroll
Mouse 4      T   A   WindowShade on
Mouse 5      T   A   WindowShade off
# Lower and move with super+titlebar/border left mouse click
AddToFunc MoveLower
 + I Lower
 + M ThisWindow (Maximized) Maximize false
 + M TestRc (Match) WarpToWindow !raise 50 1
 + M Move

Mouse 1      TS   4   MoveLower
########## Window border actions
# Allow border/corner resize only when window is not maximized
AddToFunc BorderResize
 + I Focus
 + I Raise
 + M ThisWindow (!Maximized) Resize

Mouse 1      FS   N   BorderResize
# Show 'WindowOptions' menu on right border click
Mouse 3      FS   N   Menu WindowOptions
######################################## Window options menu
AddToMenu WindowOptions
+ &Lower%down.png% LowerTo4
+ "on &Top"%up.png% Layer 0 6
+ "" Nop
+ I&conify%iconify.png% Iconify true
+ Ma&ximize%maximize.png% Maximize
+ "" Nop
+ &Move%move.png% MoveOption
+ &Resize%resize.png% Resize direction SE warptoborder
+ "" Nop
+ "&Sticky across Desks"%stick.png% Stick
+ "Mo&ve to ..."%forward.png% Popup MoveTo
+ "" Nop
+ &Identify%identify.png% Module FvwmIdent
+ "" Nop
+ &Destroy%destroy.png% Popup ConfirmDestroy
+ &Quit%close.png% Close
# 'Move to' popup menu
AddToMenu MoveTo
+ "  Desk &1 " MoveToDesk 0 0
+ "  Desk &2 " MoveToDesk 0 1
+ "  Desk &3 " MoveToDesk 0 2
+ "  Desk &4 " MoveToDesk 0 3
# 'Destroy' popup menu
AddToMenu ConfirmDestroy "  Confirm  " Title
+ "  Ca&ncel" Nop
+ "  &Destroy" Destroy
# Disable 'on Top' when use 'Lower'
AddToFunc LowerTo4
 + I ThisWindow (Layer 6) Layer 0 4
 + I Lower
# Unmaximize when move
AddToFunc MoveOption
 + I Maximize false
 + I WarpToWindow 50 50
 + I Move
# Show 'WindowOptions' or 'IconOptions' menu when window or icon is focused
AddToFunc ShowOptions
 + I ThisWindow (!Iconic) Menu WindowOptions mouse 0p 0p
 + I TestRc (!Match) ThisWindow (Iconic) Menu IconOptions mouse 0p 0p

Mouse 3      T   A   Menu WindowOptions mouse -1p -1p   #Titlebar right click
Mouse 2      IW   4   ShowOptions            #Super+window/icon middle click
Key Space   A   4   ShowOptions            #Super+Space -- show options menu
######################################## Icon options menu
AddToMenu IconOptions
+ &Quit%close.png% Close
+ "" Nop
+ &Identify%identify.png% Module FvwmIdent
+ "" Nop
+ Dei&conify%window.png% Iconify false
+ "" Nop
+ &Destroy%destroy.png% Popup ConfirmDestroy

Mouse 3      I   A   Menu IconOptions mouse 0p 0p      #Right icon click -- icon menu
Mouse 1      I   A   Iconify false            #Left icon click -- deiconify
Mouse 1      I   4   Focus               #Super+left icon click -- focus icon
Mouse 2      I   N   Close               #Middle icon click -- close
######################################## root menu
AddToMenu RootMenu FVWM Title
Test (X gmrun) + Ru&n%play.png% Exec exec gmrun
Test (X gmrun) + "" Nop
+ &Identify%identify.png% Module FvwmIdent
+ "" Nop
+ &Console%window.png% FvwmConsole
+ "" Nop
+ &Utilities%utilities.png% Popup Utilities
+ "" Nop
Test (X xscreensaver-command) + &Lock%lock.png% Exec exec xscreensaver-command -lock
Test (X xscreensaver-command) + "" Nop
+ &Restart%refresh.png% Restart
+ "" Nop
+ &Quit...%shutdown.png% Module FvwmForm FvwmForm-Quit
# 'Utilities' popup menu
AddToMenu Utilities
Test (X xterm) + X&term%window.png% Exec exec xterm
Test (X xcalc) + X&calc%calc.png% Exec exec xcalc -stipple
Test (X xkill) + X&kill%destroy.png% Exec exec xkill
Test (X gmixer) + &Gmixer%volume.png% Exec exec gmixer
Test (X xterm, X ranger) + &Ranger%folder.png% Exec exec xterm -e ranger
Test (X gvim) + G&Vim%window.png% Exec exec gvim
Test (X gpa) + Gp&a%lock.png% Exec exec /bin/sh -c 'LANG=en_US.UTF-8 gpa'
Test (X virtualbox) + Virtual&Box%stop.png% Exec exec virtualbox
Test (X iridium) + Iridi&um%www.png% Exec exec iridium
Test (X chrome) + Chromi&um%www.png% Exec exec chrome
Test (X seamonkey) + Sea&monkey%message.png% Popup Seamonkey
Test (X pidgin) + Pi&dgin%message.png% Exec exec pidgin
Test (X nuvolaplayer3) + "&Nuvola Player"%cloud.png% Exec exec nuvolaplayer3
Test (X thunderbird) + Thunder&bird%message.png% Exec exec thunderbird
Test (X openttd) + OpenTTD%app.png% Exec exec openttd
Test (X gnome-screenshot) + Screensh&ot%image.png% Exec exec gnome-screenshot -i
Test (X pwcview) + &Pwcview%camera.png% Exec exec pwcview -q100 -ssvga -o ~/webcam_%m.%d_%H:%M:%S.jpg
Test (X xscreensaver-demo) + X&screensaver%settings.png% Exec exec xscreensaver-demo
Test (X xdg-open) + "" Nop
Test (X xdg-open) + "&Edit config"%edit.png% Exec exec xdg-open $[FVWM_USERDIR]/config
AddToMenu Seamonkey
+ &Mail%message.png% Exec exec seamonkey -mail
+ &www%www.png% Exec exec seamonkey -browser

Mouse 1      R   A   Nop               #Empty left desktop click
Mouse 3      R   A   Menu RootMenu mouse -1p -1p      #Desktop right click -- root menu
Key Escape   A   4   Menu RootMenu            #Super+escape -- root menu
Mouse 2      R   A   WindowList mouse -1p -1p NoGeometry,\
            CurrentDesk, NoIcons, MaxLabelWidth 35   #Middle desktop click -- show windows list
########## Move windows with Super+left mouse click
AddToFunc RaiseWhenMove
 + I Raise
 + I Focus
 + M ThisWindow (Maximized) Maximize false
 + M TestRc (Match) WarpToWindow 50 50
 + M Move

Mouse 1      W   4   RaiseWhenMove
########## Resize windows with Super+right mouse click
AddToFunc RaiseWhenResize
 + I Raise
 + I Focus
 + I Resize direction automatic

Mouse 3      WS   4   RaiseWhenResize
########## Focus window with Super+mouse wheel
Mouse 4      W   4   Focus
Mouse 5      W   4   Focus
########## Show 1-4 Desk with Super+F1-F4
Key F1      A   4   GotoDesk 0 0
Key F2      A   4   GotoDesk 0 1
Key F3      A   4   GotoDesk 0 2
Key F4      A   4   GotoDesk 0 3
# Switch desks with Super+PgUp/PgDn
Key Page_Up   A   4   Desk -1 0 0 3
Key Page_Down   A   4   Desk +1 0 0 3
########## Move window to 1-4 Desk with Super+1-4
Key 1      A   4   ThisWindow MoveToDesk 0 0
Key 2      A   4   ThisWindow MoveToDesk 0 1
Key 3      A   4   ThisWindow MoveToDesk 0 2
Key 4      A   4   ThisWindow MoveToDesk 0 3
########## Alt+TAB
DestroyFunc WindowListFunc
AddToFunc WindowListFunc
 + I WarpToWindow 50 50
 + I Iconify false
 + I FlipFocus

Key Tab A M WindowList root c c NoGeometry, NoCurrentDeskTitle,\
   IconifiedAtEnd, MaxLabelWidth 50
########## Drop-down terminal
# Drop-down terminal function
AddToFunc DropDownTerm
 + I None (drop_down_term, CurrentDesk) Exec exec urxvt -name drop_down_term -geometry 195x33
 + I All (drop_down_term, Focused, !Maximized) ResizeMove 100 65 0 0
 + I All (drop_down_term, CurrentDesk, Iconic) Iconify false
 + I TestRc (!Match) All (drop_down_term, CurrentDesk, !Focused, !Iconic) FocusRaise
 + I TestRc (!Match) All (drop_down_term, CurrentDesk, Raised, !Iconic) Iconify true
 + I All (drop_down_term) Focus
# Appearance of drop-down term
Style drop_down_term !Title, !Borders, !Icon, WindowListSkip,\
   Sticky, !Closable, EWMHMaximizeIgnoreWorkingArea, PositionPlacement 0 0
# F1 - show drop-down term
Key F1      A   N   DropDownTerm
######################################## Functions
# Maximize to left half of screen
AddToFunc TileLeft
 + I ThisWindow (Maximized, !Shaded, !Iconic) AnimatedMove 0 0
 + I ThisWindow (!Shaded, !Iconic) Maximize true 50 100
# Maximize to right half of screen
AddToFunc TileRight
 + I ThisWindow (!Shaded, !Iconic) Maximize true 50 100
 + I ThisWindow (Maximized, !Shaded, !Iconic) AnimatedMove -0 0
# Maximize to upper half of screen
AddToFunc TileUp
 + I ThisWindow (Maximized, !Shaded, !Iconic) AnimatedMove 0 0
 + I ThisWindow (!Shaded, !Iconic) Maximize true 100 50
# Maximize to bottom half of screen
AddToFunc TileDown
 + I ThisWindow (!Shaded, !Iconic) Maximize true 100 50
 + I ThisWindow (Maximized, !Shaded, !Iconic) AnimatedMove 0 -0
# Raise dock and iconified apps
AddToFunc RaiseDock
 + I All (FvwmButtons) Raise
 + I All (Iconic) Raise
# Focus and Raise
AddToFunc FocusRaise
 + I ThisWindow Focus
 + I ThisWindow Raise
# Rearrange icons
AddToFunc Rearrange
 + I All (CurrentPage, Iconic) PlaceAgain Icon
# Send focus
AddToFunc TransferFocus
 + I Prev (!Iconic, CurrentPage, AcceptsFocus) Focus
 + I TestRc (!Match) ThisWindow (CurrentPage, AcceptsFocus) Focus
######################################## Keybindings
#Keyname   Context   Modifiers   Function               Description
Key Up      A   4      TileUp                  #Super+Up -- maximize to upper half
Key Down   A   4      TileDown               #Super+Down -- maximize to bottom half
Key Left   A   4      TileLeft               #Super+Left -- maximize to left half
Key Right   A   4      TileRight               #Super+Right -- maximize to right half
Key Q      A   4      ThisWindow Close            #Super+Q -- close
Key A      A   4      ThisWindow Iconify            #Super+A -- iconify
Key W      A   4      ThisWindow Maximize            #Super+W -- maximize
Key S      A   4      RaiseLower               #Super+S -- raise or lower window
Key D      A   4      RaiseDock               #Super+D -- raise dock and icons
Key R      A   C4      Restart                  #Ctrl+Super+R -- restart FVWM
Key D      A   CM      All (CurrentPage, !Iconic) Iconify      #Ctrl+Alt+D -- show desktop
Key Tab      A   C      Prev (CurrentDesk, !Iconic) FocusRaise      #Ctrl+TAB --  focus and raise prev window
Key Tab      A   SC      Next (CurrentDesk, !Iconic) FocusRaise      #Ctrl+Shift+TAB --  focus and raise next window
Key Tab      A   4      Next (Iconic, !drop_down_term) FocusRaise   #Super+TAB --  focus and raise next icon
Key Tab      A   S4      Prev (Iconic, !drop_down_term) FocusRaise   #Super+Shift+TAB --  focus and raise prev icon
Key F12      A   4      Menu Utilities root 100 o100-64p      #Super+F12 -- Utilities menu
# Apps keybindings
Key F2      A   M      Exec exec gmrun               #Alt+F2
Key X      A   CM      Exec exec xkill               #Ctrl+Alt+x
Key T      A   C4      Exec exec transset -t 0.8         #Ctrl+Super+t
Key L      A   CM      Exec exec xscreensaver-command -lock      #Ctrl+Alt+l
Key X      A   C4      Exec exec xcalc -stipple         #Ctrl+Super+x
Key C      A   C4      Exec exec gcolor2            #Ctrl+Super+c
Key Print   A   S      Exec exec gnome-screenshot -d 3 -p      #Shift+Print
Key Print   A   C      Exec exec gnome-screenshot -a         #Ctrl+Print
Key Print   A   4      Exec exec gnome-screenshot -w -b -p -e shadow -d 3 #Super+Print
Key Escape   A   C      Exec exec xterm -geometry 90x35+0+0 -fg white -bg "#454749" -name htop -e htop #Ctrl+Escape
Key G      A   C4      Exec exec surf -b "http://translate.google.com"   #Ctrl+Super+g
# Volume control (media keys)
Key XF86AudioRaiseVolume A A      Exec exec mixer vol +5
Key XF86AudioLowerVolume A A      Exec exec mixer vol -5
######################################## FVWM Modules
# FVWM banner
*FvwmBanner: NoDecor
*FvwmBanner: Pixmap Logo.png
# FVWM Identify app
*FvwmIdent: Font "xft:Droid Sans:size=10"
*FvwmIdent: Fore white
*FvwmIdent: Back #454749
*FvwmIdent: MinimalLayer 6
# FVWM quit dialog
*FvwmFormDefault: Font "xft:Droid Sans:bold:size=10"
*FvwmFormDefault: ButtonFont "xft:Droid Sans:size=10"
*FvwmFormDefault: Fore white
*FvwmFormDefault: Back #454749
*FvwmFormDefault: ItemFore white
*FvwmFormDefault: ItemBack #454749
*FvwmForm-Quit: GrabServer
*FvwmForm-Quit: WarpPointer
*FvwmForm-Quit: PadVText 10
*FvwmForm-Quit: Command Beep
*FvwmForm-Quit: Text "Do you really want to quit?"
*FvwmForm-Quit: Line center
*FvwmForm-Quit: Button quit "Shutdown" ^S
*FvwmForm-Quit: Command Exec exec shutdown -p now
*FvwmForm-Quit: Button quit "Reboot" ^R
*FvwmForm-Quit: Command Exec exec shutdown -r now
*FvwmForm-Quit: Button quit "Logout" ^L
*FvwmForm-Quit: Command Quit
*FvwmForm-Quit: Button quit "Cancel" ^[
*FvwmForm-Quit: Command Nop
# FVWM animation
*FvwmAnimate: Effect Frame
*FvwmAnimate: Width 3
*FvwmAnimate: Delay 3
*FvwmAnimate: Iterations 50
# FVWM Pager
*FvwmPager: Columns 2
*FvwmPager: Font none
*FvwmPager: Back #262626
*FvwmPager: Hilight #4986FB
*FvwmPager: WindowBorderWidth 1
*FvwmPager: UseSkipList
*FvwmPager: MiniIcons
*FvwmPager: Balloons
*FvwmPager: BalloonFont "xft:Monospace:size=9"
*FvwmPager: BalloonBack black
*FvwmPager: BalloonFore white
*FvwmPager: BalloonYOffset -1
*FvwmPager: BalloonStringFormat %i
# FVWM Buttons
*FvwmDock: Rows 1
*FvwmDock: Columns 3
*FvwmDock: Colorset 0
*FvwmDock: PressColorset 3
*FvwmDock: Geometry 192x64-0-0
*FvwmDock: (2x1, Frame 2, Swallow(UseOld,NoClose) "FvwmPager" \
   'Module FvwmPager 0 3')
*FvwmDock: (1x1, Frame 3, Icon FBSD.png,\
   Action(Mouse1) 'All (CurrentPage, !Iconic) Iconify',\
   Action(Mouse2) 'RaiseDock',\
   Action(Mouse3) 'Menu Utilities root 100 o100-64p',\
   Action(Mouse4) 'Next (AcceptsFocus, CurrentDesk, !Iconic) FocusRaise',\
   Action(Mouse5) 'Prev (AcceptsFocus, CurrentDesk, !Iconic) FocusRaise')

*FvwmMiniButtons: Rows 3
*FvwmMiniButtons: Columns 3
*FvwmMiniButtons: Colorset 0
*FvwmMiniButtons: PressColorset 3
*FvwmMiniButtons: Padding 0 0
*FvwmMiniButtons: Geometry 64x64-192-0
*FvwmMiniButtons: (1x1, Frame 1, Icon term.png,\
   Action(Mouse1) 'Exec exec urxvt')
*FvwmMiniButtons: (1x1, Frame 1, Icon /usr/local/share/icons/Adwaita/16x16/places/folder.png,\
   Action(Mouse1) 'Exec exec pcmanfm',\
   Action(Mouse3) 'Exec exec gsudo pcmanfm')
*FvwmMiniButtons: (1x1, Frame 1, Icon /usr/local/share/icons/hicolor/16x16/apps/geany.png,\
   Action(Mouse1) 'Exec exec geany')
*FvwmMiniButtons: (1x1, Frame 1, Icon /usr/local/lib/firefox/browser/chrome/icons/default/default16.png,\
   Action(Mouse1) 'Exec exec firefox')
*FvwmMiniButtons: (1x1, Frame 1, Icon $[HOME]/.icons/palemoon16.png,\
   Action(Mouse1) 'Exec exec palemoon')
*FvwmMiniButtons: (1x1, Frame 1, Icon $[HOME]/.icons/luakit16.png,\
   Action(Mouse1) 'Exec exec luakit')
*FvwmMiniButtons: (1x1, Frame 1, Icon $[HOME]/.icons/audacious16.png,\
   Action(Mouse1) 'Exec exec audacious')
*FvwmMiniButtons: (1x1, Frame 1, Icon /usr/local/share/icons/Adwaita/16x16/apps/utilities-system-monitor.png,\
   Action(Mouse1) 'Exec exec xterm -geometry 90x35+0+0 -fg white -bg "#454749" -name htop -e htop',\
   Action(Mouse3) 'Exec exec xterm -g 90x30-0+0 -fg white -bg "#454749" -name iftop -e iftop -i wlan0')
*FvwmMiniButtons: (1x1, Frame 1, Icon /usr/local/share/icons/hicolor/16x16/apps/tigervnc.png,\
   Action(Mouse1) 'Exec exec vncviewer -passwd ~/.vnc/passwd 192.168.0.2:0',\
   Action(Mouse2) 'Exec exec vncviewer',\
   Action(Mouse3) 'Exec exec vncviewer -passwd ~/.vnc/passwd 192.168.0.2:1')

DestroyModuleConfig FvwmButtons: *
*FvwmButtons: Rows 1
*FvwmButtons: Columns 5
*FvwmButtons: Colorset 0
*FvwmButtons: PressColorset 3
*FvwmButtons: Geometry 320x64-256-0
*FvwmButtons: (1x1, Frame 3, Swallow(UseOld,NoClose) "stalonetray"\
   'Exec exec stalonetray --scrollbars-size 3')
*FvwmButtons: (1x1, Frame 3, Swallow(Kill) "wmcpuload"\
   'Exec exec wmcpuload -w
*FvwmButtons: (1x1, Frame 3, Swallow(UseOld,NoClose) "wmsmixer"\
   'Exec exec wmsmixer -l green -b black')')
*FvwmButtons: (1x1, Frame 3, Swallow(UseOld,NoClose) "wmclockmon"\
   'Exec exec wmclockmon -bw -nl', Action(Mouse1) 'Exec exec alarm-clock-applet',\
   Action(Mouse3) 'Exec exec wmclockmon-cal')
*FvwmButtons: (1x1, Frame 1, Swallow(UseOld,NoClose) "wmmoonclock"\
   'Exec exec wmmoonclock')
######################################## Styles
# Modules
Style FvwmIdent WindowListSkip, NeverFocus, !Title
Style FvwmForm WindowListSkip, !Title
Style FvwmButtons !Maximizable, !Iconifiable, !Title, !Borders,\
   Sticky, NeverFocus, WindowListSkip, CirculateSkip,\
   FixedSize, !Closable, FixedPosition
Style fvwm_menu !Button 3, !Button 5, Lenience, UsePPosition
# Apps
Style panel EWMHIgnoreStackingOrderHints, FixedPosition, !Closable, !Title
Style Gmrun !Maximizable, !UsePPosition, !Button 5, !StickyStippledTitle,\
   PositionPlacement Center, NoDecorHint, Sticky
Style Gcolor2 !Button 5
Style xterm MiniIcon term.png, Icon Term.png, IconOverride
Style urxvt UseStyle xterm
Style desktop_window EWMHIgnoreStackingOrderHints, StaysOnBottom
Style Vncviewer !Title, PositionPlacement 0 0
Style Xephyr UseStyle Vncviewer
Style Gimp* IconOverride, Icon /usr/local/share/icons/hicolor/48x48/apps/gimp.png,\
   MiniIcon /usr/local/share/icons/hicolor/16x16/apps/gimp.png, EWMHMiniIconOverride
Style Epiphany IconOverride,\
   Icon /usr/local/share/icons/Adwaita/48x48/apps/web-browser.png,\
   MiniIcon /usr/local/share/icons/Adwaita/16x16/apps/web-browser.png
Style Chromium-browser NoPPosition, IconOverride, Icon $[HOME]/.icons/chromium-browser48.png
Style luakit MiniIcon $[HOME]/.icons/luakit16.png, EWMHMiniIconOverride
Style Wmclockmon-cal !UsePPosition, PositionPlacement -0 0, TitleFormat Calendar
Style conky !Maximizable, !Iconifiable, !Closable, !Title, FixedSize,\
   Sticky, NeverFocus, StaysOnBottom, WindowListSkip, CirculateSkip
Style xclock UseStyle conky, FixedPosition, PositionPlacement 75p 50p
Style Gmixer PositionPlacement -0 -0, !Button 5
Style alarm-clock-applet PositionPlacement 0 0
Style Mirage IconOverride, Icon $[HOME]/.icons/mirage.png
Style Zenity PositionPlacement Center, FixedUSSize, !Maximizable, !Button 5
Style 'Pale moon' IconOverride, Icon $[HOME]/.icons/palemoon48.png
Style mpv IconOverride, Icon $[HOME]/.icons/mpv.png
Style Shotcut IconOverride, Icon $[HOME]/.icons/shotcut.png
Style SDL_App !Button 5, !Maximizable
# Fix wine games focus
Style *.exe Lenience
######################################## FvwmEvent (add actions to events)
DestroyModuleConfig FvwmEvent: *
# When iconify/close, focus prev active window
*FvwmEvent: iconify TransferFocus
*FvwmEvent: destroy_window TransferFocus
# Rearrange icons when deiconify or close
*FvwmEvent: deiconify Rearrange
*FvwmSecondEvent: destroy_window Rearrange



Here is some keybindings:
super + q -- close
super + w -- maximize
super + a -- iconify
super + s -- raise or lower window
super + d -- raise dock and icons

alt+tab = alt tab
ctrl+tab / ctrl+shift+tab -- focus and raise next/prev uniconified window
super+tab / super+shift+tab -- focus next/prev icon
super+space -- window options menu
ctrl+alt+d -- iconify all
Last edited by ILLUXA on Sat Dec 02, 2017 8:04 am, edited 10 times in total.
Transcend or Die

FVWM 2.6.7, FreeBSD 11.1-RELEASE

User avatar
ILLUXA
Cat in the hat
Cat in the hat
Posts: 25
Joined: Sat May 28, 2016 4:07 pm
Location: $[HOME]

Re: FVWM Vertex theme!

Postby ILLUXA » Thu Nov 30, 2017 4:16 pm

UPDATED.

Added: menu icons and dock, you need to check links to some dock icons manually in config,
here is apps that dock uses: stalonetray, wmcpuload, wmsmixer (replace it with wmamixer if you use GNU/Linux), wmclockmon, wmmoonclock.

Here is my ~/.stalonetrayrc

Code: Select all

kludges force_icons_size
no_shrink  true
skip_taskbar true
sticky true
dockapp_mode simple
parent_bg true
transparent false
geometry 2x2
max_geometry 2x2
icon_size 26
slot_size 26
scrollbars horizontal
grow_gravity SW


For compositing I use compton, here is my ~/.config/compton.conf

Code: Select all

dbus = true;
backend = "xrender";
vsync = "opengl";
dbe = false;
glx-no-stencil = true;
detect-transient = true;
sw-opti = true;
detect-rounded-corners = true;
use-ewmh-active-win = true;
detect-client-opacity = true;
detect-client-leader = true;

mark-wmwin-focused = true;
mark-ovredir-focused = true;
shadow = true;
clear-shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
shadow-ignore-shaped = true;
shadow-radius = 4;
shadow-opacity = 1;
shadow-offset-x = -6;
shadow-offset-y = -5;

fading = true;
fade-delta = 5;
no-fading-openclose = false;
fade-in-step = 0.03;
fade-out-step = 0.1;
frame-opacity = 1;
inactive-opacity = 1;

shadow-exclude = [
   #"!name ~= ''",
   "class_g %= '*.exe'",
   "class_g = 'conky'",
   "name = 'Notification'" ];

wintypes:
{
   tooltip = { fade = false; shadow = true; opacity = 0.85; };
   popup_menu = { fade = false; shadow = true; opacity = 0.9; };
   dropdown_menu = { fade = false; shadow = true; opacity = 0.9; };
   utility = { fade = true; shadow = true; opacity = 0.85; };
};



P.S:
Please, remove this!
Image
Or at least increase it to something more usable than 300px!
Cause it seems this forum is not about custom icons, or about some microscopic researches!
It is even impossible to add this little image in full size! I had to scale it using gimp, before adding it to "P.S"!
Last edited by ILLUXA on Fri Dec 01, 2017 11:26 am, edited 1 time in total.
Transcend or Die

FVWM 2.6.7, FreeBSD 11.1-RELEASE

User avatar
ILLUXA
Cat in the hat
Cat in the hat
Posts: 25
Joined: Sat May 28, 2016 4:07 pm
Location: $[HOME]

Re: FVWM Vertex theme!

Postby ILLUXA » Fri Dec 01, 2017 12:27 am

What I'm really missing in FVWM is a possibility to add "padding" to title bar buttons,
for now the absence of this option limits FVWM theming very much, cause all modern
themes and WM-s have distance between buttons, while it is impossible to add custom
space between buttons in FVWM.

What I also want to mention, is a focus policy, it is possible to fix it little bit using FvwmEvent,
but "Prev" doesn't work fine sometimes, for example when you launch app from command line,
and then switch to anther one, "Prev" won't work for an app, that was launched using cli or some launcher.

Also animation, like "FvwmAnimate" and "PlaceAgain Anim" is not very usable,
because it is impossible to run functions in background when using FVWM,
each function (animation) must be finished before the other one is launched,
so when animation is running, it is impossible to use any other FVWM functions.
Transcend or Die

FVWM 2.6.7, FreeBSD 11.1-RELEASE


Return to “Fvwm-themes”

Who is online

Users browsing this forum: No registered users and 1 guest