Advertisement
Guest User

Untitled

a guest
Apr 10th, 2021
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.93 KB | None | 0 0
  1. ##################################
  2. # ____________________________
  3. # ( _________________________)
  4. # ) (__ _ _ _ _
  5. # ( __)( \/ )( \/\/ )/\/\
  6. # ) ( \ / \ // \
  7. # (___) \/ \/\/(_/\/\_) 2.6
  8. #
  9. #
  10. # This is the default configuration file shipped with fvwm.
  11. #
  12. # This config file is organized as follows:
  13. #
  14. # 1: Functions
  15. # 2: Styles
  16. # 3: Colorsets
  17. # 4: Menus
  18. # 5: Bindings
  19. # 6: Decor
  20. # 7: Modules
  21. #
  22. #################################
  23.  
  24. # InfoStoreAdd can be used to store variable data internal to fvwm.
  25. # The variable can then be used in the configuration as $[infostore.name].
  26. #
  27. # You can also use environment variables but for data internal to fvwm
  28. # use InfoStore variables instead.
  29. #
  30. # The following is used in various menus and also sets the terminal
  31. # that FvwmConsole uses. Change this to your terminal of choice
  32. InfoStoreAdd terminal /usr/bin/urxvt
  33.  
  34. ###########
  35. # 1: Functions
  36. #
  37. # Fvwm can use custom functions for various tasks.
  38. # The syntax for defining a function named FunctionName is:
  39. #
  40. # DestroyFunc FunctionName
  41. # AddToFunc FunctionName
  42. # + I [Action to do Immediately]
  43. # + C [Action to do on a Mouse Click]
  44. # + D [Action to do on a Mouse Double Click]
  45. # + H [Action to do on a Mouse Hold]
  46. # + M [Action to do on a Mouse Motion]
  47. ###########
  48.  
  49. # Start Function
  50. #
  51. # The start function is run right after fvwm is done reading
  52. # the config file. This function run after each restart
  53. # so using Test (Init) or Test (Restart) can further control
  54. # actions that are run during the first time run (Init) or
  55. # actions that are run after a restart.
  56. DestroyFunc StartFunction
  57. AddToFunc StartFunction
  58. + I Exec exec fvwm-root $[FVWM_USERDIR]/400040.png
  59. + I Test (Init) Module FvwmBanner
  60. + I Module FvwmButtons FooterPanel
  61. + I Module FvwmEvent EventNewDesk
  62.  
  63. DestroyFunc UrgencyFunc
  64. AddToFunc UrgencyFunc
  65. + I UrgencyDoneFunc
  66. # + I Iconify off
  67. # + I FlipFocus
  68. # + I Raise
  69. # + I WarpToWindow !Raise 50 50
  70.  
  71. DestroyFunc UrgencyDoneFunc
  72. AddToFunc UrgencyDoneFunc
  73. + I Nop
  74.  
  75. DestroyFunc WindowListFunc
  76. AddToFunc WindowListFunc
  77. + I Iconify off
  78. + I FlipFocus
  79. + I Raise
  80. #+ I WarpToWindow !Raise 50 50
  81.  
  82. DestroyFunc FuncFvwmNextWindow
  83. AddToFunc FuncFvwmNextWindow
  84. + I Next (CurrentPage, !Iconic, AcceptsFocus) FlipFocus NoWarp
  85. + I Current Raise
  86.  
  87. DestroyFunc FuncFvwmPrevWindow
  88. AddToFunc FuncFvwmPrevWindow
  89. + I Prev (CurrentPage, !Iconic, AcceptsFocus) Focus NoWarp
  90. + I Current Raise
  91.  
  92. # Mouse Bindings Functions
  93. DestroyFunc RaiseMoveX
  94. AddToFunc RaiseMoveX
  95. + I Raise
  96. + M $0
  97. + D $[1-]
  98.  
  99. DestroyFunc RaiseMove
  100. AddToFunc RaiseMove
  101. + I Raise
  102. + M $0
  103.  
  104. DestroyFunc MoveToCurrent
  105. AddToFunc MoveToCurrent
  106. + I ThisWindow MoveToPage
  107. + I ThisWindow MoveToDesk
  108.  
  109. # Function: IconManClick
  110. #
  111. # This function is run from FvwmIconMan when the button is clicked.
  112. DestroyFunc IconManClick
  113. AddToFunc IconManClick
  114. + I ThisWindow (Raised, !Shaded, !Iconic, CurrentPage) Iconify
  115. + I TestRc (Match) Break
  116. + I ThisWindow WindowShade off
  117. + I ThisWindow Iconify off
  118. + I ThisWindow Raise
  119. + I ThisWindow (AcceptsFocus) FlipFocus
  120.  
  121. # Function: ToggleTitle
  122. #
  123. # This function will toggle if fvwm shows the TitleBar.
  124. DestroyFunc ToggleTitle
  125. AddToFunc ToggleTitle
  126. + I ThisWindow (State 1) WindowStyle Title
  127. + I TestRc (Match) State 1 False
  128. + I TestRc (Match) Break
  129. + I WindowStyle !Title
  130. + I State 1 True
  131.  
  132. # Function: ChangeDesk
  133. #
  134. # This function is called by FvwmEvent every time the Desk is changed.
  135. DestroyFunc ChangeDesk
  136. AddToFunc ChangeDesk
  137. + I SendToModule FvwmButtons ChangeButton desk0 Colorset 10
  138. + I SendToModule FvwmButtons ChangeButton desk1 Colorset 10
  139. + I SendToModule FvwmButtons ChangeButton desk2 Colorset 10
  140. + I SendToModule FvwmButtons ChangeButton desk3 Colorset 10
  141. + I SendToModule FvwmButtons ChangeButton desk$0 Colorset 11
  142.  
  143.  
  144. #############
  145. # 2: Styles #
  146. #############
  147.  
  148. # Desktops and Pages
  149. #
  150. # Fvwm has both Virtual Desktops and Pages. Each Desktop is built from
  151. # a grid of Pages. The following sets the name of four Desktops and then
  152. # divides each Desktop into a 2x2 grid of Pages that are positioned as
  153. #
  154. # +---+---+
  155. # | | |
  156. # +---+---+
  157. # | | |
  158. # +---+---+
  159. #
  160. DesktopName 0 Main
  161. DesktopName 1 Desk1
  162. DesktopName 2 Desk2
  163. DesktopName 3 Desk3
  164. DesktopSize 2x2
  165.  
  166. # EdgeScroll will move the view port between the Pages when the mouse
  167. # moves to the edge of the screen. This set the amount of distance to
  168. # scroll at 100% (full page) and the EdgeResistance which is a timer
  169. # for how long the mouse as at the edge before it scrolls.
  170. #
  171. # Set EdgeScroll 0 0 and/or EdgeResistance -1 to disable.
  172. EdgeScroll 100 100
  173. EdgeResistance -1
  174. EdgeThickness 1
  175. Style * EdgeMoveDelay 350, EdgeMoveResistance 350
  176.  
  177. # EwmhBaseStruts [left] [right] [top] [bottom]
  178. # Reserves space along the edge(s) of the Screen that will not
  179. # be covered when maximizing or placing windows.
  180. EwmhBaseStruts 0 0 0 50
  181.  
  182. # This sets the ClickTime and MoveThreshold used to determine
  183. # Double Clicks, Hold and Move for the mouse.
  184. ClickTime 250
  185. MoveThreshold 3
  186.  
  187. # Sets the focus style to SloppyFocus and a mouse click
  188. # in a window will Raise it.
  189. Style * SloppyFocus, !MouseFocusClickRaises
  190.  
  191. # Default Font
  192. DefaultFont "xft:Sans:Bold:size=9"
  193.  
  194. # Window Placement
  195. Style * MinOverlapPlacement, GrabFocusOff, !UsePPosition
  196.  
  197. # Sets all windows to OpaqueMove (vs a wired frame) and windows will
  198. # snap to each other and the edge of the screen.
  199. OpaqueMoveSize unlimited
  200. Style * ResizeOpaque, SnapAttraction 15 SameType ScreenAll, SnapGrid
  201.  
  202. # Transient Windows (such as open file windows)
  203. Style * DecorateTransient, StackTransientParent
  204. Style * !FPGrabFocusTransient, FPReleaseFocusTransient
  205.  
  206. # WindowShade
  207. Style * WindowShadeScrolls, WindowShadeSteps 10
  208.  
  209. # Ignore Numlock and other modifiers for bindings
  210. # See http://fvwm.org/documentation/faq/#why-do-numlock-capslock-and-scrolllock-interfere-with-clicktofocus-andor-my-mouse-bindings
  211. IgnoreModifiers L25
  212.  
  213. # Decor Styles
  214. Style * BorderWidth 5, HandleWidth 5, MWMButtons, FvwmBorder, FirmBorder
  215. Style * Colorset 1, HilightColorset 2
  216. Style * BorderColorset 3, HilightBorderColorset 4
  217.  
  218. # Disable Icons from appearing on desktop.
  219. # Comment this out or use Style * Icon to get the icons back.
  220. Style * !Icon
  221.  
  222. # Window Specific Styles
  223. Style * TitleAtLeft
  224.  
  225. Style URxvt PositionPlacement UnderMouse
  226.  
  227. Style FooterPanel !Title, !Borders, !Handles, Sticky, \
  228. WindowListSkip, NeverFocus
  229. Style ConfirmQuit !Title, PositionPlacement Center, WindowListSkip, Layer 6
  230. Style FvwmIdent WindowListSkip
  231.  
  232. #######
  233. # 3: Colorsets
  234. #
  235. # Colorsets can be used to configure the color of the various
  236. # parts of fvwm such as window decor, menus, modules, etc.
  237. #
  238. # Colorset Convention
  239. #
  240. # 0 - Default
  241. # 1 - Inactive Windows
  242. # 2 - Active Window
  243. # 3 - Inactive Windows Borders
  244. # 4 - Active Windows Borders
  245. # 5 - Menu - Inactive Item
  246. # 6 - Menu - Active Item
  247. # 7 - Menu - Grayed Item
  248. # 8 - Menu - Title
  249. # 9 - Reserved
  250. # 10+ Modules
  251. # 10 - Module Default
  252. # 11 - Module Hilight
  253. # 12 - Module ActiveButton (Mouse Hover)
  254. # 13 - FvwmPager Active Page
  255. # 14 - FvwmIconMan Iconified Button
  256. ###########
  257. Colorset 0 fg #ffffff, bg #003c3c, hi, sh, Plain, NoShape
  258. Colorset 1 fg #c0c0c0, bg #003c3c, hi, sh, Plain, NoShape
  259. Colorset 2 fg #c0c0c0, bg #003c3c, hi, sh, Plain, NoShape
  260. Colorset 3 fg #ffffff, bg #003c3c, hi, sh, Plain, NoShape
  261. Colorset 4 fg #ffffff, bg #003c3c, hi, sh, Plain, NoShape
  262. Colorset 5 fg #000000, bg #ffffff, hi, sh, Plain, NoShape
  263. Colorset 6 fg #ffffff, bg #2d2d2d, hi, sh, Plain, NoShape
  264. Colorset 7 fg grey30, bg #ffffff, hi, sh, Plain, NoShape
  265. Colorset 8 fg #ffffff, bg #003c3c, hi, sh, Plain, NoShape
  266. Colorset 10 fg #ffffff, bg #003c3c, hi, sh, Plain, NoShape
  267. Colorset 11 fg #ffffff, bg #1a6e99, hi, sh, Plain, NoShape
  268. Colorset 12 fg #2d2d2d, bg #ffffff, hi, sh, Plain, NoShape
  269. Colorset 13 fg #ffffff, bg #1a6e99, hi, sh, Plain, NoShape
  270. Colorset 14 fg #555555, bg #003c3c, hi #aaaaaa, sh #999999, Plain, NoShape
  271.  
  272. #######
  273. # 4: Menus
  274. ###########
  275. MenuStyle * MenuColorset 5, ActiveColorset 6, GreyedColorset 7, TitleColorset 8
  276. MenuStyle * Hilight3DOff, HilightBack, HilightTitleBack, SeparatorsLong
  277. MenuStyle * TrianglesSolid, TrianglesUseFore
  278. MenuStyle * ItemFormat "%|%3.1i%5.3l%5.3>%|"
  279. MenuStyle * Font "xft:Sans:size=9"
  280.  
  281. # Root Menu
  282. #
  283. # The root menu will PopUp with a click in the root
  284. # window or using alt-f1 (or menu).
  285. DestroyMenu MenuFvwmRoot
  286. AddToMenu MenuFvwmRoot "Fvwm" Title
  287. + "&Programs%icons/programs.png%" Popup MenuPrograms
  288. + "XDG &Menu%icons/apps.png%" Popup XDGMenu
  289. + "&XTerm%icons/terminal.png%" Exec exec $[infostore.terminal]
  290. + "" Nop
  291. + "Fvwm&Console%icons/terminal.png%" Module FvwmConsole -terminal $[infostore.terminal]
  292. + "Copy Config%icons/conf.png%" FvwmScript FvwmScript-ConfirmCopyConfig
  293. + "" Nop
  294. + "Re&fresh%icons/refresh.png%" Refresh
  295. + "&Restart%icons/restart.png%" Restart
  296. + "&Quit%icons/quit.png%" Module FvwmScript FvwmScript-ConfirmQuit
  297.  
  298. # Programs Menu
  299. #
  300. # This test for some common programs and adds them to the menu.
  301. # When adding programs you don't need to use the Test (x foo)
  302. # lines as this is only to help make this menu portable.
  303. DestroyMenu MenuPrograms
  304. AddToMenu MenuPrograms "Programs" Title
  305. Test (x chromium) + "Chromium" Exec exec chromium
  306. Test (x firefox) + "Firefox" Exec exec firefox
  307. Test (x google-chrome) + "Google-Chrome" Exec exec google-chrome
  308. Test (x gvim) + "gVim" Exec exec gvim
  309. Test (x xemacs) + "XEmacs" Exec exec xemacs
  310. Test (x gimp) + "Gimp" Exec exec gimp
  311. Test (x vlc) + "VLC" Exec exec vlc
  312.  
  313. # Window Operations Menus
  314. DestroyMenu MenuWindowOps
  315. AddToMenu MenuWindowOps
  316. + "Move" Move
  317. + "Resize" Resize
  318. + "Iconify" Iconify
  319. + "Maximize" Maximize
  320. + "Shade" WindowShade
  321. + "Stick" Stick
  322. + "" Nop
  323. + "Close" Close
  324. + "More..." Menu MenuWindowOpsLong This 0 0
  325.  
  326. DestroyMenu MenuWindowOpsLong
  327. AddToMenu MenuWindowOpsLong
  328. + "Move" Move
  329. + "Resize" Resize
  330. + "(De)Iconify" Iconify
  331. + "(Un)Maximize" Maximize
  332. + "(Un)Shade" WindowShade
  333. + "(Un)Sticky" Stick
  334. + "(No)TitleBar" Pick (CirculateHit) ToggleTitle
  335. + "Send To" Popup MenuSendTo
  336. + "" Nop
  337. + "Close" Close
  338. + "Destroy" Destroy
  339. + "" Nop
  340. + "Raise" Raise
  341. + "Lower" Lower
  342. + "" Nop
  343. + "StaysOnTop" Pick (CirculateHit) Layer 0 6
  344. + "StaysPut" Pick (CirculateHit) Layer 0 4
  345. + "StaysOnBottom" Pick (CirculateHit) Layer 0 2
  346. + "" Nop
  347. + "Identify" Module FvwmIdent
  348.  
  349. DestroyMenu MenuIconOps
  350. AddToMenu MenuIconOps
  351. + "(De)Iconify" Iconify
  352. + "(Un)Maximize" Maximize
  353. + "(Un)Shade" WindowShade
  354. + "(Un)Sticky" Stick
  355. + "(No)TitleBar" Pick (CirculateHit) ToggleTitle
  356. + "Send To" Popup MenuSendTo
  357. + "" Nop
  358. + "Close" Close
  359. + "Destroy" Destroy
  360. + "" Nop
  361. + "Raise" Raise
  362. + "Lower" Lower
  363. + "" Nop
  364. + "StaysOnTop" Pick (CirculateHit) Layer 0 6
  365. + "StaysPut" Pick (CirculateHit) Layer 0 4
  366. + "StaysOnBottom" Pick (CirculateHit) Layer 0 2
  367. + "" Nop
  368. + "Identify" Module FvwmIdent
  369.  
  370. DestroyMenu MenuSendTo
  371. AddToMenu MenuSendTo
  372. + "Current" MoveToCurrent
  373. + "Page" PopUp MenuSendToPage
  374. + "Desk" PopUp MenuSendToDesk
  375.  
  376. DestroyMenu MenuSendToDesk
  377. AddToMenu MenuSendToDesk
  378. + "Desk 0" MoveToDesk 0 0
  379. + "Desk 1" MoveToDesk 0 1
  380. + "Desk 2" MoveToDesk 0 2
  381. + "Desk 3" MoveToDesk 0 3
  382.  
  383. DestroyMenu MenuSendToPage
  384. AddToMenu MenuSendToPage
  385. + "Page (0,0)" MoveToPage 0 0
  386. + "Page (0,1)" MoveToPage 0 1
  387. + "Page (1,0)" MoveToPage 1 0
  388. + "Page (1,1)" MoveToPage 1 1
  389.  
  390.  
  391. #######
  392. # 5: Mouse and Key bindings
  393. #
  394. # Contexts:
  395. # R = Root Window rrrrrrrrrrrrrrrrrrrrrr
  396. # W = Application Window rIrrrr<---------^rrrrr
  397. # F = Frame Corners rrrrrr[13TTTT642]rrrrr
  398. # S = Frame Sides rIrrrr[wwwwwwwww]rrrrr
  399. # T = Title Bar rrrrrr[wwwwwwwww]rrrrr
  400. # I = Icon rIrrrrv_________>rrrrr
  401. # rrrrrrrrrrrrrrrrrrrrrr
  402. #
  403. # Numbers are buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2]
  404. #
  405. # Modifiers: (A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing
  406. #
  407. # Format: Key <X> <Context> <Modifier> <Action>
  408. # Mouse <X> <Context> <Modifier> <Action>
  409. ####################
  410.  
  411. # Alt-F1 or Menu to load the root menu and Alt-Tab for a WindowList.
  412. # Ctrl-F1/F2/F3/F4 will switch between the Virtual Desktops.
  413. # Super_R (windows key) will launch a terminal.
  414. #
  415. # Silent supresses any errors (such as keyboards with no Menu key).
  416. #Silent Key F1 A M Menu MenuFvwmRoot
  417. Silent Key Menu A A Menu MenuFvwmRoot
  418. Silent Key Tab A M WindowList Root c c NoDeskSort, SelectOnRelease Meta_L
  419. Silent Key Tab A M FuncFvwmNextWindow
  420. Silent Key Tab A SM FuncFvwmPrevWindow
  421. Silent Key F1 A C GotoDesk 0 0
  422. Silent Key F2 A C GotoDesk 0 1
  423. Silent Key F3 A C GotoDesk 0 2
  424. Silent Key F4 A C GotoDesk 0 3
  425. Silent Key 1 A CM GotoPage 0 0
  426. Silent Key 2 A CM GotoPage 1 0
  427. Silent Key 3 A CM GotoPage 0 1
  428. Silent Key 4 A CM GotoPage 1 1
  429. Silent Key Super_R A A Exec exec $[infostore.terminal]
  430. Silent Key Return A CM Exec exec $[infostore.terminal]
  431. Silent Key KP_Enter A CM Exec exec $[infostore.terminal]
  432. Silent Key BackSpace A CM Restart
  433. Silent Key x A CM Maximize 100 100
  434. Silent Key i A CM Module FvwmIdent
  435. Silent Key Equal A CM Maximize 0 100
  436. Silent Key Delete A CM Close
  437. Silent Key Insert A CM RaiseMoveX Move "Iconify off"
  438. Silent Key XF86AudioLowerVolume A N Exec exec /usr/bin/amixer sset Master 2%-
  439. Silent Key XF86AudioRaiseVolume A N Exec exec /usr/bin/amixer sset Master 2%+
  440.  
  441. # Window Buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2]
  442. # 1 - Open the WindowOps menu.
  443. # 2 - Close on single click, Destory on double click.
  444. # 4 - Maximize (right/middle button will only maximize vertical/horizontal)
  445. # 6 - Iconify (minimize)
  446. Mouse 1 1 A Menu MenuWindowOps Delete
  447. Mouse 1 2 A Close
  448. Mouse 1 4 A Maximize 100 100
  449. Mouse 2 4 A Maximize 0 100
  450. Mouse 3 4 A Maximize 100 0
  451. Mouse 1 6 A Iconify
  452.  
  453. # TitleBar: Click to Raise, Move, Double Click to Maximize
  454. # Mouse Wheel Up/Down to WindowShade On/Off
  455. # Borders: Click to raise, Move to Resize
  456. # Root Window: Left Click - Main Menu
  457. # Right Click - WindowOps Menu
  458. # Middle Click - Window List Menu
  459. # Right click TitleBar/Borders for WindowOps Menu
  460. Mouse 1 T A RaiseMoveX Move Maximize
  461. Mouse 1 W M RaiseMoveX Move Maximize grow grow
  462. Mouse 1 FS A RaiseMove Resize
  463. Mouse 3 W M RaiseMove Resize
  464. Mouse 4 T A WindowShade True
  465. Mouse 5 T A WindowShade False
  466. Mouse 1 R A Menu MenuFvwmRoot
  467. Mouse 2 R A WindowList
  468. Mouse 3 R A Menu MenuWindowOpsLong
  469. Mouse 1 I A RaiseMoveX Move "Iconify off"
  470. Mouse 3 T A Menu MenuWindowOps
  471. Mouse 3 I A Menu MenuIconOps
  472.  
  473. #######
  474. # 6: Window Decor
  475. #
  476. # Buttons Locations: [1 3 5 7 9 TTTTT 0 8 6 4 2]
  477. #
  478. # 1 - WindowOps Menu
  479. # 2 - Close
  480. # 4 - Maximize
  481. # 6 - Minimize
  482. ###########
  483. TitleStyle LeftJustified -- Flat
  484. AddButtonStyle 1 MiniIcon
  485. AddButtonStyle 2 Vector 4 25x25@3 85x85@3 85x25@4 25x85@3
  486. AddButtonStyle 4 Vector 5 25x25@3 85x25@3 85x85@3 25x85@3 25x25@3
  487. AddButtonStyle 6 Vector 5 47x67@3 57x73@3 53x73@3 53x67@3 47x67@3
  488. ButtonStyle All -- Flat
  489. ButtonStyle All - Clear
  490. ButtonStyle 1 - MwmDecorMenu
  491. ButtonStyle 4 - MwmDecorMax
  492. ButtonStyle 6 - MwmDecorMin
  493. BorderStyle -- HiddenHandles NoInset Raised
  494.  
  495. ############
  496. # 7: Modules
  497. #############
  498.  
  499. # FvwmIdent
  500. #
  501. # FvwmIdent is a module that can be used to get the various info about
  502. # a window. One use is getting the class/resource/name of a window.
  503. DestroyModuleConfig FvwmIdent:*
  504. *FvwmIdent: Colorset 10
  505. *FvwmIdent: Font "xft:Sans:size=8"
  506.  
  507. # FvwmBanner
  508. #
  509. # This displays the Fvwm Logo for 5 seconds. This is displayed
  510. # when fvwm starts.
  511. DestroyModuleConfig FvwmBanner:*
  512. *FvwmBanner: NoDecor
  513. *FvwmBanner: Timeout 5
  514.  
  515. # FvwmScript
  516. #
  517. # FvwmScript is a module that allows one to write custom desktop
  518. # widgets and various other tools. This config uses two FvwmScripts.
  519. # - DateTime - uses the output of "date" to display the date/time
  520. # on the FooterPanel.
  521. # - Quit - This is a popup that asks for quit confirmation before
  522. # quitting fvwm.
  523. DestroyModuleConfig FvwmScript:*
  524. *FvwmScript: DefaultColorset 10
  525.  
  526. # FvwmButtons - FooterPanel
  527. #
  528. # FvwmButtons is a powerful module that can be used to build custom
  529. # panels and docks. This config uses FvwmButtons to build the FooterPanel.
  530. # The panel contains buttons to switch desks, FvwmPager, a system tray,
  531. # FvwmIconMan (list of running windows), and a clock.
  532. #
  533. # Note - To use the system tray you must have "stalonetray" installed.
  534. DestroyModuleConfig FooterPanel:*
  535. *FooterPanel: Geometry 120x$[vp.height]-0+0
  536. *FooterPanel: Colorset 10
  537. *FooterPanel: Rows $[vp.height]
  538. *FooterPanel: Columns 120
  539. *FooterPanel: Frame 0
  540. *FooterPanel: Font "xft:Sans:size=9"
  541. *FooterPanel: (120x45, Icon "fvwm-logo-small.png", Frame 0)
  542. *FooterPanel: (120x5, Frame 0)
  543. *FooterPanel: (10x20, Frame 0)
  544. *FooterPanel: (25x20, Id desk0, Title "0", Action (Mouse 1) GotoDesk 0 0, Colorset 11, ActiveColorset 12, Frame 0)
  545. *FooterPanel: (25x20, Id desk1, Title "1", Action (Mouse 1) GotoDesk 0 1, ActiveColorset 12, Frame 0)
  546. *FooterPanel: (25x20, Id desk2, Title "2", Action (Mouse 1) GotoDesk 0 2, ActiveColorset 12, Frame 0)
  547. *FooterPanel: (25x20, Id desk3, Title "3", Action (Mouse 1) GotoDesk 0 3, ActiveColorset 12, Frame 0)
  548. *FooterPanel: (10x20, Frame 0)
  549. *FooterPanel: (5x80, Frame 0)
  550. *FooterPanel: (110x80, Swallow FvwmPager 'Module FvwmPager *', Frame 0)
  551. *FooterPanel: (5x80, Frame 0)
  552. *FooterPanel: (120x5, Frame 0)
  553. Test (x stalonetray) *FooterPanel: (120x20, Swallow(NoClose,UseOld) \
  554. stalonetray 'Exec exec stalonetray --config \
  555. "$[FVWM_DATADIR]/default-config/.stalonetrayrc"', Frame 0)
  556. Test (x stalonetray) PipeRead 'echo "*FooterPanel: (120x$(($[vp.height]-225)), \
  557. Top, Swallow FvwmIconMan \'Module FvwmIconMan\', Frame 0)"'
  558. Test (!x stalonetray) PipeRead 'echo "*FooterPanel: (120x$(($[vp.height]-205)),\
  559. Top, Swallow FvwmIconMan \'Module FvwmIconMan\', Frame 0)"'
  560. *FooterPanel: (120x45, Swallow DateTime 'Module FvwmScript FvwmScript-DateTime',\
  561. Frame 0)
  562. *FooterPanel: (120x5, Frame 0)
  563.  
  564. # FvwmPager
  565. #
  566. # This module displays the location of the windows on the various Pages
  567. # and Desks. This is setup to show only the Pages on the current Desk.
  568. DestroyModuleConfig FvwmPager:*
  569. *FvwmPager: Colorset * 10
  570. *FvwmPager: HilightColorset * 13
  571. *FvwmPager: BalloonColorset * 10
  572. *FvwmPager: WindowColorsets 10 11
  573. *FvwmPager: Font None
  574. *FvwmPager: Balloons All
  575. *FvwmPager: BalloonFont "xft:Sans:size=8"
  576. *FvwmPager: BallonYOffset +2
  577. *FvwmPager: Window3dBorders
  578. *FvwmPager: MiniIcons
  579.  
  580. # FvwmIconMan
  581. #
  582. # FvwmIconMan is a powerful tool to list and manage windows. This
  583. # is used as the window list in the panel or taskbar.
  584. DestroyModuleConfig FvwmIconMan:*
  585. *FvwmIconMan: UseWinList true
  586. *FvwmIconMan: ButtonGeometry 120x20
  587. *FvwmIconMan: ManagerGeometry 1x1
  588. *FvwmIconMan: Background #003c3c
  589. *FvwmIconMan: Foreground #ffffff
  590. *FvwmIconMan: FocusColorset 11
  591. *FvwmIconMan: IconColorset 14
  592. *FvwmIconMan: FocusAndSelectColorset 12
  593. *FvwmIconMan: SelectColorset 12
  594. *FvwmIconMan: IconAndSelectColorset 12
  595. *FvwmIconMan: DrawIcons always
  596. *FvwmIconMan: ReliefThickness 0
  597. *FvwmIconMan: Format "%t"
  598. *FvwmIconMan: Font "xft:Sans:size=9"
  599. *FvwmIconMan: Action Mouse 0 A ret
  600. *FvwmIconMan: Action Mouse 1 A sendcommand IconManClick
  601. *FvwmIconMan: Action Mouse 3 A sendcommand "Menu MenuIconOps"
  602. *FvwmIconMan: Resolution global
  603. *FvwmIconMan: Tips needed
  604. *FvwmIconMan: Sort id
  605.  
  606. # FvwmEvent
  607. #
  608. # FvwmEvent is a module that can run an action or function
  609. # on specific events. This instance changes which desk number
  610. # is highlighted when the desk is changed.
  611. DestroyModuleConfig EventNewDesk:*
  612. *EventNewDesk: PassID
  613. *EventNewDesk: new_desk ChangeDesk
  614.  
  615. # FvwmForm
  616. #
  617. # FvwmForm is a module that can be used to build a GUI
  618. # form. Used with fvwm-menu-desktop-config.fpl.
  619. # This sets the default colorsets.
  620. *FvwmFormDefault: Colorset 10
  621. *FvwmFormDefault: ItemColorset 13
  622.  
  623. DestroyModuleConfig FvwmIconMan:*
  624. *FvwmIconMan: UseWinList true
  625. *FvwmIconMan: ButtonGeometry 200x25
  626. *FvwmIconMan: MaxButtonWidth 100
  627. *FvwmIconMan: MaxButtonWidthByColumns 8
  628. *FvwmIconMan: ManagerGeometry 1x1
  629. *FvwmIconMan: Background #003c3c
  630. *FvwmIconMan: Foreground #c0c0c0
  631. *FvwmIconMan: FocusColorset 11
  632. *FvwmIconMan: IconColorset 14
  633. *FvwmIconMan: FocusAndSelectColorset 12
  634. *FvwmIconMan: SelectColorset 12
  635. *FvwmIconMan: IconAndSelectColorset 12
  636. *FvwmIconMan: DrawIcons always
  637. *FvwmIconMan: ReliefThickness 1
  638. *FvwmIconMan: Format " %t"
  639. *FvwmIconMan: Font "xft:Sans:size=9"
  640. *FvwmIconMan: Action Mouse 0 A ret
  641. *FvwmIconMan: Action Mouse 1 A sendcommand IconManClick
  642. *FvwmIconMan: Action Mouse 3 A sendcommand "Menu MenuIconOps"
  643. *FvwmIconMan: Resolution page
  644. *FvwmIconMan: Tips needed
  645. *FvwmIconMan: Sort none
  646. *FvwmIconMan: Title ""
  647. *FvwmIconMan: TitleButton Flat
  648.  
  649. DestroyModuleConfig FvwmPager:*
  650. *FvwmPager: Colorset * 10
  651. *FvwmPager: HilightColorset * 13
  652. *FvwmPager: BalloonColorset * 10
  653. *FvwmPager: WindowColorsets 10 11
  654. *FvwmPager: Font none
  655. *FvwmPager: Balloons All
  656. *FvwmPager: BalloonFont "xft:Sans:size=8"
  657. *FvwmPager: BallonYOffset +2
  658. *FvwmPager: WindowBorderWidth 1
  659. *FvwmPager: Window3dBorders
  660. *FvwmPager: MiniIcons
  661. *FvwmPager: UseSkipList
  662.  
  663. DestroyModuleConfig FooterPanel:*
  664. *FooterPanel: Geometry $[vp.width]x50+0-0
  665. *FooterPanel: Colorset 10
  666. *FooterPanel: Rows 50
  667. *FooterPanel: Columns $[vp.width]
  668. *FooterPanel: Frame 0
  669. *FooterPanel: Font "xft:Sans:size=8"
  670. *FooterPanel: (120x50, Icon "fvwm-logo-small.png", Frame 0)
  671. *FooterPanel: (1580x50, Left, Swallow FvwmIconMan 'Module FvwmIconMan', Frame 0)
  672. *FooterPanel: (100x50, Swallow FvwmPager 'Module FvwmPager *', Frame 0)
  673. #Test (x stalonetray) *FooterPanel: (120x50, Swallow(NoClose,UseOld) stalonetray 'Exec exec stalonetray --config "$[FVWM_USERDIR]/.stalonetrayrc"', Frame 0)
  674. *FooterPanel: (120x50, Swallow DateTime 'Module FvwmScript FvwmScript-DateTime', Frame 0)
  675.  
  676.  
  677.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement