Advertisement
Guest User

Minimal fvwm

a guest
Jun 29th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.93 KB | None | 0 0
  1. ## ~/.fvwm/config.minimal
  2. ##
  3. ## ███████╗ ██╗ ██╗ ██╗ ██╗ ████╗ ████╗
  4. ## ██╔════╝ ██║ ██║ ██║ ██╗ ██║ ██╔██╗ ██╔██║
  5. ## ███████╗ ╚██╗ ██╔╝ ██║ ████╗ ██║ ██║╚████╔╝██║
  6. ## ██╔════╝ ╚████╔╝ ██║██╔═██╗██║ ██║ ╚██╔╝ ██║
  7. ## ██║ ╚██╔╝ ████╔╝ ╚████║ ██║ ╚═╝ ██║
  8. ## ╚═╝ ╚═╝ ╚═══╝ ╚═══╝ ╚═╝ ╚═╝
  9.  
  10. ## Command in ~/.xinitrc...
  11. ## exec /usr/bin/fvwm2 -f ~/.fvwm/config.minimal 2>~/.xsession-errors
  12.  
  13. ModulePath $[FVWM_MODULEDIR]:$[FVWM_USERDIR]/modules
  14.  
  15. DefaultFont "xft:Sans Bold:pixelsize=14"
  16.  
  17. Style * Font -misc-tamsyn-bold-r-normal--20-145-100-100-c-100-iso8859-1
  18.  
  19. ## Define 7 simple desktops with no edge effects.
  20. InfoStoreAdd desk_min 1
  21. InfoStoreAdd desk_max 7
  22. DesktopSize 1x1
  23. EwmhBaseStruts 0 3 0 0
  24. EdgeScroll 0 0
  25. EdgeThickness 0
  26. EdgeResistance -1
  27.  
  28. #### MOUSE, CURSOR + KEYS
  29. ClickTime 300
  30. MoveThreshold -1
  31. BusyCursor * False
  32. IgnoreModifiers L25
  33.  
  34. CursorStyle ROOT left_ptr
  35. CursorStyle TITLE left_ptr
  36. CursorStyle DEFAULT left_ptr
  37. CursorStyle SYS left_ptr
  38. CursorStyle MENU left_ptr
  39. CursorStyle WAIT left_ptr
  40.  
  41. Style * ClickToFocus
  42. Style * FPSortWindowlistByFocus
  43. Style * RaiseTransient
  44. Style * LowerTransient
  45. Style * StackTransientParent
  46. Style * EWMHUseStackingOrderHints
  47.  
  48. ## Stop new windows from stealing focus.
  49. Style * SkipMapping
  50. DestroyFunc EWMHActivateWindowFunc
  51. AddToFunc EWMHActivateWindowFunc I Nop
  52.  
  53. ## Force placement to centered.
  54. Style * PositionPlacement Center
  55. Style * !UsePPosition
  56.  
  57. ## Ignore decor hinting
  58. Style * NoDecorHint, NoFuncHint, NoOLDecor, GNOMEIgnoreHints
  59. Style * DecorateTransient
  60.  
  61. ## Border styles + colorsets
  62. Style * BorderWidth 4, HandleWidth 4
  63. Style URxvt BorderWidth 2, HandleWidth 2
  64. Style * BorderColorset 18, HilightBorderColorset 19
  65. BorderStyle -- Flat
  66.  
  67. Colorset 18 fg #ffffff, bg #36403D, sh #ffffff, hi #ffffff
  68. Colorset 19 fg #ffffff, bg #566661, sh #ffffff, hi #ffffff
  69.  
  70. Style * Title, TitleAtTop
  71.  
  72. TitleStyle Centered Height 0
  73. TitleStyle Inactive (Colorset 20 -- Flat )
  74. TitleStyle Active (Colorset 21 -- Flat )
  75. Style * Colorset 10, HilightColorset 10
  76.  
  77. Colorset 10 fg #808079, bg #ffffff, sh #808079, hi #808079
  78. Colorset 20 fg #ffffff, bg #302F2C, sh #ffffff, hi #ffffff
  79. Colorset 21 fg #ffffff, bg #302F2C, sh #ffffff, hi #ffffff
  80.  
  81. ## Switch focus via WindowList - Alt + Tab
  82. Key Tab A M WindowList (CurrentDesk, !Sticky, AcceptsFocus) Root c c \
  83. NoCurrentDeskTitle, NoGeometry, CurrentAtEnd, \
  84. IconifiedAtEnd, MaxLabelWidth 60
  85.  
  86. AddToFunc StartFunction I Module FvwmCommandS
  87. AddToFunc StartFunction I Module FvwmConsole -terminal urxvt -g 60x20 \
  88. -fg grey70 -fn -gohu-gohufont-medium-r-normal--14-*-iso8859-1
  89.  
  90. ## Switch to Desktop N
  91. PipeRead ' for zz in $(seq $[infostore.desk_min] $[infostore.desk_max]) ; do \
  92. echo "Key $zz A 4 GotoDesk 0 $zz" ; done '
  93.  
  94. ## Switch to the L/R Desktop
  95. Key Left A M GotoDesk -1 $[infostore.desk_min] $[infostore.desk_max]
  96. Key Right A M GotoDesk 1 $[infostore.desk_min] $[infostore.desk_max]
  97. Mouse 4 R A GotoDesk -1 $[infostore.desk_min] $[infostore.desk_max]
  98. Mouse 5 R A GotoDesk 1 $[infostore.desk_min] $[infostore.desk_max]
  99.  
  100. Key G A 4 Exec gmrun
  101. Key F2 A M Exec gmrun
  102. Key F A 4 Module FvwmConsole -terminal urxvt -g 60x20 \
  103. -fg grey70 -fn -gohu-gohufont-medium-r-normal--14-*-iso8859-1
  104.  
  105. Style gmrun !Title
  106.  
  107. AddToFunc StartFunction
  108. + I Exec fvwm-root --retain-pixmap $[FVWM_USERDIR]/images/wallpapers/dark-digital-texture--1024x768.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement