Advertisement
Dj_Dexter

.fvwm2rc

Dec 3rd, 2011
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.02 KB | None | 0 0
  1. #vim600: foldmethod=marker
  2. ######################
  3. # Fvwm Configuration #
  4. ######################
  5. Read $[HOME]/.fvwm/FvwmIconMan2
  6. # Basic Settings {{{1
  7. # Edge settings {{{2
  8.  
  9. # EdgeScroll defines how much of the viewport is scrolled when the mouse
  10. # hits the edge of the screen. Tyically this might land the viewport
  11. # in-between pages, so I tend to disable it. Besides which, I never did
  12. # like flipping pages with the mouse.
  13. EdgeScroll 0 0
  14.  
  15. # EdgeResistance defines the resistance value from the edge of the
  16. # screen when moving windows between pages. It's useful so that you don't
  17. # move windows from page to page when you don't mean to.
  18.  
  19. #EdgeResistance 500
  20. #Style * EdgeMoveResistance 1
  21.  
  22. Style * EdgeMoveDelay scrolling
  23.  
  24. Style * EdgeMoveResistance 100 100
  25. # The width and height of the pan window drawn when moving window
  26. # between pages.
  27. EdgeThickness 1
  28. # }}}2
  29.  
  30. # Most of these options are sundry to FVWM, but provide useful features
  31. # for other modules, etc.
  32.  
  33. # I use this option if I don't want insets on the border (so-called
  34. # 'smooth' border.)
  35. #BorderStyle Simple
  36.  
  37. # Useful for AnimatedMove.
  38. SetAnimation 10 -.01 0 .01 .03 .08 .18 .3 .45 .6 .75 .85 .90 .94 .97 .99 1.0
  39.  
  40. # Where FVWM will look for its icons and anything else we might wish
  41. # for.
  42. ImagePath /usr/share/icons/wm-icons/:/usr/share/icons/wm-icons/16x16-general:+
  43. ImagePath $[HOME]/.fvwm/icons:+
  44.  
  45. # The font that's used for icon titles.
  46. IconFont -adobe-helvetica-bold-r-*-*-20-*-*-*-*-*-*-*
  47.  
  48. # Quite a thick title box for the icons (not at all like twm's style)
  49. #IconTitleRelief -50
  50.  
  51. # Relative to the font size of a window, just how high should the title
  52. # bar be? (in pixels)
  53. TitleStyle Height 11
  54.  
  55. # Mimick general appearences and functionality of windows. Fvwm puts
  56. # the geometry window in the top-left, for instance. This setting also
  57. # determines the look and feel of windowing hints and menus. I used to
  58. # use "MWM" -- and I quite often change between the two, depending on my
  59. # mood. I quite like the 3Dness of FVWM, that MWM doesn't inherently
  60. # have.
  61. Emulate Fvwm
  62.  
  63. # DesktopName is what used to be the "Label" option in the FvwmPager
  64. # module. It allows you to define (and hence set) the name of any Desks
  65. # you might have. The more names you declare here, the more desks that
  66. # are created -- but see 'DesktopSize'
  67. DesktopName 0 Main
  68. Style "*" Iconsize 36 36
  69.  
  70. # As with the 'Emulate' command, this ensures I always see the geometry
  71. # window when resizing/moving windows around the screen.
  72. HideGeometryWindow never
  73.  
  74. # EWMH are god's gift to inter-window management and client operability.
  75. # EWMHBaseStructs allows me to define, or mark-off, those areas of the
  76. # screen that I don't want new windows to be placed over, or to have
  77. # cover when a window is maximised.
  78. EWMHBaseStruts 0 0 30 45
  79.  
  80. # This defines the time between a button press and a button release (in
  81. # ms). At least this value gives me enough time to be slow about a
  82. # decision.
  83. ClickTime 310
  84.  
  85. # Number of pages per desk. In this case, mine looks like this:
  86. #
  87. #
  88. # +-----+-----+-----+-----+-----+-----+
  89. # | | | | | | |
  90. # +-----+-----+-----+-----+-----+-----+
  91. # | | | | | | |
  92. # +-----+-----+-----+-----+-----+-----+
  93. # | | | | | | |
  94. # +-----+-----+-----+-----+-----+-----+
  95. DeskTopSize 6x3
  96.  
  97. # The root cursor (the one in the root window) defaults to a cross. I
  98. # don't like this -- I prefer an arrow pointing to the left.
  99. CursorStyle root top_left_arrow
  100.  
  101. # When moving large applications, ensure they don't flicker too much.
  102. OpaqueMoveSize -1
  103.  
  104. # As with the above, when moving windows, make them stick, if:
  105. # window -> window, or icon -> icon takes place.
  106. Style * SnapAttraction 2 SameType
  107.  
  108. # How icons react
  109. Style * SnapGrid 1 1
  110.  
  111. # How many pixels before a move window is indicated?
  112. MoveThreshold 3
  113.  
  114. # Tells Fvwm to ignore the XEvent 'configureNotify' to stop windows
  115. # flickering.
  116. BugOpts FlickeringMoveWorkAround True
  117. # }}}1
  118. # Colorsets {{{1
  119.  
  120. # Set the main colorset
  121. ####Colorset 0 fg black, bg rgb:60/a0/c0
  122.  
  123. Colorset 0 fg black, bg snow3
  124. #Colorset 0 fg black, bg gray68
  125. #Colorset 0 fg black, bg brown
  126. ####Colorset 1 fg white, bg rgb:c0/60/77
  127.  
  128. #Colorset 1 fg white, bg aquamarine4
  129. Colorset 1 fg white, bg lightseagreen
  130. Colorset 2 fg white, bg rgb:00/50/00, Plain, NoShape
  131. Colorset 3 fg white, bg darkgreen
  132.  
  133. # Other colorsets are defined in ~/.fvwm/colorsets, and are used for the
  134. # dynamic menu.
  135.  
  136. ColorMapFocus FollowsMouse
  137. # }}}1
  138. # Internal Variables {{{1
  139.  
  140. # Variables for FVWM's use. These are variables placed in the
  141. # environment by FVWM. Hence they can the be accessed by any command or
  142. # Module spawned by FVWM.
  143. SetEnv RCount 0
  144. SetEnv RXVT "rxvt +sb -bg white -fg black"
  145. SetEnv DefCS "Colorset 1 fg white, bg #c06077"
  146. # }}}1
  147. # Style definitions {{{1
  148. # General Window Styles {{{2
  149. # Default styles common to all windows created.
  150. Style "**" Icon default.xpm
  151. Style "*" BorderWidth 4, HandleWidth 4
  152. Style "*" FvwmBorder, FirmBorder, SloppyFocus
  153. Style "*" Colorset 0
  154. Style "*" HilightColorset 1
  155. Style "*" UseDecor fDecor
  156. Style "*" Button 1, Button 2, Button 4, Button 6
  157. Style "*" MWMButtons
  158. Style "*" MWMDecor, MWMFunctions, HintOverride, MinOverLapPlacement
  159. #Style "*" ResizeHintOverride
  160. Style "*" !UsePPosition
  161. Style "*" WindowShadeSteps 0, WindowShadeScrolls
  162. Style "*" DecorateTransient, ResizeOpaque
  163. Style "*" Font -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  164. # }}}2
  165. # Application specific styles. {{{2
  166. Style rxvt IndexedWindowName
  167. Style Fvwm* Sticky, WindowListSkip, !Title, CirculateSkip, !Handles
  168. Style FvwmConsole Title, Handles
  169. Style Vim* Title, Handles
  170. Style gaim Title, Handles, BorderWidth 5, HandleWidth 5
  171. Style xloadtime !Title, Handles, Sticky
  172. Style xbuffy !Title, Sticky
  173. Style xlassie !title, Sticky
  174. Style "Terminal Emulation" StartsOnPage 0 0 0, SkipMapping
  175. Style xmcd StartsOnPage 0 0 0, SkipMapping
  176. Style rxvt_a StartsOnPage 0 1 1, SkipMapping
  177. Style rxvt_b StartsOnPage 0 1 1, SkipMapping
  178. Style irc StartsOnPage 0 1 1, SkipMapping
  179. Style mutt StartsOnPage 1 2, SkipMapping
  180. Style rxvt_c StartsOnPage 1 2, SkipMapping
  181. Style rxvt_d StartsOnPage 1 2, SkipMapping
  182. Style Mozilla-bin StartsOnPage 0 1 0, SkipMapping, WindowListSkip
  183. Style *Firefox* StartsOnPage 0 1 0, SkipMapping, WindowListSkip
  184. Style FvwmIconMan WindowListSkip
  185. Style FvwmButtonsBottom WindowListSkip
  186. Style gecko WindowListSkip
  187. Style "Opera" !Handles
  188. Style "rclock" !Title, !Borders, !Handles, Sticky, WindowListSkip
  189. Style "xload" !Title, !Borders, !Handles, Sticky, WindowListSkip
  190. Style "trayer" !Title, !Borders, !Handles, Sticky
  191. Style "Pcmanfm" !Handles
  192.  
  193. #}}}2
  194. # Module Styles {{{2
  195. Style FvwmButtons !Title, !Handles, CirculateSkip, NeverFocus, Sticky, \
  196. WindowListSkip
  197. Style Buttons-Slider !Title, !Handles, !Borders
  198. Style *bar* !Handles, !Borders, SloppyFocus
  199.  
  200. # Using FvwmForm
  201. Style "Login" !Title, !Handles, BorderWidth 10
  202. Style FvwmForm-Run Title
  203. # FvwmButtons-FvwmButtonsBottom
  204. Style FvwmButtonsBottom !Title, !Borders, WindowListSkip
  205. #}}}2
  206. # }}}1
  207. # Decors {{{1
  208. # AddToDecor allows for things like vector buttons to be defined. This is
  209. # deprecated and plans for it to be re-written are long overdue. :)
  210. AddToDecor fDecor
  211. + BorderStyle Simple
  212. + TitleStyle -- Raised
  213. + ButtonStyle All -- Raised
  214. + AddButtonStyle 1 Vector 5 25x40@1 25x60@1 75x60@0 75x40@0 25x40@1
  215. + AddButtonStyle 2 Vector 4 50x25@1 75x75@0 25x75@0 50x25@1
  216. + AddButtonStyle 4 Vector 4 50x75@1 25x25@1 75x25@1 50x75@0
  217. + ButtonStyle 1 - Clear MWMDecorMenu
  218. #+ ButtonStyle 2 - Clear
  219. + ButtonStyle 2 - Clear MWMDecorMax
  220. + ButtonStyle 4 - Clear MWMDecorMin
  221. # }}}1
  222. # Bindings {{{1
  223. # Mouse Bindings {{{2
  224. # Handle some Mouse bindings now...
  225. # Recall that mouse formats look like this:
  226. #
  227. # +------------+
  228. # | || || || |
  229. # | |
  230. # +------------+
  231. # 1 3 2
  232.  
  233. # Binding Functions
  234. #
  235. # "I" stands for Immediate
  236. # "M" stands for Motion
  237. # "C" stands for Click
  238. # "H" stands for Hold
  239. # "D" stands for Double Click
  240.  
  241. # ---------------------------------------------------------------------------
  242. # Contexts:
  243. # R = Root Window rrrrrrrrrrrrrrrrrrrrrr
  244. # W = Application Window rIrrrrFSSSSSSSSSFrrrrr
  245. # F = Frame Corners rrrrrrS13TTTT642Srrrrr
  246. # S = Frame Sides rIrrrrSwwwwwwwwwSrrrrr
  247. # T = Title Bar rrrrrrSwwwwwwwwwSrrrrr
  248. # I = Icon rIrrrrFSSSSSSSSSFrrrrr
  249. # rrrrrrrrrrrrrrrrrrrrrr
  250. # Numbers are buttons: 1 3 5 7 9 0 8 6 4 2
  251. #
  252. # Modifiers: (A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing
  253. # ---------------------------------------------------------------------------
  254.  
  255.  
  256. # click in the root menu
  257. Mouse 1 R A Menu FvwmMenuRoot
  258. Mouse 2 R A WindowList
  259. Mouse 3 RFT A Menu FvwmMenuWindowOps
  260.  
  261. Mouse 1 SFT A FuncFvwmMoveOrRaiseOrShade
  262. Mouse 1 SF A FuncFvwmResizeOrRaiseOrShade Maximize
  263. Mouse 1 I A FuncIconifyDeIconify
  264. Mouse 3 I A Menu FvwmMenuWindowOps
  265. Mouse 3 FS A Menu FvwmMenuWindowOps
  266.  
  267. Mouse 0 1 A FuncWindowOpsOrClose
  268. Mouse 0 4 A FuncIconifyDeIconify
  269. Mouse 0 2 A FuncFvwmMaximizeFullScreen
  270. Mouse 0 4 S FuncDeIconifyAll
  271. # }}}2
  272. # Keyboard Shortcuts {{{3
  273.  
  274. # Now some keyboard shortcuts.
  275.  
  276. # Arrow Keys
  277. # press arrow + control anywhere, and scroll by 1 page
  278.  
  279. # Now using the 'PageScroll' function
  280. Key Left A CM Scroll -100 0
  281. Key Right A CM Scroll +100 +0
  282. Key Up A CM Scroll +0 -100
  283. Key Down A CM Scroll +0 +100
  284.  
  285. #Key Left A CM PageScroll left
  286. #Key Right A CM PageScroll right
  287. #Key Up A CM PageScroll up
  288. #Key Down A CM PageScroll down
  289.  
  290. # press arrow + meta key, and scroll by 1/10 of a page
  291. Key Left A SM Scroll -10 +0
  292. Key Right A SM Scroll +10 +0
  293. Key Up A SM Scroll +0 -10
  294. Key Down A SM Scroll +0 +10
  295.  
  296. # press shift arrow + control anywhere, and move the pointer by 1% of a page
  297. Key Left A SC CursorMove -1 0
  298. Key Right A SC CursorMove +1 +0
  299. Key Up A SC CursorMove +0 -1
  300. Key Down A SC CursorMove +0 +1
  301.  
  302. #Application keybindings.
  303. Key L A CM Exec xscreensaver-command -lock
  304. Key X A 3 Function FvwmTitleRxvt
  305. Key S A 3 Stick
  306. Key Tab A 3 SendToModule FvwmProxy ShowToggle
  307. Key R A CM Module FvwmForm FvwmForm-Run
  308. Key Menu A N Popup FvwmMenuRoot
  309. #Key Tab A M -
  310. Key Up WTSF C3 PackWrapperUp
  311. Key Down WTSF C3 PackWrapperDown
  312. Key Left WTSF C3 PackWrapperLeft
  313. Key Right WTSF C3 PackWrapperRight
  314. Key Up WTSF 3 WindowShade North
  315. Key Down WTSF 3 WindowShade South
  316. Key Left WTSF 3 WindowShade West
  317. Key Right WTSF 3 WindowShade East
  318.  
  319. IgnoreModifiers L25
  320. Key F9 A M Desk 0 0
  321. Key F10 A M Desk 0 1
  322. Key F11 A M Desk 0 2
  323. Key F12 A M Desk 0 3
  324. # ALT+TAB Windowlist
  325. #Key Tab A M WindowList NoGeometry
  326. #Key Volume+
  327. Key XF86AudioRaiseVolume A A Exec exec amixer set PCM 5%+ -q
  328. #Key Volume-
  329. Key XF86AudioLowerVolume A A Exec exec amixer set PCM 5%- -q
  330. # ALT+F2 Resize
  331. Key F2 A M Resize
  332. # ALT+F2 Resize
  333. Key F10 A M Move
  334. # ALT+F4 Close
  335. Key F4 A M Close
  336. # ALT+R exec gmrun
  337. Key R A M Exec exec gmrun
  338. # ALT+E exec gentoo
  339. Key E A M Exec exec pcmanfm
  340. # Super+V +real transparency
  341. Key V A 4 Exec exec transset-df --min 0.1 -p --dec 0.2
  342. # Super+H -real transparency
  343. Key H A 4 Exec exec transset-df -p --inc 0.1
  344. # F12 to open QuakeTerm
  345. #Key F12 A A Next (CirculateHit, QuakeTerm) QuakeTermKeyBinding
  346. # WindowsKey+S Sticky window
  347. # }}}3
  348. # Mouse Stroke Support {{{2
  349. Mouse 3 R A StrokeFunc DrawMotion FeedBack StrokeWidth 1
  350. #Stroke 0 0 R N Menu MenuFvwmRoot
  351.  
  352. # Refresh Root Window {{{3
  353. # Down, Then Up.
  354. #Stroke 25852 0 R N Refresh
  355. # }}}3
  356.  
  357. # Directions (for flipping pages.) {{{3
  358. #Stroke 456 0 R N GotoPage +1p 0p
  359. #Stroke 654 0 R N GotoPage -1p 0p
  360. #Stroke 852 0 R N GotoPage 0p -1p
  361. #Stroke 258 0 R N GotoPage 0p +1p
  362.  
  363. # Diagonal...
  364. #Stroke 159 0 R N GotoPage +1p +1p
  365. #Stroke 951 0 R N GotoPage -1p -1p
  366. #Stroke 357 0 R N GotoPage -1p +1p
  367. #Stroke 753 0 R N GotoPage +1p -1p
  368. #}}}3
  369. #}}}2
  370. # }}}1
  371. # Menu Styles {{{1
  372. MenuStyle MWM
  373. MenuStyle * Font -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  374. ##############################################################
  375. #These taken from fvwm-themes 'default' theme.
  376. MenuStyle * Hilight3DThickness 2
  377. #MenuStyle * Background darkgrey, Foreground black
  378. MenuStyle * PopupDelayed, PopupDelay 150, PopdownDelayed, PopdownDelay 150
  379. MenuStyle * PopupOffset -15 100, TitleWarpOff
  380. MenuStyle * TitleUnderlines2, SeparatorsLong, TrianglesRelief
  381. MenuStyle * Animation, AutomaticHotkeysOff, DoubleClickTime
  382. MenuStyle * BorderWidth 2, SidePic, SideColor
  383. MenuStyle * PopupAsSubmenu, HoldSubmenus, SubmenusRight
  384. MenuStyle * ItemFormat "%.4s%.1|%.5i%.5l%.5l%.5r%.5i%2.3>%1|"
  385. MenuStyle * VerticalItemSpacing, VerticalTitleSpacing
  386. BusyCursor DynamicMenu True
  387. #}}}1
  388. # Functions {{{1
  389. # Init Functions {{{2
  390. # StartFunction {{{3
  391. #+ I Exec exec xsetroot -solid gray66
  392. #+ I Module FvwmButtons -g 13x80+1268+880 Buttons-Slider
  393. #+ I Module FvwmEvent FvwmEvent-count
  394. #+ I Module FvwmEvent FvwmEvent-decrxvt
  395. #}}}3
  396. # RunProgs (called via FvwmForm-Login) {{{3
  397. DestroyFunc RunProgs
  398. AddToFunc RunProgs
  399. #+ I Exec exec xsetroot -solid gray66
  400. + I Exec exec rxvt -T "Terminal Emulation" -geometry 135x41+161+189 +sb
  401. + I Exec exec xmcd -geometry 360x135+460+1
  402. #+ I Exec exec xterm -iconic -e "xlassie.sh"
  403. + I Exec exec $[RXVT] -n rxvt_a -geometry 90x24+1+482
  404. + I Exec exec $[RXVT] -n rxvt_b -geometry 88x24+645+482
  405. #+ I Exec exec xterm -T "irc" -geometry 140x30+0+0 -e "ssh -X gateway 'screen -RS irssi irssi'"
  406. #+ I Exec exec xsetroot -solid darkgrey
  407. + I Exec exec xsetroot -solid lightskyblue4
  408. + I Exec exec screen -d -S mutt -m "mutt -Z"
  409. + I Exec exec $[RXVT] -T "mutt" -n mutt -geometry 101x59+0+0 -e screen -R -S mutt
  410. + I Exec exec $[RXVT] -T "rxvt_c" -n rxvt_c -geometry 78x29+720+0
  411. + I Exec exec $[RXVT] -T "rxvt_d" -n rxvt_d -geometry 78x28+721+438
  412. # }}}3
  413. #}}}2
  414. # Exit Functions {{{2
  415. # ExitFunction {{{3
  416. AddToFunc ExitFunction I Nop
  417. #}}}3
  418. #}}}2
  419. # Window-defined functions {{{2
  420. DestroyFunc FuncDeIconifyAll
  421. AddToFunc FuncDeIconifyAll
  422. + I All (CurrentPage !Iconic AcceptsFocus) Iconify
  423.  
  424. DestroyFunc FuncFvwmMoveOrRaiseOrShade
  425. AddToFunc FuncFvwmMoveOrRaiseOrShade
  426. + H Move
  427. + M Move
  428. + C Raise
  429. + D WindowShade $[func.context]
  430. #+ I Echo $[func.context]
  431.  
  432. DestroyFunc FuncFvwmResizeOrRaiseOrShade
  433. AddToFunc FuncFvwmResizeOrRaiseOrShade
  434. + H Resize $0
  435. + M Resize $0
  436. + C Raise
  437. + D WindowShade $[func.context]
  438.  
  439. DestroyFunc FuncFvwmMoveOrRaiseLower
  440. AddToFunc FuncFvwmMoveOrRaiseLower
  441. + H Move
  442. + M Move
  443. + C RaiseLower
  444.  
  445. DestroyFunc FuncFvwmMoveOrIconify
  446. AddToFunc FuncFvwmMoveOrIconify
  447. + M Move
  448. + D Iconify
  449.  
  450. DestroyFunc FuncFvwmMaximizeFullScreen
  451. AddToFunc FuncFvwmMaximizeFullScreen
  452. + I Maximize 100 100
  453.  
  454. DestroyFunc FuncFvwmWindowOpsOrAction
  455. AddToFunc FuncFvwmWindowOpsOrAction
  456. + I Menu MenuFvwmWindowOps2 $*
  457.  
  458. DestroyFunc FuncIconifyDeIconify
  459. AddToFunc FuncIconifyDeIconify
  460. + C ThisWindow (!Iconic) Iconify
  461. + D ThisWindow (Iconic) Iconify
  462.  
  463. DestroyFunc FuncWindowOpsOrClose
  464. AddToFunc FuncWindowOpsOrClose
  465. + H Menu FvwmMenuWindowOps
  466. + C Menu FvwmMenuWindowOps
  467. + D Close
  468. # }}}2
  469. # Functions called from Menus {{{2
  470. # FuncFvwmMenuDirectory {{{3
  471. DestroyFunc FuncFvwmMenuDirectory
  472. AddToFunc FuncFvwmMenuDirectory
  473. + I PipeRead 'fvwm-menu-directory -d "$0" --exec-file ^launcher --exec-title ^rox --check-subdir --links'
  474. #}}}3
  475. # FuncFvwmMenuColorset {{{3
  476. #DestroyFunc FuncFvwmMenuColorset
  477. AddToFunc FuncFvwmMenuColorset
  478. + I DestroyMenu recreate FvwmMenuColorset
  479. + I PipeRead 'echo "AddToMenu FvwmMenuColorset Colorsets Title"'
  480. + I PipeRead 'echo \
  481. + \
  482. \
  483. "Reset\
  484. \
  485. " Function ChangeStyle "1 fg white, bg #c06077"; echo \
  486. \
  487. + \
  488. \
  489. "\
  490. \
  491. " Nop'
  492. + I PipeRead 'while read l; do echo +\
  493. "${l/*bg /\
  494. }\
  495. " Function ChangeStyle "$l"; done < ~/.fvwm/colorsets'
  496. #}}}3
  497. # FuncViewManPage {{{3
  498. DestroyFunc FuncViewManPage
  499. AddToFunc FuncViewManPage
  500. + I Exec exec xterm -fg $[fg.cs2] -bg $[bg.cs2] -g 80x40 -fn 7x14 -fb 7x14bold -n "Manual Page - $0" -T "Manual Page - $0" -e man "$0"
  501. #}}}3
  502. # SetButton {{{3
  503. DestroyFunc SetButton
  504. AddToFunc SetButton
  505. + I SendToModule FvwmButtonsBottom ChangeButton cd1 Icon cd-player.xpm
  506. #}}}3
  507. # FuncMenuMusic {{{3
  508. DestroyFunc FuncMusicMenu
  509. AddToFunc FuncMusicMenu
  510. #+ I + DynamicPopDownAction DestroyMenu FvwmMenuPreMusic
  511. + I DestroyMenu recreate FvwmMenuPreMusic
  512. + I PipeRead 'if [ "`cdcd info 2>/dev/null`" = "No disc in drive" ]; then echo break; fi'
  513. + I AddToMenu FvwmMenuPreMusic "CD ROM" Title
  514. #+ I DestroyMenu FvwmMenuPreMusic
  515. #+ I AddToMenu FvwmMenuPreMusic "CD ROM" Title
  516. #+ I + DynamicPopDownAction DestroyMenu FvwmMenuPreMusic
  517. + I PipeRead ' \
  518. cdcd info| grep Album| sed -e 's/\
  519. \
  520. "/\
  521. \
  522. \
  523. \
  524. \
  525. \
  526. \
  527. \
  528. \
  529. \
  530. "/g' -e "s#Album .*:[ ]*\
  531. \
  532. (.*\
  533. \
  534. )#+ \
  535. \
  536. "\
  537. \
  538. 1\
  539. \
  540. "#g"; \
  541. echo + \
  542. \
  543. "\
  544. \
  545. " Nop; \
  546. cdcd tracks |sed -n -e "/^[ 0-9]/p" | sed -e s/\
  547. \
  548. "/\
  549. \
  550. \
  551. \
  552. \
  553. \
  554. \
  555. \
  556. \
  557. \
  558. "/g -e "s#[ ]*\
  559. \
  560. ([0-9]*\
  561. \
  562. ):[ ]*\
  563. \
  564. ([ >]\
  565. \
  566. )[ ]*\
  567. \
  568. [.*\
  569. \
  570. ][ ]*\
  571. \
  572. (.*\
  573. \
  574. )#+ \
  575. \
  576. "\
  577. \
  578. 2\
  579. \
  580. 1: \
  581. \
  582. 3\
  583. \
  584. " Exec exec cdcd play \
  585. \
  586. 1#g"'
  587. #}}}3
  588. #}}}2
  589. # Functions called via FvwmEvent {{{2
  590. # FvwmCountDestroyWindow {{{3
  591. # Specific to FvwmEvent-count
  592. DestroyFunc FvwmCountDestroyWindows
  593. AddToFunc FvwmCountDestroyWindows
  594. + I SetEnv WinNum 0
  595. + I All (CurrentDesk !Transient) \
  596. PipeRead 'echo SetEnv WinNum $$$$(($$$$WinNum + 1))'
  597. #+ I Echo $[WinNum]
  598. + I DesktopName 0 Main ($[WinNum])
  599. #}}}3
  600. # FvwmTitleRxvt {{{3
  601. AddToFunc FvwmTitleRxvt
  602. #+ I PipeRead 'letters=($(eval echo {e..z})); \
  603. # echo SetEnv lookup $$$$(echo $$$${letters[RCount]})'
  604. #+ I PipeRead 'echo SetEnv RCount $$$$(($$$$RCount + 1))'
  605. + I Exec exec $[RXVT]
  606. #-T rxvt_$[lookup] $*
  607. #}}}3
  608. # FvwmDecrementRCount {{{3
  609. AddToFunc FvwmDecrementRCount
  610. + I PipeRead "test $[RCount] -le 0 && echo SetEnv RCount 1 \
  611. || echo SetEnv RCount $$$$(($$$$RCount - 1))"
  612. #}}}3
  613. #}}}2
  614. # Functions called from Mouse Actions {{{2
  615. # ToggleWindow {{{3
  616. AddToFunc ToggleWindow
  617. + I None ($0, CirculateHit) Function FvwmStartXbuffy
  618. #+ I TestRc (Match) Break
  619. + I Next ($0, CirculateHit) Close
  620. #+ I TestRc (Match) Break
  621. #+ I Next ($$0, CirculateHit) FlipFocus nowarp
  622. #}}}3
  623. # FvwmStartXbuffy {{{3
  624. AddToFunc FvwmStartXbuffy
  625. + I Exec exec xbuffy -bg darkgrey -fg black -poll 5 -header 0 -nobeep -horiz -mail ~/Mail{/dorset,/fvwm,/fvwm-workers,/glost,/hants,/inbox,/lgang,/sussex,/tag,/wilts,/hants-wiki,/cream,/ruby} -geometry 461x88+399-40
  626. + I All (CurrentPage, AcceptsFocus, !iconic) ThisWindow ("xbuffy") FlipFocus NoWarp
  627. + I TestRc (NoMatch) ThisWindow (xbuffy) Close
  628. #}}}3
  629. # ChangeStyle {{{3
  630. DestroyFunc ChangeStyle
  631. AddToFunc ChangeStyle
  632. + I ColorSet $*
  633. + I Style * HilightColorSet $*
  634. + I SetEnv DefCS "$0 $*"
  635. + I UpdateStyles
  636. #}}}3
  637. #}}}2
  638. # Functions called from Key-Bindings {{{2
  639. # PackWindowUp {{{3
  640. DestroyFunc PackWindowUp
  641. AddToFunc PackWindowUp
  642. + I SetEnv low_w 0
  643. + I WindowId $3 Raise
  644. + I All (CurrentPage, !Iconic AcceptsFocus, \
  645. !Shaded) PipeRead "test `expr $[w.y] + $[w.height]` -gt $[low_w] \
  646. -a `expr $[w.y] + $[w.height]` -lt $0 \
  647. -a \
  648. \
  649. ( \
  650. \
  651. ( $[w.x] -gt $1 -a $[w.x] -lt `expr $1 + $2` \
  652. \
  653. ) \
  654. -o \
  655. \
  656. ( $1 -gt $[w.x] -a $1 -lt `expr $[w.x] + $[w.width]` \
  657. \
  658. ) \
  659. -o \
  660. \
  661. ( $1 -le $[w.x] -a `expr $1 + $2` -ge `expr $[w.x] + $[w.width]` \
  662. \
  663. ) \
  664. -o \
  665. \
  666. ( $[w.x] -lt $1 -a `expr $[w.x] + $[w.width]` -gt `expr $1 + $2` \
  667. \
  668. ) \
  669. \
  670. \
  671. ) \
  672. && echo SetEnv low_w `expr $[w.y] + $[w.height]` \
  673. || echo Nop"
  674. + I WindowId $3 AnimatedMove keep $[low_w]p
  675. #+ I WindowId $3 RefreshWindow
  676.  
  677. AddToFunc PackWrapperUp I NoWindow PackWindowUp $[w.y] $[w.x] $[w.width] $[w.id]
  678. #}}}3
  679. # PackWindowDown {{{3
  680. #####
  681. # Name: PackWindowDown
  682. # Bound: Alt+Shift+Down When a window is active.
  683. # Purpose: See PackWindowUp.
  684. #
  685. #################
  686. DestroyFunc PackWindowDown
  687. AddToFunc PackWindowDown
  688. + I SetEnv high_w $[vp.height]
  689. + I WindowId $3 Raise
  690. + I All (CurrentPage, !Iconic, AcceptsFocus, \
  691. !Shaded) PipeRead "test $[w.y] -lt $[high_w] \
  692. -a $[w.y] -gt `expr $0 + $4` \
  693. -a \
  694. \
  695. ( \
  696. \
  697. ( $[w.x] -gt $1 -a $[w.x] -lt `expr $1 + $2` \
  698. \
  699. ) \
  700. -o \
  701. \
  702. ( $1 -gt $[w.x] -a $1 -lt `expr $[w.x] + $[w.width]` \
  703. \
  704. ) \
  705. -o \
  706. \
  707. ( $1 -le $[w.x] -a `expr $1 + $2` -ge `expr $[w.x] + $[w.width]` \
  708. \
  709. ) \
  710. -o \
  711. \
  712. ( $[w.x] -lt $1 -a `expr $[w.x] + $[w.width]` -gt `expr $1 + $2` \
  713. \
  714. ) \
  715. \
  716. \
  717. ) \
  718. && echo SetEnv high_w $[w.y] \
  719. || echo Nop"
  720. + I PipeRead "echo WindowId $3 AnimatedMove keep `expr $[high_w] - $4`p"
  721. #+ I WindowId $3 RefreshWindow
  722.  
  723. AddToFunc PackWrapperDown I NoWindow PackWindowDown $[w.y] $[w.x] $[w.width] $[w.id] $[w.height]
  724. #}}}3
  725. # PackWindowLeft {{{3
  726. #####
  727. # Name: PackWindowLeft
  728. # Bound: Alt+Shift+Left When a window is active
  729. # Purpose: See PackWindowUp.
  730. #
  731. # The Logic works likes this:
  732. # 1. Set Destination to the Left Edge
  733. # 2. For every window, Run these tests:
  734. # + Is the Window's Right edge further _Right_ than furthest edge seen yet?
  735. # And: + Is it's Right edge Further _Left_ than Target Windows Left edge? (ie,
  736. #in the way)
  737. # Yes:
  738. # + Does the window start inside Target Window, and end below?
  739. # Or + Does it start above, and end inside?
  740. # Or + Is it the same vertical position/height/size, or start inside and
  741. #end inside?
  742. # Or + Does it start above, and end below?
  743. # Yes:
  744. # This is the new Destination.
  745. # No:
  746. # Nop
  747. # No:
  748. # Nop
  749. # 3. Move to Destination.
  750. #
  751. #################
  752. DestroyFunc PackWindowLeft
  753. AddToFunc PackWindowLeft
  754. + I SetEnv left_w 0
  755. + I WindowId $3 Raise
  756. + I All (CurrentPage, !Iconic, AcceptsFocus, \
  757. !Shaded) PipeRead "test `expr $[w.x] + $[w.width]` -gt $[left_w] \
  758. -a `expr $[w.x] + $[w.width]` -lt $1 \
  759. -a \
  760. \
  761. ( \
  762. \
  763. ( $[w.y] -gt $0 -a $[w.y] -lt `expr $0 + $4` \
  764. \
  765. ) \
  766. -o \
  767. \
  768. ( $[w.y] -lt $0 -a `expr $[w.y] + $[w.height]` -gt $0 \
  769. \
  770. ) \
  771. -o \
  772. \
  773. ( $[w.y] -ge $0 -a `expr $[w.y] + $[w.height]` -le `expr $0 + $4` \
  774. \
  775. ) \
  776. -o \
  777. \
  778. ( $[w.y] -lt $0 -a `expr $[w.y] + $[w.height]` -gt `expr $0 + $4` \
  779. \
  780. ) \
  781. \
  782. \
  783. ) \
  784. && echo SetEnv left_w `expr $[w.x] + $[w.width]` \
  785. || echo Nop"
  786. + I WindowId $3 AnimatedMove $[left_w]p keep
  787. #+ I WindowId $3 RefreshWindow
  788.  
  789. AddToFunc PackWrapperLeft I NoWindow PackWindowLeft $[w.y] $[w.x] $[w.width] $[w.id] $[w.height]
  790. #}}}3
  791. # PackWindowRight {{{3
  792. DestroyFunc PackWindowRight
  793. AddToFunc PackWindowRight
  794. + I SetEnv right_w $[vp.width]
  795. + I WindowId $3 Raise
  796. + I All (CurrentPage, !Iconic, AcceptsFocus, \
  797. !Shaded) PipeRead "test $[w.x] -lt $[right_w] \
  798. -a $[w.x] -gt `expr $1 + $2` \
  799. -a \
  800. \
  801. ( \
  802. \
  803. ( $[w.y] -gt $0 -a $[w.y] -lt `expr $0 + $4` \
  804. \
  805. ) \
  806. -o \
  807. \
  808. ( $[w.y] -lt $0 -a `expr $[w.y] + $[w.height]` -gt $0 \
  809. \
  810. ) \
  811. -o \
  812. \
  813. ( $[w.y] -ge $0 -a `expr $[w.y] + $[w.height]` -le `expr $0 + $4` \
  814. \
  815. ) \
  816. -o \
  817. \
  818. ( $[w.y] -lt $0 -a `expr $[w.y] + $[w.height]` -gt `expr $0 + $4` \
  819. \
  820. ) \
  821. \
  822. \
  823. ) \
  824. && echo SetEnv right_w $[w.x] \
  825. || echo Nop"
  826. + I PipeRead "echo WindowId $3 AnimatedMove `expr $[right_w] - $2`p keep"
  827. #+ I WindowId $3 RefreshWindow
  828.  
  829. AddToFunc PackWrapperRight I NoWindow PackWindowRight $[w.y] $[w.x] $[w.width] $[w.id] $[w.height]
  830. #}}}3
  831. #}}}2
  832. #}}}1
  833. # Menus {{{1
  834. # FvwmMenuWindowOps {{{2
  835. DestroyMenu "FvwmMenuWindowOps"
  836. AddToMenu "FvwmMenuWindowOps" "WindowOps" Title
  837. + "&Move" Pick Move
  838. #+ Function FvwmFuncMoveOrRaiseLower
  839. + "&Resize" Pick Resize
  840. #+ Function FuncFvwmResizeOrRaiseOrShade
  841. + "R&aise" Raise
  842. + "&Lower" Lower
  843. + "(De)&Iconify" Iconify
  844. + "(Un)&Stick" Stick
  845. + "(Un)Ma&ximize" Function FuncFvwmMaximizeFullScreen
  846. + "" Nop
  847. + "&Identify" Module FvwmIdent
  848. + "" Nop
  849. + "&Close" Close
  850. + "&Delete" Delete
  851. + "D&estroy" Destroy
  852. + "" Nop
  853. + "Re&fresh Screen" Refresh
  854. #}}}2
  855. # FvwmMenuWindowOps2 {{{2
  856. DestroyMenu "FvwmMenuWindowOps2"
  857. AddToMenu "FvwmMenuWindowOps2"
  858. + "Move" Pick Move
  859. #+ Function FvwmFuncMoveOrRaiseLower
  860. + "Resize" Pick Resize
  861. #+ Function FuncFvwmResizeOrRaiseOrShade
  862. + "Raise" Raise
  863. + "Lower" Lower
  864. + "Iconify" Iconify
  865. + "(Un)Stick" Stick
  866. + "" Nop
  867. + "Identify" Module FvwmIdent
  868. + "" Nop
  869. + "Close" Close
  870. + "Destroy" Destroy
  871. + "Delete" Delete
  872. + "" Nop
  873. + "ScrollBar" Module FvwmScroll 2 2
  874. #}}}2
  875. # FvwmMenuRoot {{{2
  876. DestroyMenu "FvwmMenuRoot"
  877. AddToMenu "FvwmMenuRoot" "Root Menu" Title
  878. + MissingSubmenuFunction Beep
  879. + "&Shells" Popup FvwmMenuShellsPopup
  880. + "&Editors" Popup FvwmMenuEditorsPopup
  881. + "&Internet" Popup FvwmMenuInternetPopup
  882. + "&Games" Popup FvwmMenuGamesPopup
  883. + "&Drawing" Popup FvwmMenuDrawingPopup
  884. + "S&ystem" Popup FvwmMenuSystemPopup
  885. + "Musi&c" Popup FvwmMenuMusicPopup
  886. + "" Nop
  887. + "&File Management" Popup FvwmMenuFilePopup
  888. + "&Change Colorsets" Popup FvwmMenuColorset
  889. + "" Nop
  890. + "&Window Operations" Popup FvwmMenuWindowOps2
  891. + "&Modules" Popup FvwmMenuModulesPopup
  892. + "&Help" Popup FvwmMenuHelpPopup
  893. + "" Nop
  894. + "S&ession" Popup FvwmSession
  895. + "E&xit Fvwm" Popup FvwmExitFvwmPopup
  896. #}}}2
  897. # FvwmMenuMusicPopup {{{2
  898. DestroyMenu "FvwmMenuMusicPopup"
  899. AddToMenu "FvwmMenuMusicPopup" "Music" Title
  900. + "A&lsaplayer" Exec exec alsaplayer
  901. + "&Xmms" Exec exec xmms
  902. #+ "&Cplay (screen)" Function FvwmTitleRxvt -T "Cplay" -e "screen -T -RS cplay cplay"
  903. + "&Cplay (screen)" Exec exec rxvt -e cplay
  904. + "&Moc (screen)" Exec exec xterm -e mocp
  905. + "Gnome-alsamixer" Exec exec gnome-alsamixer
  906. + "&Audacious" Exec exec audacious
  907. + "&Audacity" Exec exec audacity
  908. + "&Alsamixer" Exec exec urxvt -e alsamixer
  909. + "&Gnome-volume-control" Exec exec gnome-volume-control
  910. + "&Sound Converter" Exec exec soundconverter
  911. + "&Asunder" Exec exec asunder
  912. + "&Tagtool" Exec exec tagtool
  913. + "&Video" Title
  914. + "&Camorama" Exec exec camoramax
  915. + "&Devede" Exec exec devede
  916. + "&Gnome-Mplayer" Exec exec gnome-mplayer
  917. + "&Xine" Exec exec xine
  918. + "&Cd Burn" Title
  919. + "&Xfburn" Exec exec xfburn
  920. + "&Gnomebaker" Exec exec gnomebaker
  921.  
  922. #}}}2
  923. # FvwmMenuShellsPopup {{{2
  924. DestroyMenu "FvwmMenuShellsPopup"
  925. AddToMenu "FvwmMenuShellsPopup" "Shells" Title
  926. + "&xterm (normal)" Exec exec xterm
  927. + "x&term (blue)" Exec exec xterm -bg blue -fg white
  928. + "" Nop
  929. + "&rxvt (normal)" Function FvwmTitleRxvt
  930. + "&urxvt (normal)" Exec exec urxvt -pe tabbed
  931. + "" Nop
  932. #}}}2
  933. # FvwmMenuSystemPopup {{{2
  934. DestroyMenu "FvwmMenuSystemPopup"
  935. AddToMenu "FvwmMenuSystemPopup" "System Utilities" Title
  936. + "&xloadtime" Exec exec xloadtime -bg darkgrey -update 1 -cpu -label -geometry 130x91+1033+859
  937. # "xlassie.&sh" Exec exec xlassie.sh
  938. + "x&buffy" Function FvwmStartXBuffy
  939. + "" Nop
  940. + "&qps" Exec exec qps
  941. + "&Gnome system Monitor" Exec exec gnome-system-monitor
  942. + "&. nitrogen" Exec exec nitrogen /home/dexter4/GNUstep/Library/WindowMaker/Backgrounds
  943. + "&Xcompmgr" Title
  944. + "&Xcompmgr" Exec exec xcompmgr -cCFf -D3
  945. + "K&ill Xcompmgr" Exec exec killall xcompmgr
  946. + "&File Manager" Title
  947. + "P&cmanfm" Exec exec pcmanfm
  948. + "&Utilidades" Title
  949. + "&T. Top" Exec exec urxvt -T Top -n Top -e top
  950. + "&C. Calculator" Exec exec xcalc
  951. + "&M. Xman" Exec exec xman
  952. + "&G. Xmag" Exec exec xmag
  953. + "&R. Xnetload" Exec exec xnetload -i eth0
  954. + "" Nop
  955. + "&L. Xscreensaver" Exec exec xscreensaver-command -lock
  956. + "Xlock" Title
  957. + "Julia" Exec exec xlock -mode julia
  958. + "Swarm" Exec exec xlock -mode swarm
  959. + "pyro" Exec exec xlock -mode pyro
  960. + "" Nop
  961. + "&D. $[gt.Reset X defaults]" Exec xrdb -load $HOME/.Xdefaults
  962. + "&F. $[gt.Refresh Screen]" Refresh
  963. + "&C. $[gt.Recapture Screen]" Recapture
  964.  
  965. #}}}2
  966. # FvwmMenuDrawingPopup {{{2
  967. DestroyMenu "FvwmMenuDrawingPopup"
  968. AddTomenu "FvwmMenuDrawingPopup"
  969. + "&Dia" Exec exec dia
  970. + "&xfig" Exec exec xfig
  971. + "&Gimp" Exec exec gimp
  972. #}}}2
  973. # FvwmMenuEditorsPopup {{{2
  974. DestroyMenu "FvwmMenuEditorsPopup"
  975. AddToMenu "FvwmMenuEditorsPopup"
  976. + MissingSubmenuFunction Beep
  977. + "&X11" Popup FvwmSubEditorsX11
  978. + "&Console" Popup FvwmSubEditorsConsole
  979. + "&Office" Popup FvwmSubEditorsOffice
  980.  
  981. # FvwmMenuSubEditorsConsole {{{3
  982. DestroyMenu "FvwmSubEditorsConsole"
  983. AddToMenu "FvwmSubEditorsConsole" "Editors - Console" Title
  984. + MissingSubmenuFunction Beep
  985. + "&nano" Exec exec xterm -bg white -fg black -e nano
  986. #}}}3
  987. # FvwmSubEditorsX11 {{{3
  988. DestroyMenu "FvwmSubEditorsX11"
  989. AddToMenu "FvwmSubEditorsX11" "Editors - X11" Title
  990. + MissingSubmenuFunction Beep
  991. + "&gedit" Exec exec gedit
  992. + "&Cooledit" Exec exec cooledit --look cool
  993. + "g&cream" Exec exec gcream
  994. + "x&less" Exec exec xless
  995. + "X&emacs" Exec exec xemacs
  996. + "G&V" Exec exec gv
  997. + "x&pdf" Exec exec xpdf
  998. + "E&vince" Exec exec evince
  999. + "" Nop
  1000. #+ "L&yx" Exec exec lyx
  1001. #+ "&Texmacs" Exec exec texmacs
  1002. #}}}3
  1003. # FvwmSubEditorsOffice {{{3
  1004. DestroyMenu "FvwmSubEditorsOffice"
  1005. AddToMenu "FvwmSubEditorsOffice" "Office" Title
  1006. + MissingSubMenuFunction Beep
  1007. + "&OpenOffice" Popup FvwmMenuOOSubMenu
  1008. + "&AbiWord" Exec exec abiword
  1009. #}}}3
  1010. # FvwmMenuOOSubMenu {{{3
  1011. DestroyMenu "FvwmMenuOOSubMenu"
  1012. AddToMenu "FvwmMenuOOSubMenu" "OpenOffice" Title
  1013. + "&OpenOffice" Exec exec openoffice
  1014. + "" Nop
  1015. + "&Writer" Exec exec oowriter
  1016. + "&Spreadsheet" Exec exec oocalc
  1017. + "&Impress" Exec exec ooimpress
  1018. + "&Drawer" Exec exec oodraw
  1019. + "&Formulae" Exec exec oomath
  1020. #}}}3
  1021. #}}}2
  1022. # FvwmMenuGamesPopup {{{2
  1023. DestroyMenu "FvwmMenuGamesPopup"
  1024. AddToMenu "FvwmMenuGamesPopup" "Games - Console" Title
  1025. + "&moon-buggy" Exec exec rxvt -e moon-buggy
  1026. + "&Ninvaders" Exec exec rxvt -e ninvaders
  1027. + "Games - X11" Title
  1028. + "x&teddy" Exec exec xteddy
  1029. + "xt&artan" Exec exec xtartan
  1030. + "&vectoroids" Exec exec vectoroids
  1031. + "G&ens" Exec exec gens
  1032. + "etracer" Exec exec etracer
  1033. + "Frozen-Bubble" Exec exec frozen-bubble
  1034. + "LsdlDoom" Exec exec lsdldoom -width 800 -height 600
  1035. + "Medafen (frontend)" Exec exec mfe
  1036. + "Openarena" Exec exec openarenax
  1037. + "Kobodeluxe" Exec exec /usr/games/bin/kobodl
  1038. + "Ninvaders" Exec exec urxvt -e ninvaders
  1039. + "wolfgl-sdm" Exec exec wolfgl-sdm -width 800 -height 600
  1040. + "wolfgl-wl11" Exec exec wolfgl-wl1 -width 800 -height 600
  1041. + "Stella" Exec exec stella
  1042. + "Gfceux" Exec exec gfceux
  1043. + "&Emuladores" Title
  1044. + "&DosBox" Exec exec dosbox
  1045. + "&Dosemu" Exec exec dosemu -6
  1046. + "&VirtualBox" Exec exec VirtualBox
  1047. # }}}2
  1048. # FvwmInternetPopup
  1049. DestroyMenu "FvwmMenuInternetPopup"
  1050. AddToMenu "FvwmMenuInternetPopup"
  1051. + "&Browsers" Popup FvwmSubInternetBrowsers
  1052. + "&Mail" Popup FvwmSubInternetMail
  1053. + "&IRC" Popup FvwmSubInternetIRC
  1054. # FvwmSubInternetBrowsers {{{3
  1055. DestroyMenu "FvwmSubInternetBrowsers"
  1056. AddToMenu "FvwmSubInternetBrowsers" "Console Browsers" Title
  1057. + "&links" Function FvwmTitleRxvt -e 'links2s'
  1058. + "l&ynx" Function FvwmTitleRxvt -e 'lynx'
  1059. + "&elinks" Function FvwmTitleRxvt -e 'elinks'
  1060. + "X11 Browsers" Title
  1061. + "&Opera" Exec exec opera
  1062. + "&Mozilla" Exec exec mozilla
  1063. + "&Firefox" Exec exec firefox
  1064. + "&Dillo" Exec exec dillo
  1065. + "&XLinks" Exec exec links2 -g
  1066. + "&Microblogging" Title
  1067. + "&IdentiCurse" Exec exec xterm -e identicurse
  1068. + "&IM" Title
  1069. + "emesene" Exec exec emesene
  1070. + "Gajim" Exec exec gajim
  1071. + "aMsn" Exec exec amsn
  1072. + "Mcabber" Exec exec urxvt -e mcabber
  1073. + "Pidgin" Exec exec pidgin
  1074. + "&Ftp" Title
  1075. + "&Gftp" Exec exec gftp
  1076. + "&ftp" Exec exec urxvt -e ftp
  1077. + "&Filezilla" Exec exec filezilla
  1078. + "&P2p" Title
  1079. + "&aMule" Exec exec amule
  1080. + "&Nicotine" Exec exec nicotine
  1081. + "&Gtk-gnutella" Exec exec gtk-gnutella
  1082. + "&Transmission" Exec exec transmission-gtk
  1083. + "&Tucan" Exec exec tucan
  1084. + "&Linuxdcpp" Exec exec linuxdcpp
  1085. #}}}3
  1086. # FvwmSubInternetMail {{{3
  1087. DestroyMenu "FvwmSubInternetMail"
  1088. AddToMenu "FvwmSubInternetMail" "Console Mail Clients" Title
  1089. + "&mutt" Function FvwmTitleRxvt -e 'mutt'
  1090. + "&cone" Function FvwmTitleRxvt -e 'cone'
  1091. + "X11 Mail Clients" Title
  1092. + "&Sylpheed-claws" Exec exec sylpheed-claws
  1093. + "&Thunderbird" Exec exec thunderbird-bin
  1094. + "Syl&pheed" Exec exec sylpheed
  1095. + "&xmh" Exec exec xmh
  1096. #}}}3
  1097. # FvwmSubInternetIRC {{{3
  1098. DestroyMenu "FvwmSubInternetIRC"
  1099. AddToMenu "FvwmSubInternetIRC" "Console IRC" Title
  1100. + "&Irssi" Exec exec rxvt -e irssi
  1101. + "&Weechat" Exec exec rxvt -e weechat-curses
  1102. + "&BitchX" Exec exec rxvt -e bitchx
  1103. + "X11 IRC" Title
  1104. + "&Xchat" Exec exec xchat
  1105. + "xi&rssi" Exec exec xirssi
  1106. #}}}3
  1107. #}}}2
  1108. # FvwmMenuFilePopup {{{2
  1109. DestroyMenu "FvwmMenuFilePopup"
  1110. AddToMenu "FvwmMenuFilePopup"
  1111. + MissingSubMenuFunction FuncFvwmMenuDirectory
  1112. + "/" Popup /
  1113. + "/etc" Popup /etc
  1114. + "Home Directory" Popup $[HOME]
  1115. #}}}2
  1116. # FvwmMenuColorset {{{2
  1117. DestroyMenu "FvwmMenuColorset"
  1118. AddToMenu "FvwmMenuColorset" DynamicPopupAction FuncFvwmMenuColorset
  1119. #}}}2
  1120. # FvwmMenuMusicRC {{{2
  1121. DestroyMenu "FvwmMenuMusicRC"
  1122. AddToMenu "FvwmMenuMusicRC"
  1123. + "Eject" Exec exec cdcd eject
  1124. + "Play" PipeRead 'echo "Function SetButton" ;killall cdpause.sh ; echo "Exec exec cdcd play"'
  1125. + "Pause" PipeRead 'killall cdpause.sh ; echo "Exec exec cdpause.sh" && echo "Exec exec cdcd pause"'
  1126. + "Resume" PipeRead 'echo "Function SetButton" ; killall cdpause.sh ; echo "Exec exec cdcd resume"'
  1127. + "Stop" PipeRead 'echo "Function SetButton" ; killall cdpause.sh ; echo "Exec exec cdcd stop"'
  1128. + "Prev" PipeRead 'echo "Function SetButton" ; killall cdpause.sh ; echo "Exec exec cdcd prev"'
  1129. + "Next" PipeRead 'echo "Function SetButton" ; killall cdpause.sh ; echo "Exec exec cdcd next"'
  1130. #}}}2
  1131. # FvwmMenuPreMusic {{{2
  1132. DestroyMenu "FvwmMenuPreMusic"
  1133. AddToMenu "FvwmMenuPreMusic" DynamicPopupAction FuncMusicMenu
  1134.  
  1135. # FvwmMenuHelpPopup {{{2
  1136. DestroyMenu "FvwmMenuHelpPopup"
  1137. AddToMenu "FvwmMenuHelpPopup" "Fvwm Manpages" Title
  1138. + "&Fvwm" FuncViewManPage fvwm
  1139. + "Fvwm&Animate" FuncViewManPage FvwmAnimate
  1140. + "FvwmA&uto" FuncViewManPage FvwmAuto
  1141. + "Fvwm&Backer" FuncViewManPage FvwmBacker
  1142. + "FvwmB&anner" FuncViewManPage FvwmBanner
  1143. + "FvwmB&uttons" FuncViewManPage FvwmButtons
  1144. + "Fvwm&Command" FuncViewManPage FvwmCommand
  1145. + "FvwmC&onsole" FuncViewManPage FvwmConsole
  1146. + "FvwmConsoleC.pl" FuncViewManPage FvwmConsoleC.pl
  1147. + "FvwmCpp" FuncViewManPage FvwmCpp
  1148. + "FvwmDebug" FuncViewManPage FvwmDebug
  1149. + "FvwmDragWell" FuncViewManPage FvwmDragWell
  1150. + "FvwmEvent" FuncViewManPage FvwmEvent
  1151. + "FvwmForm" FuncViewManPage FvwmForm
  1152. + "FvwmGtk" FuncViewManPage FvwmGtk
  1153. + "FvwmGtkDebug" FuncViewManPage FvwmGtkDebug
  1154. + "FvwmIconBox" FuncViewManPage FvwmIconBox
  1155. + "FvwmIconMan" FuncViewManPage FvwmIconMan
  1156. + "FvwmIdent" FuncViewManPage FvwmIdent
  1157. + "FvwmM4" FuncViewManPage FvwmM4
  1158. + "FvwmPager" FuncViewManPage FvwmPager
  1159. + "FvwmPerl" FuncViewManPage FvwmPerl
  1160. + "FvwmProxy" FuncViewManPage FvwmProxy
  1161. + "FvwmRearrange" FuncViewManPage FvwmRearrange
  1162. + "FvwmSave" FuncViewManPage FvwmSave
  1163. + "FvwmSaveDesk" FuncViewManPage FvwmSaveDesk
  1164. + "FvwmScript" FuncViewManPage FvwmScript
  1165. + "FvwmScroll" FuncViewManPage FvwmScroll
  1166. + "FvwmTaskBar" FuncViewManPage FvwmTaskBar
  1167. + "FvwmTheme" FuncViewManPage FvwmTheme
  1168. + "FvwmWharf" FuncViewManPage FvwmWharf
  1169. + "FvwmWinList" FuncViewManPage FvwmWinList
  1170. + "FvwmWindowMenu" FuncViewManPage FvwmWindowMenu
  1171. + "" Nop
  1172. + "fvwm-config" FuncViewManPage fvwm-config
  1173. + "fvwm-perllib" FuncViewManPage fvwm-perllib
  1174. + "fvwm-root" FuncViewManPage fvwm-root
  1175. + "fvwm-bug" FuncViewManPage fvwm-bug
  1176. + "fvwm-convert-2.2" FuncViewManPage fvwm-convert-2.2
  1177. + "fvwm-convert-2.4" FuncViewManPage fvwm-convert-2.4
  1178. + "fvwm-convert-2.6" FuncViewManPage fvwm-convert-2.6
  1179. + "" Nop
  1180. + "fvwm-menu-desktop" FuncViewManPage fvwm-menu-desktop
  1181. + "fvwm-menu-directory" FuncViewManPage fvwm-menu-directory
  1182. + "fvwm-menu-headlines" FuncViewManPage fvwm-menu-headlines
  1183. + "fvwm-menu-xlock" FuncViewManPage fvwm-menu-xlock
  1184. # }}}2
  1185. # FvwmMenuModulesPopup {{{2
  1186. DestroyMenu "FvwmMenuModulesPopup"
  1187. AddToMenu "FvwmMenuModulesPopup" "Modules" Title
  1188. + Audio Module FvwmAudio
  1189. + Auto Module FvwmAuto 200
  1190. + Buttons Module FvwmButtons
  1191. + Console Module FvwmConsole
  1192. + Event Module FvwmEvent
  1193. + Proxy Module FvwmProxy
  1194. + Ident Module FvwmIdent
  1195. + Banner Module FvwmBanner
  1196. + Pager Module FvwmPager 0 0
  1197. #}}}2
  1198. # FvwmExitFvwmPopup {{{2
  1199. DestroyMenu "FvwmExitFvwmPopup"
  1200. AddToMenu FvwmExitFvwmPopup "Exit Fvwm?" Title
  1201. + "&Restart Fvwm" Restart fvwm -f ~/.fvwm2rc
  1202. + "&Quit" Module FvwmForm FvwmForm-QuitVerify
  1203. estroyMenu "FvwmSession"
  1204. AddToMenu FvwmSession "Exit Seesion?" Title
  1205. + "&Restart" Exec exec sudo shutdown -r now
  1206. + "&Shutdown" Exec exec sudo shutdown -h now
  1207. #}}}2
  1208. #}}}1
  1209. # Module Configs {{{1
  1210. # FvwmPager {{{2
  1211. DestroyModuleConfig FvwmPager: *
  1212. #*FvwmPager: Font -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
  1213. *FvwmPager: Font none
  1214. *FvwmPager: SmallFont none
  1215. *FvwmPager: Back darkgrey
  1216. #*FvwmPagerBack #5c54c0
  1217. *FvwmPager: Fore Black
  1218. *FvwmPager: DeskHilight
  1219. *FvwmPager: WindowColors black skyblue3 orhid
  1220. *FvwmPager: Hilight orchid
  1221. #*FvwmPager: Geometry 0x0+715+514
  1222. *FvwmPager: DeskTopScale 29
  1223. *FvwmPager: SloppyFocus
  1224. *FvwmPager: UseSkipList
  1225. *FvwmPager: Balloons All
  1226. # }}}2
  1227. # FvwmButtons {{{2
  1228. # FvwmButtons: termbar {{{3
  1229. DestroyModuleConfig termbar: *
  1230. *termbar: Rows 1
  1231. *termbar: Back gray66
  1232. *termbar: (2x1,Swallow(UseOld, NoHints, Respawn) "terme" \
  1233. "Exec exec rxvt -T terme -bg darkgrey -fg black +sb -e bash --rcfile \
  1234. /home/n6tadam/.bashrc2")
  1235. *termbar: Geometry 379x80+199+870
  1236. #*termbar: Geometry 274x80+304+870
  1237. # }}}3
  1238. # FvwmButtons: bar {{{3
  1239. DestroyModuleConfig bar: *
  1240. *bar: Rows 1
  1241. *bar: Columns 11
  1242. *bar: Back gray66
  1243. *bar: Geometry 1253x80+15+880
  1244. #*bar: geometry 900x80+361+870
  1245. #*bar: geometry 684x80+586+870
  1246. *bar: (5x1,Swallow(UseOld, NoHints, Respawn) "xbuffy" FvwmStartXBuffy
  1247. *bar: (3x1,Swallow "termbar" 'Module FvwmButtons -g 379x80+199+870 termbar')
  1248. *bar: (3x1,Swallow "mpdbar" 'Module FvwmButtons mpdbar')
  1249. *bar: (1x1,Title 'Mutt',Swallow(UseOld, NoHints, Respawn) "xlassie" \
  1250. "Exec exec xlassie -offline -command 'fetchmail -s' -imap edulinux.homeunix.org -username n6tadam -password ask < ~/.mailpass -bg darkgrey -fg black -update 5 -geometry 79x89+928+861")
  1251. *bar: (1x1,Title 'station',Swallow(UseOld, NoHints, Respawn) "xloadtime" \
  1252. "Exec exec xloadtime -cpu -update 1 -bg darkgrey")
  1253. *bar: (1x1,Title 'gateway',Swallow "xloadtime"
  1254. *bar: (1x1,Swallow "FvwmPager" "Module FvwmPager 0 0")
  1255. # }}}3
  1256. # FvwmButtons: Buttons-Slider {{{3
  1257. DestroyModuleConfig Buttons-Slider: *
  1258. *Buttons-Slider: Back gray66
  1259. *Buttons-Slider: Rows 1
  1260. *Buttons-Slider: Frame 1
  1261. *Buttons-Slider: Padding 0 0
  1262. *Buttons-Slider: (Panel(NoBorder, Nohints, left, steps 15, delay 6, indicator 10) "bar" \
  1263. 'Module FvwmButtons bar')
  1264. #}}}3
  1265. # FvwmButtons: mpdbar {{{3
  1266. DestroyModuleConfig mpdbar: *
  1267. *mpdbar: Back darkgrey
  1268. *mpdbar: Columns 5
  1269. *mpdbar: Rows 2
  1270. *mpdbar: (1x1, Action (Mouse 1) 'Exec mpc play &>/dev/null', Icon \
  1271. $[HOME]/.fvwm/icons/play.png)
  1272. *mpdbar: (1x1, Action (Mouse 1) 'Exec mpc pause &>/dev/null', Icon \
  1273. $[HOME]/.fvwm/icons/pause.png)
  1274. *mpdbar: (1x1, Action (Mouse 1) 'Exec mpc stop &>/dev/null', Icon \
  1275. $[HOME]/.fvwm/icons/stop.png)
  1276. *mpdbar: (1x1, Action (Mouse 1) 'Exec mpc prev &>/dev/null', Icon \
  1277. $[HOME]/.fvwm/icons/prev.png)
  1278. *mpdbar: (1x1, Action (Mouse 1) 'Exec mpc next &>/dev/null', Icon \
  1279. $[HOME]/.fvwm/icons/next.png)
  1280. *mpdbar: (5x1,Swallow(UseOld,Respawn,NoHints) "xcpustate" \
  1281. 'Exec exec "xcpustate -shorten -1 -colors grey,black,grey,grey,grey,grey,grey,grey,grey,grey"')
  1282. # }}}3
  1283. # FvwmButtons: FvwmButtons-bottom {{{3
  1284. DestroyModuleConfig FvwmButtonsBottom: *
  1285. *FvwmButtonsBottom: ButtonGeometry 2x2+0-0
  1286. *FVwmButtonsBottom: BoxSize dumb
  1287. *FvwmButtonsBottom: Back darkgrey
  1288. *FvwmButtonsBottom: Fore Black
  1289. *FvwmButtonsBottom: Rows 20
  1290. #*FvwmButtonsBottom: Font $[fvwm_smallfont]
  1291. #*FvwmButtonsBottom: Padding 0 0
  1292. *FvwmButtonsBottom: (18x20, Frame 2, Padding 0 0, Back darkgrey, Swallow(UseOld) "xlogo" "Exec exec xlogo -render -shape")
  1293. PipeRead 'echo SetEnv width `expr $[vp.width] / 2 - 135`'
  1294.  
  1295. *FvwmButtonsBottom: ($[width]x20, Frame 1, Padding 0 1,Container(Columns 12, Rows 8, Frame 0, Padding 0 0))
  1296. #*FvwmButtonsBottom: (12x11, Back darkgrey, Swallow(UseOld, NoHints, NoClose, Respawn) "FvwmIconMan" "Module FvwmIconMan")
  1297. #*FvwmButtonsBottom: (1x9, Back darkgrey, Frame 1, Swallow (UseOld,NoClose, Respawn) "xmem" "Exec exec xmem -nolabel -jumpscroll 1 -update 1 -bg darkgrey")
  1298. #*FvwmButtonsBottom: (1x9, Back darkgrey, Frame 1, Swallow (USeOld,NoClose, Respawn) "xosview" "Exec exec xosview -captions -usedlabels -mem -disk -swap -#battery -page -ints -labels -int")
  1299. #*FvwmButtonsBottom: (1x9, Back darkgrey, Frame 1, Swallow (UseOld,NoClose) "xmem" "Exec exec ssh -X gateway xmem -nolabel -jumpscroll 1 -update 1 -bg darkgrey")
  1300. #*FvwmButtonsBottom: (1x9, Back darkgrey, Frame 1, Swallow (USeOld,NoClose) "xosview@gateway" "Exec exec ssh -X gateway xosview -captions -usedlabels -mem -disk -swap -battery -page -ints -labels -int -name xosviews -xrm "xosview@gateway*background: darkgrey"")
  1301. *FvwmButtonsBottom: (1x5+11+0, Back darkgrey, Frame 1, Swallow (UseOld,NoClose,Respawn,NoKill) "xlassie" "Exec exec xlassie -offline -command 'fetchmail -s' -imap edulinux.homeunix.org -username n6tadam -password ask < ~/.mailpass -bg darkgrey -fg black -update 10", Action (Mouse 3) 'Function ToggleWindow xbuffy')
  1302. #, Action (Mouse 3) 'FvwmStartXbuffy')
  1303. *FvwmButtonsBottom: (End)
  1304. UnsetEnv width
  1305.  
  1306. #*FvwmButtonsBottom: (1x8, Back darkgrey, Frame 1)
  1307. *FvwmButtonsBottom: (117x20, Frame 1, Padding 1 1, Container(Columns 116, Rows 19, Frame 0, Padding 0 0, Back darkgrey))
  1308. *FvwmButtonsBottom: (74x21, Frame 0, Padding 0 0, Back darkgrey, Swallow(UseOld, NoHints, NoClose, Respawn) "FvwmPager" "Module FvwmPager FvwmPager 0 0")
  1309. #*FvwmButtonsBottom: (72x19, Frame 2, Back Darkgrey, Swallow(UseOld, NoHints, NoClose, Respawn) "FvwmPager" "Module FvwmPager FvwmPager 0 0")
  1310. *FvwmButtonsBottom: (8x8, Padding 2 2, Frame 1, Back darkgrey, Panel(up,indicator, position Module mlr right, steps 0) "FvwmPager" "Module FvwmPager FvwmPager 0 0")
  1311. *FvwmButtonsBottom: (39x8, Padding 0 0, Frame 0, Back darkgrey, Swallow(UseOld, NoHints, NoClose, Respawn) "FvwmScript-Date" "Module FvwmScript FvwmScript-Date")
  1312. *FvwmButtonsBottom: (20x11, Id cd1, Padding 0 0, Frame 0, Back darkgrey, Left, Icon cd-player.xpm, Action (Mouse 1) 'Menu FvwmMenuPreMusic Rectangle +$left+$top 0', Action (Mouse 3) 'Menu FvwmMenuMusicRc' )
  1313. *FvwmButtonsBottom: (35x11, Padding 0 0, Frame 0, Back darkgrey, Swallow(UseOld, NoHints, NoClose, Respawn) "FvwmApplet-DigitalClock" "Module FvwmScript FvwmApplet-DigitalClock")
  1314. *FvwmButtonsBottom: (End)
  1315. #}}}3
  1316. # FvwmButtons: FvwmBar {{{3
  1317. DestroyModuleConfig FvwmBar: *
  1318. *FvwmBar: Frame 1
  1319. *FvwmBar: Padding 2 2
  1320. *FvwmBar: Rows 23
  1321. *FvwmBar: Columns 71
  1322. *FvwmBar: (71x23, Swallow "FvwmIconMan" `Module FvwmIconMan FvwmIconMans`)
  1323. # }}}3
  1324. # }}}2
  1325. # FvwmEvent {{{2
  1326. # FvwmEvent: FvwmEvent-count {{{3
  1327. DestroyModuleConfig FvwmEvent-count: *
  1328. *FvwmEvent-count: Cmd
  1329. *FvwmEvent-count: PassId
  1330. *FvwmEvent-count: add_window FvwmCountDestroyWindows
  1331. *FvwmEvent-count: destroy_window FvwmCountDestroyWindows
  1332. #}}}3
  1333. # FvwmEvent: FvwmEvent-decrxvt {{{3
  1334. DestroyModuleConfig FvwmEvent-decrxvt: *
  1335. *FvwmEvent-decrxvt: Cmd
  1336. *FvwmEvent-decrxvt: PassId
  1337. *FvwmEvent-decrxvt: destroy_window FvwmDecrementRCount
  1338. # }}}3
  1339. # }}}2
  1340. # FvwmForm {{{2
  1341. # FvwmForm: Login {{{3
  1342. *LoginGrabServer
  1343. *LoginWarpPointer
  1344. #*LoginFont *helvetica*m*r*n*14*
  1345. #*LoginButtonFont *helvetica*m*o*n*14*
  1346. #*LoginInputFont *cour*m*r*n*14*
  1347. *LoginFore White
  1348. #Bisque
  1349. *LoginBack Blue4
  1350. #*LoginItemFore Bisque
  1351. *LoginItemBack Gray50
  1352.  
  1353. # begin items
  1354. *LoginLine center
  1355. *LoginText "Start Options:"
  1356. *LoginLine center
  1357. *LoginButton quit " Quick Start " ^[
  1358. *LoginLine center
  1359. *LoginButton quit "All Programs" ^M
  1360. *LoginCommand RunProgs
  1361. #}}}3
  1362. # FvwmForm: Run {{{3
  1363. DestroyModuleConfig FvwmForm-Run: *
  1364. *FvwmForm-Run: Back darkgrey
  1365. *FvwmForm-Run: Fore black
  1366. *FvwmForm-Run: ItemBack darkgrey
  1367. *FvwmForm-Run: ItemFore black
  1368. *FvwmForm-Run: Title "Run Program"
  1369. *FvwmForm-Run: Line right
  1370. *FvwmForm-Run: Text "Command:"
  1371. *FvwmForm-Run: Input Program 30 ""
  1372. *FvwmForm-Run: Line right
  1373. #*FvwmForm-Run: Text "Host (optional):"
  1374. #*FvwmForm-Run: Input Host 20 ""
  1375. *FvwmForm-Run: Line expand
  1376. *FvwmForm-Run: Button quit "Run" ^M
  1377. *FvwmForm-Run: Command Exec case "$(Program)" in '') exec x-terminal-emulator $(Host?-ut -T screen-ssh@$(Host) -n screen-ssh@$(Host))$(Host!-T screen@localhost -n screen@localhost) -e $(Host?hostinfo -S $(Host) -t) screen -RR ;; *://*|www.*) exec $(Host?ssh -X $(Host)) sensible-browser $(Program) ;; *) exec $(Host?ssh -X $(Host)) $(Program) ;; esac
  1378. # Before saving the data, remove any previously saved data:
  1379. *FvwmForm-Run: Command DestroyModuleConfig FvwmForm-RunDefault: *
  1380. *FvwmForm-Run: Command !( /bin/echo \
  1381. "# This file last created by FvwmForm-Run on: `/bin/date`."; /bin/echo \
  1382. '*FvwmForm-RunDefault: Program $(Program)' ; /bin/echo \
  1383. ) > ${FVWM_USERDIR}/.FvwmForm-Run
  1384. *FvwmForm-Run: Command !( /bin/echo \
  1385. "# This file last created by FvwmForm-Run on: `/bin/date`."; /bin/echo \
  1386. Exec case '"$(Program)"' in "'')" exec x-terminal-emulator $(Host?-ut -T screen-ssh@$(Host) -n screen-ssh@$(Host))$(Host!-T screen@localhost -n screen@localhost) -e $(Host?hostinfo -S $(Host) -t) screen -RR ';; *://*|www.*)' exec $(Host?ssh -X $(Host)) sensible-browser '$(Program)' ';; *)' exec $(Host?ssh -X $(Host)) '$(Program)' ';;' esac \
  1387. ) > ${FVWM_USERDIR}/.FvwmForm-RunLast
  1388.  
  1389. *FvwmForm-Run: Button quit "In Terminal" ^J
  1390. *FvwmForm-Run: Command Exec exec x-terminal-emulator $(Host?-ut) -name $(Host?ssh@$(Host)) $(Host!localhost) -n $(Host?ssh@$(Host)) $(Host!localhost) -e $(Host?ssh -Xt $(Host)) $(Program)
  1391. # Before saving the data, remove any previously saved data:
  1392. *FvwmForm-Run: Command DestroyModuleConfig FvwmForm-RunDefault: *
  1393. *FvwmForm-Run: Command !( /bin/echo \
  1394. "# This file last created by FvwmForm-Run on: `/bin/date`."; /bin/echo \
  1395. '*FvwmForm-RunDefault: Program $(Program)' ; /bin/echo \
  1396. ) > ${FVWM_USERDIR}/.FvwmForm-Run
  1397. *FvwmForm-Run: Command !( /bin/echo \
  1398. "# This file last created by FvwmForm-Run on: `/bin/date`."; /bin/echo \
  1399. Exec exec x-terminal-emulator $(Host?-ut) -name $(Host?ssh@$(Host)) $(Host!localhost) -n $(Host?ssh@$(Host)) $(Host!localhost) -e $(Host?ssh -Xt $(Host)) '$(Program)' \
  1400. ) > ${FVWM_USERDIR}/.FvwmForm-RunLast
  1401. *FvwmForm-Run: Button restart "Reset" F3
  1402. *FvwmForm-Run: Button quit "Cancel" ^[
  1403. *FvwmForm-Run: Command Nop
  1404. # Tell FvwmForm to read vars from the .FvwmForm-RunDefault file:
  1405. *FvwmForm-Run: UseData .FvwmForm-Run *FvwmForm-RunDefault
  1406. #}}}3
  1407. #}}}2
  1408. # FvwmIconMan {{{2
  1409. # FvwmIconMan {{{3
  1410. #DestroyModuleConfig FvwmIconMan: *
  1411. *FvwmIconMan: *numManagers 1
  1412. *FvwmIconMan: *Resolution page
  1413. #*FvwmIconMan: *Background Darkgrey
  1414. *FvwmIconMan: *Background darkgrey
  1415. #*FvwmIconMan: *Foreground black
  1416. *FvwmIconMan: *Format "%t"
  1417. #*FvwmIconMan: *Font "$[fvwm_iconfont]"
  1418. *FvwmIconMan: *Action Mouse 1 A sendcommand "Focus", sendcommand "Raise"
  1419. *FvwmIconMan: *Action Mouse 2 A sendcommand "Iconify"
  1420. *FvwmIconMan: *Action Mouse 3 A sendcommand "Menu FvwmMenuWindowOps Nop"
  1421. *FvwmIconMan: *FollowFocus true
  1422. *FvwmIconMan: *UseWinList true
  1423. *FvwmIconMan: *Sort weighted
  1424. #*FvwmIconMan: *SortWeight 1 resource=screen@*
  1425. #*FvwmIconMan: *SortWeight 2 resource=*localhost
  1426. #*FvwmIconMan: *SortWeight 4 resource=screen-irc@*
  1427. #*FvwmIconMan: *SortWeight 5 resource=screen-ssh@*
  1428. #*FvwmIconMan: *SortWeight 7 resource=ssh@*
  1429. #*FvwmIconMan: *SortWeight 50
  1430. *FvwmIconMan: *PlainButton up black darkgrey
  1431. #LightSkyBlue PaleTurquoise
  1432. *FvwmIconMan: *IconButton up DimGrey darkgrey
  1433. *FvwmIconMan: *SelectButton up blue darkgrey
  1434. *FvwmIconMan: *FocusButton down black darkgrey
  1435. *FvwmIconMan: *FocusAndSelectButton down blue darkgrey
  1436. #*FvwmIconMan: FocusButton down yellow NavyBlue
  1437. #*FvwmIconMan: FocusAndSelectButton down yellow Blue
  1438. *FvwmIconMan: *TitleButton flat LightSteelBlue darkgrey
  1439. *FvwmIconMan: *DontShow icon=Untitled resource=Untitled title=FvwmButtonsBottom title=xbuffy title=xloadtime title=xlassie title="Desk 0" title=ncmpc
  1440. *FvwmIconMan: *DrawIcons always
  1441. #*FvwmIconMan: *ButtonGeometry 200x19
  1442. *FvwmIconMan: *ManagerGeometry 1x2
  1443. *FvwmIconMan: Title ""
  1444. #}}}3
  1445. # README: Comments starting with '##' are the ones to be uncommented
  1446. # next time around.
  1447.  
  1448. # FvwmIconMan: FvwmIconMans {{{3
  1449. ##DestroyModuleConfig FvwmnIconMans: *
  1450. #*FvwmIconMans: Action Mouse 5 N sendcommand "LockingSlide keep w3p"
  1451. #*FvwmIconMans: Colorset 15
  1452. ##*FvwmIconMans: ReliefThickness 1
  1453. #*FvwmIconMans: Font "xft:Bitstream Vera Sans Mono:style=Roman:size=8"
  1454. #*FvwmIconMans: FocusAndSelectColorset 16
  1455. #*FvwmIconMans: FocusColorset 16
  1456. ##*FvwmIconMans: Resolution Page
  1457. ##*FvwmIconMans: DrawIcons Always
  1458. ##*FvwmIconMans: FollowFocus True
  1459. ##*FvwmIconMans: UseWinList True
  1460. ##*FvwmIconMans: ShowOnlyIcons False
  1461. ##*FvwmIconMans: Format "%t"
  1462. #*FvwmIconMans: Title ""
  1463. ##*FvwmIconMans: Sort id
  1464. ##*FvwmIconMans: DontShow icon=Untitled resource=Untitled title=FvwmButtonsBottom title=xbuffy title=xloadtime title=xlassie title="Desk 0" title=ncmpc class=Fvwm*
  1465. #}}}3
  1466. #}}}2
  1467. #}}}1
  1468.  
  1469.  
  1470. DestroyFunc StartFunction
  1471. AddToFunc StartFunction
  1472. #+ I Exec exec xsetroot lightskyblue4
  1473. #+ I Test (Init) Module FvwmForm Login
  1474. #+ I Test (Init) Exec exec unclutter -noevents -notclass TeXmacs
  1475. + I Module FvwmButtons FvwmButtonsBottom
  1476. + I Module FvwmButtons FvwmBar -g 1273x16+0+0
  1477. + I Module FvwmCommandS
  1478. + I Module FvwmAnimate
  1479. + I Module FvwmProxy
  1480. + I Exec exec autocutsel
  1481. #+ I Test (Init) Exec exec xcompmgr -c 1
  1482. + I Exec exec xcompmgr -cCFf -D3
  1483. + I Exec exec nitrogen --restore
  1484. + I Test (Init) Exec exec rclock -geometry 80x80+1279+550 -bg \#a0a0a0
  1485. + I Test (Init) Exec exec xload -geometry 80x80+1279+640 -update 3 -fg black -bg \#a0a0a0
  1486. #+ I test (Init) Exec exec numlockx
  1487. + I Test (Init) Exec exec trayer --transparent false --edge bottom --distance 5 --widthtype request --width 100 --alpha 250 --tint blue --SetDockType True --SetPartialStrut True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement