Advertisement
krax

needle fvwm config

Oct 8th, 2011
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 23.27 KB | None | 0 0
  1. #    ___
  2. #   / _/  ___    ____ _
  3. #  / _/ |/ / |/|/ /  ' \
  4. # /_/ |___/|__,__/_/_/_/
  5. #          
  6. # fvwmversion   2.6.2
  7. # configversion 0.15
  8. #
  9. # screen resolution 1920x1200
  10. #
  11. # needed applications
  12. # xosview       for perf tabs
  13. # scrot         for screenshots
  14. # xwd           for thumbnails
  15. # iconset           gentoo faenza
  16. # mrvxt         for tabbed quakeconsole
  17. # dclock
  18. # xcalendar
  19. # ascpu
  20. #
  21. ##
  22. # SetEnv (Ugh!)
  23. # Colorsets
  24. # Style lines
  25. # Bindings
  26. # Functions
  27.  
  28. # set ImagePath variable
  29. SetEnv  fvwm_image_path "/usr/share/icons/Faenza"
  30. ImagePath $[fvwm_image_path]/apps/22:$[fvwm_image_path]/categories/22:$[fvwm_image_path]/actions/22:$[fvwm_image_path]/places/22:/usr/share/pixmaps/22
  31.  
  32. # set variables
  33. SetEnv fvwm_icon_size       196
  34. SetEnv fvwm_audio_path      /audio/mp3
  35. SetEnv fvwm_audio_exec      "mplayer"
  36. SetEnv fvwm_image_path      $[HOME]
  37. SetEnv fvwm_image_exec      "feh"
  38. SetEnv fvwm_video_exec      "mplayer"
  39. SetEnv fvwm_video_path      /home/austausch/coSmo
  40. SetEnv browser          "xterm -bg dimgray -g 140x80 -e w3m"
  41. SetEnv fvwm_wallpaper_dir   $[HOME]/wallpaper
  42. SetEnv fvwm_tmp         $[HOME]/.fvwm
  43. #SetEnv fvwm_wallpaper      $[fvwm_wallpaper_dir]/sun_through_cloudy_sky_1920x1200.png
  44.  
  45. # colorsets
  46. # 81 green 82 blue hover color definiton
  47. # 81 green
  48. Colorset 81 fg #00afff, bg #0b639b
  49. # 82 blue
  50. Colorset 82 fg #00ff00, bg #529f2c
  51. # 83 yellow
  52. Colorset 83 fg #fcff00 ,bg #696f40
  53. # 84 red
  54. Colorset 84 fg #ff0000 ,bg #7b4a4a
  55.  
  56. # 90 Transparent colors
  57. Colorset 90 Transparent, fg rgb:ff/ff/c4, bg darkgray
  58. Colorset 91 RootTransparent, fg rgb:ff/ff/c4, bg average, Tint gray 80, bgTint darkgray 60
  59.  
  60. # http://www.fvwm.org/documentation/faq/#5.5
  61. IgnoreModifiers LS
  62. DeskTopSize 6x1
  63. EwmhBaseStruts 3 3 3 35
  64. DefaultLayers 0 4 6
  65. ClickTime 200
  66. EdgeResistance 100
  67.  
  68. # global * style options
  69. Style * SmartPlacement
  70. Style * Button 1, Button 2, Button 4
  71. Style * Font "xft:DejaVU Sans Mono:style=Roman:size=8"
  72. #Style * TitleFont "xft:DejaVU Sans Mono:style=Roman:size=8"
  73. # http://fvwm.org/documentation/faq/#5.16
  74. Style * ResizeHintOverride
  75. # EdgeResistance
  76. Style * EdgeMoveDelay 100
  77. Style * EdgeMoveResistance 10
  78. Style * UseDecor NextDecor
  79. #Style * TileCascadePlacement
  80.  
  81. # menu style
  82. MenuStyle * Hilight3DThin, PopupOffset +0 100, PopupDelay 100
  83. MenuStyle * Font "xft:DejaVu Sans Mono:style=Roman:size=8"
  84. MenuStyle * Font "Shadow=0 1 SE:xft:Swis721 Cn BT:pixelsize=11"
  85. MenuStyle * MenuColorset 0, ActiveColorset 81, HilightBack
  86. MenuStyle * BorderWidth 1, TitleUnderlines0, SeparatorsLong, Animation
  87. MenuStyle * TrianglesSolid
  88. MenuStyle * ItemFormat "%.2|%.5i%.5l%.5i%10.3>%2|"
  89. MenuStyle * AutomaticHotKeys
  90. #MenuStyle * TitleColorset 2
  91. #MenuStyle * TitleFont "xft:DejaVu Sans Mono:style=Roman:size=8"
  92. MenuStyle * Animation
  93.  
  94. # desktop icon box
  95. Style * IconBox 30 30 100 -15, IconFill top left
  96.  
  97. # fvwm modules styles
  98. Style MpcButtons !Title, !Handles, Sticky, WindowListSkip, !Icon, \
  99.     BorderWidth 1, CirculateSkip, ParentalRelativity, !Iconifiable,
  100. Style IconButtons !Title, !Handles, Sticky, WindowListSkip, !Icon, \
  101.     BorderWidth 1, CirculateSkip, ParentalRelativity, !Iconifiable,
  102. Style MonitorButtons !Title, !Handles, Sticky, WindowListSkip, !Icon, \
  103.     BorderWidth 1, CirculateSkip, ParentalRelativity, !Iconifiable,
  104. Style TimeButtons !Title, !Handles, Sticky, WindowListSkip, !Icon, \
  105.     BorderWidth 1, CirculateSkip, ParentalRelativity, !Iconifiable,
  106. Style FvwmPager !Title, !Handles, Sticky, WindowListSkip, !Icon, \
  107.     BorderWidth 1, CirculateSkip, ParentalRelativity, !Iconifiable
  108. Style PagerButtons !Title, !Handles, Sticky, WindowListSkip, !Icon, \
  109.     BorderWidth 1, CirculateSkip, ParentalRelativity, !Iconifiable
  110. # fvwm app styles
  111. Style HiddenConsole !Title, !Handles, SkipMapping, WindowListSkip, !Icon, \
  112.     VariableSize, VariablePosition, StaysOnTop, !Iconifiable, \
  113.     EWMHMaximizeIgnoreWorkingArea, StickyAcrossPages, Maximizable, WindowShadeShrinks
  114.  
  115. # app specific styles
  116. Style gmrun FPGrabFocus
  117. #Style chromium-browser !Handles
  118.  
  119. # root window
  120. Key Tab A M WindowList NoGeometry
  121. Key F2  A M Resize
  122. Key F4  A M Close
  123. Key R   A M Exec exec gmrun
  124. Key E   A M Exec exec gentoo
  125. Key V   A M FvwmRearrange -tile -v 0 0 97 100
  126. Key H   A M FvwmRearrange -tile -h 0 0 100 97
  127. Key F12 A A Next (CirculateHit, HiddenConsole) HiddenConsoleKeyBinding
  128.  
  129. Mouse 1 R A Menu MenuFvwmRoot Nop
  130. Mouse 3 R A WindowList NoGeometry
  131.  
  132. # titlebar buttons
  133. Mouse 0 1 A Menu MenuWindowOptions Close
  134. Mouse 0 4 A Thumbnail
  135. #Mouse 0 4 A Maximize
  136. Mouse 0 2 A FuncDestroyOnHold
  137.  
  138. # window/border/icon
  139. Mouse 1 I A DeThumbnail
  140. Mouse 1 T A FuncMoveOrMaximize
  141.  
  142. # window decoration
  143. #####
  144. # +-----------------------------------------------------------------------+
  145. # | 1 3 5 7 9              Title            0 8 6 4 2 |
  146. # |-----------------------------------------------------------------------|
  147. # |                                   |
  148. #  
  149. # 3 5 7 8 9 0 not set
  150. ##################
  151.  
  152. DestroyDecor NextDecor
  153. AddToDecor   NextDecor
  154. + TitleStyle Height 16 -- Flat
  155. + TitleStyle Active   ( Colorset 1 --Flat ) \
  156.              InActive ( Colorset 1 --Flat )
  157. + ButtonStyle All Active   ( Colorset 1 )
  158. + ButtonStyle All InActive ( Colorset 1 )
  159. + AddButtonStyle 1 Inactive   Vector 5 40x40@1 60x40@1 60x60@0 40x60@0 40x40@1
  160. + AddButtonStyle 1 ActiveUp   Vector 5 40x40@1 60x40@1 60x60@0 40x60@0 40x40@1
  161. + AddButtonStyle 1 ActiveDown Vector 4 45x45@1 65x45@1 65x65@0 45x65@0 45x45@1
  162. + AddButtonStyle 4 Inactive Vector 13 10x0@1 80x0@1 80x10@1 80x80@0 0x80@0 0x60@1 10x65@1 70x65@0 70x0@0 55x0@1 55x10@1 55x55@0 10x55@0
  163. + AddButtonStyle 4 ActiveUp Vector 13 10x0@1 80x0@1 80x10@1 80x80@0 0x80@0 0x60@1 10x65@1 70x65@0 70x0@0 55x0@1 55x10@1 55x55@0 10x55@0
  164. + AddButtonStyle 4 ActiveDown   Vector 13 15x5@1 85x5@1 85x15@1 85x85@0 5x85@0 5x65@1 15x70@1 75x70@0 75x5@0 60x5@1 60x15@1 60x60@0 15x60@0
  165. + AddButtonStyle 2 Inactive Vector 13 60x20@0 60x40@0 80x40@1 80x60@0 60x60@0 60x80@0 40x80@0 40x60@1 20x60@0 20x40@1 40x40@1 40x20@1 60x20@1 -- Flat
  166. + AddButtonStyle 2 ActiveUp Vector 13 60x20@0 60x40@0 80x40@1 80x60@0 60x60@0 60x80@0 40x80@0 40x60@1 20x60@0 20x40@1 40x40@1 40x20@1 60x20@1 -- Flat
  167.  
  168. AddToFunc StartFunction
  169. + I Exec xsetroot -solid DarkSlateGray
  170. #+ I Test (Init) Exec exec fvwm-root --dither --retain-pixmap $[fvwm_wallpaper]
  171. + I Module FvwmAnimate
  172. + I Module FvwmButtons MpcButtons
  173. + I Module FvwmButtons IconButtons
  174. + I Module FvwmButtons MonitorButtons
  175. + I Module FvwmButtons TimeButtons
  176. + I Module FvwmButtons PagerButtons
  177. #+ I Test (Init) Exec tail -n 0 -f /var/log/messages | osd_cat -A left -o 10 -i 10 -c black -d 10 -s 1
  178. #+ I Test (Init) Exec exec mpc | osd_cat -A left -o 10 -i 10 -c white -d 10 -s 1
  179. + I Test (Init) Test (x mrxvt) StartHiddenConsole
  180. + I Test (Init) Exec xscreensaver
  181.  
  182. DestroyFunc ExitFunction
  183. AddToFunc   ExitFunction
  184. + I Test (!ToRestart) Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*
  185.  
  186. DestroyFunc FuncDestroyOnHold
  187. AddToFunc   FuncDestroyOnHold
  188. + C Schedule 100 Close
  189. + H Destroy
  190. + H Beep
  191.  
  192. DestroyFunc FuncFvwmMenuHeadlines
  193. AddToFunc   FuncFvwmMenuHeadlines
  194. + I PipeRead 'fvwm-menu-headlines --exec="xterm -bg white -e w3m \'%u\'" --site $0'
  195.  
  196. DestroyFunc FuncFvwmMenuHeadlinesReset
  197. AddToFunc   FuncFvwmMenuHeadlinesReset
  198. + I DestroyMenu slashdot
  199. + I DestroyMenu linuxtoday
  200.  
  201. DestroyFunc FuncMoveOrMaximize
  202. AddToFunc   FuncMoveOrMaximize
  203. + I Raise
  204. + M Move
  205. + D Maximize 100 100
  206.  
  207. # thumbnail function
  208. DestroyFunc Thumbnail
  209. AddToFunc   Thumbnail
  210. + I Raise
  211. + I PipeRead "xwd -silent -id $[w.id] | convert -scale $[fvwm_icon_size] -frame 1x1 \
  212.               -mattecolor black -quality 0 xwd:- png:$[HOME]/.fvwm/icon.tmp.$[w.id].png \
  213.               && echo WindowStyle IconOverride, Icon $[HOME]/.fvwm/icon.tmp.$[w.id].png, StaysOnBottom \
  214.               || echo Nop"
  215. + I Iconify
  216.  
  217. DestroyFunc DeThumbnail
  218. AddToFunc   DeThumbnail
  219. + I Iconify off
  220. + I DestroyWindowStyle
  221. + I Exec exec rm -f $[HOME]/.fvwm/icon.tmp.$[w.id].png
  222.  
  223. # menu browser
  224. DestroyFunc FuncFvwmMenuDirectory
  225. AddToFunc FuncFvwmMenuDirectory
  226. + I PipeRead 'case "$0" in \
  227.        "$[fvwm_video_path]"*) myexec="$[fvwm_video_exec]" mypng=film.png;; \
  228.        "$[fvwm_audio_path]"*) myexec="$[fvwm_audio_exec]" mypng=audio.png;; \
  229.        "$[fvwm_image_path]"*) myexec="$[fvwm_image_exec]" mypng=graphics.png;; \
  230.        "$[fvwm_book_path]"*) myexec="$[fvwm_book_exec]" mypng=acroread.png;; \
  231.        esac; \
  232.    test -f "$0"/.icontitle.png && mytitle="$0"/.icontitle.png; \
  233.    fvwm-menu-directory --icon-title "${mytitle:-folder_view.png}" --icon-file ${mypng:-edit.png} \
  234.    --icon-dir folder_paper_closed.png --dir "$0" --exec-t="^${myexec:-gvim} *" \
  235.    --exec-file "^${myexec:-gvim}"'
  236.  
  237. ### wallpaper browser
  238. DestroyFunc WallpaperBrowser
  239. AddToFunc WallpaperBrowser
  240. + I PipeRead 'test ! -d "$0/.thumbs" && mkdir "$0/.thumbs"; \
  241.  for i in "$0/"*; do \
  242.    test -f "$0/.thumbs/${i##*/}" \
  243.      -a "${i}" -ot "$0/.thumbs/${i##*/}" || { \
  244.        convgert -quality 0 -scale 32 "${i}" "png:$0/.thumbs/${i##*/}" 2>/dev/null \
  245.          || continue; \
  246.       }; \
  247.    done; \
  248.    fvwm-menu-directory --icon-title "folder_paper_closed.png" --icon-file __PIXMAP__ \
  249.    --icon-dir "folder_paper_closed.png" --dir $0 --exec-file "^fbsetbg -f" \
  250.    --exec-t="^feh *" | sed -e "s#FuncFvwmMenuDirectory#WallpaperBrowser#g" \
  251.     -e "s#__PIXMAP__\\(.*\\)\\"\\(.*/\\)\\(.*\\)\\"#\\2.thumbs/\\3\\1\\2\\3#g"'
  252.  
  253. # [8] http://www.fvwm.org/documentation/faq/#7.17
  254. AddToFunc Autohide
  255. + I ThisWindow ($0) Deschedule $[w.id]
  256. + I TestRc (!Match) Deschedule -$[w.id]
  257. + I ThisWindow ($0) ThisWindow (shaded) AutohideShow $1 $3
  258. + I TestRc (!Match) All ($0, !shaded) AutohideHide $2 $3
  259.  
  260. AddToFunc AutohideShow
  261. + I Schedule $0 -$[w.id] WindowShade $1 off
  262. + I Schedule $0 -$[w.id] Raise
  263. + I Schedule $0 -$[w.id] Deschedule $[w.id]
  264. + I Schedule $0 -$[w.id] Deschedule -$[w.id]
  265.  
  266. AddToFunc AutohideHide
  267. + I Schedule $0 $[w.id] WindowShade $1 on
  268. + I Schedule $0 $[w.id] Deschedule $[w.id]
  269. + I Schedule $0 $[w.id] Deschedule -$[w.id]
  270.  
  271. # Hiddenconsole func
  272. DestroyFunc FuncAutoEnter
  273. AddToFunc FuncAutoEnter I Autohide HiddenConsole 250 500 N
  274.  
  275. DestroyFunc StartHiddenConsole
  276. AddToFunc StartHiddenConsole
  277. + I Exec mrxvt -geometry 240x40+100+0 -name HiddenConsole
  278. + I Wait HiddenConsole
  279. + I Autohide HiddenConsole 250 500 N
  280.  
  281. DestroyFunc HiddenConsoleKeyBinding
  282. AddToFunc HiddenConsoleKeyBinding
  283. + I ThisWindow (Shaded) FuncAutoEnter
  284. + I TestRc (NoMatch) NoWindow FuncAutoEnter
  285.  
  286. ### [10] menu
  287. DestroyMenu MenuFvwmRoot
  288. AddToMenu MenuFvwmRoot
  289. + MissingSubmenuFunction WallpaperBrowser
  290. +   "Terminal"%terminal.png%            Exec exec xterm
  291. +   "Home"%gentoo.png%              Exec exec gentoo
  292. +   "Browser"%opera.png%            Exec exec opera
  293. +   ""                      Nop
  294. +   "Office"%applications-office.png%       Popup MenuOffice
  295. +   "Editors"%applications-publishing.png%      Popup MenuEditors
  296. +   "Graphics"%applications-graphics.png%   Popup MenuGraphics
  297. +   "Multimedia"%gnome-multimedia.png%      Popup MenuMultimedia
  298. +   "Audio"%gnome-sound-recorder.png%       Popup MenuAudio
  299. +   "Internet"%applications-internet.png%       Popup MenuInternet
  300. +   "Games"%applications-games.png%     Popup MenuGames
  301. +   "Wine"%wine.png%                Popup MenuWine
  302. +   "Configure fvwm"%applications-interfacedesign.png%  Popup MenuFvwmConfig
  303. +   ""                                      Nop
  304. +   "Wallpapers"%preferences-desktop-wallpaper.png%         Popup $[fvwm_wallpaper_dir]
  305. +   "Background"%insert-image.png%      Popup MenuBackground
  306. +   ""                      Nop
  307. +   "FvwmConsole"%checkbox.png%         Module  FvwmConsole
  308. +   "Config .fvwm2rc"%gksu-debian.png%      Exec exec gvim $[HOME]/.fvwm/config -geom 120x80
  309. +   "fvwm restart"%gtk-refresh.png%     Restart
  310. +   "Quit"%process-stop.png%            Quit
  311.  
  312. DestroyMenu MenuOffice
  313. AddToMenu MenuOffice
  314. +   "dia"%dia.png%                  Exec exec dia
  315. +   "gnumeric"%gnumeric.png%            Exec exec gnumeric
  316. +   "abiword"%abiword.png%              Exec exec abiword
  317. +   ""                      Nop
  318. +   "xpdf"%xpdf.png%                Exec exec xpdf
  319.  
  320. DestroyMenu MenuEditors
  321. AddToMenu MenuEditors
  322. +   "gvim"%vim.png%                         Exec exec gvim -geom 90x70
  323. +   "emacs"%emacs.png%                      Exec exec emacs
  324.  
  325. DestroyMenu MenuGraphics
  326. AddToMenu MenuGraphics
  327. +   "gimp"%gimp.png%                    Exec exec gimp
  328. +   ""                      Nop
  329. +   "scrot"%gnome-screenshot.png%       Exec exec scrot -d 5
  330.  
  331. DestroyMenu MenuMultimedia
  332. AddToMenu MenuMultimedia
  333. + MissingSubmenuFunction FuncFvwmMenuDirectory
  334. +   "ncmpc"%terminal.png%           Exec exec xterm -g 160x30 -e ncmpc
  335. +   "ncmpcpp"%terminal.png%         Exec exec xterm -g 160x30 -e ncmpcpp
  336. +   "gmpc"%gmpc.png%                    Exec exec gmpc
  337. +   "qmpdclient"%music.png%         Exec exec qmpdclient
  338. +   ""                      Nop
  339. +   "alsamixer"%mixer.png%          Exec exec alsamixer
  340. +   "qjackctl"%qjackctl.png%            Exec exec qjackctl
  341. +   ""                      Nop
  342. +   "Movies:"%hardware_video_camera_display.png%    Popup $[fvwm_video_path]
  343. +   "Music:"%music_notes_view.png%  Popup $[fvwm_audio_path]
  344. +   "Pictures:"%graphics_presentation_person.png%   Popup $[fvwm_image_path]
  345.  
  346. DestroyMenu MenuInternet
  347. AddToMenu MenuInternet
  348. +   "chromium"%chromium.png%            Exec exec chromium
  349. +   "opera"%opera.png%              Exec exec opera
  350. +   "evolution"%evolution.png%          Exec exec evolution
  351. +   ""                      Nop
  352. +   "Sites"%sites.png%                  Popup MenuFvwmWeb
  353. +   "News"%news_newspaper.png%          Popup MenuFvwmNews
  354.  
  355. DestroyMenu MenuWine
  356. AddToMenu MenuWine
  357.  
  358. DestroyMenu MenuGames
  359. AddToMenu MenuGames
  360. + MissingSubmenuFunction FuncFvwmMenuDirectory
  361. Test (x queen)      + %queen.png%"Flight of the Amazon Queen" Exec exec queen
  362. Test (x dangerdeep)     + %dangerdeep.png%"Danger from the Deep" Exec exec dangerdeep
  363. Test (x ufo)        + %ufo-ai.png%"UFO AI" Exec exec ufo
  364. Test (x lgeneral)   + %lgeneral.png%"Linux general" Exec exec lgeneral
  365. Test (x nwn)        + %nwn.png%"Neverwinter Nights" Exec exec nwn
  366. Test (x psclient)   + %psicon.png%"PlaneShift" Exec exec psclient
  367. Test (x scourge)    + %default.png%"S.C.O.U.R.G.E." Exec exec scourge
  368. Test (x singularity)    + %default.png%"Singularity" Exec exec singularity
  369. Test (x uqm)        + %uqm.png%"The Ur-Quan Masters" Exec exec uqm
  370. Test (x dosbox)     + %terminal.png%"DOSbox" Exec exec dosbox
  371. Test (x scummvm)    + %scummvm.png%"ScummVM" Exec exec scummvm
  372.  
  373. DestroyMenu MenuFvwmConfig
  374. AddToMenu MenuFvwmConfig
  375. +   "tail -f ~/.xsession-errors"            Exec exec xterm -bg brown -g 140x30 -e tail -f ~/.xsession-errors
  376. +   "Identify Window"%help.png%             Module FvwmIdent
  377. +   "FvwmConsole"%checkbox.png%             Module FvwmConsole
  378. +   "Config .fvwm2rc"%gksu-debian.png%          Exec exec gvim $/.fvwm/config -geom 90x70
  379. +   "Control Center"%gnome-control-center.png%      Exec exec gnome-control-center
  380. +   ""                          Nop
  381. Test (x xev)        + %terminal.png%"xev" Exec exec xterm -e xev
  382. Test (x xmag)       + %terminal.png%"xmag" Exec exec xmag
  383. Test (x xkill)      + %terminal.png%"xkill" Exec exec xkill
  384. +   ""                          Nop
  385. +   "Refresh"%view-refresh.png%                 Refresh
  386. +   "Kill"%bomb.png%                            Pick Destroy
  387.  
  388. DestroyMenu MenuWindowOptions
  389. AddToMenu MenuWindowOptions
  390. +   "Resize"%zoom-fit.png%                  Pick Resize
  391. +   "Shade"%top.png%                Pick WindowShade Toggle
  392. +   "S&tick"%stock_attach.png%          Pick Stick
  393. +   "Re&fresh"%gtk-refresh.png%         Pick RefreshWindow
  394. +   ""                      Nop
  395. +   "Identify"%help.png%                Pick Module FvwmIdent
  396. +   ""                                          Nop
  397. +   "Send to"%document-send.png%            Popup MenuFvwmSendTo
  398. +   ""                                      Nop
  399. +   "Close"%edit-clear.png%                     Close
  400. +   "Destroy"%edit-delete.png%          Destroy
  401.  
  402. DestroyMenu MenuFvwmSendTo
  403. AddToMenu MenuFvwmSendTo
  404. +   "Page &1" MoveToPage 0 0
  405. +   "Page &2" MoveToPage 1 0
  406. +   "Page &3" MoveToPage 2 0
  407. +   "Page &4" MoveToPage 3 0
  408. +   "Page &5" MoveToPage 4 0
  409. +   "Page &6" MoveToPage 5 0
  410. +   "Page &7" MoveToPage 6 0
  411. #+   "Page &8" MoveToPage 7 0
  412. #+   "Page &9" MoveToPage 8 0
  413.  
  414. DestroyMenu MenuFvwmWeb
  415. AddToMenu MenuFvwmWeb
  416. +  "Community"%sites.png%           Popup MenuFvwmCommunity
  417. +  "Themes"%sites.png%              Popup MenuFvwmThemes
  418. +  "FVWM"%sites.png%                Popup MenuFvwmFvwm
  419.  
  420. DestroyMenu MenuFvwmNews
  421. AddToMenu MenuFvwmNews
  422. + DynamicPopdownAction   Function FuncFvwmMenuHeadlinesRese
  423. + MissingSubmenuFunction FuncFvwmMenuHeadlines
  424. + "slashdot"%news.png%              Popup slashdot
  425. + "linuxtoday"%news.png%            Popup linuxtoday
  426. + "Reset"  FuncFvwmResetHeadlines
  427.  
  428. DestroyMenu MenuFvwmCommunity
  429. AddToMenu MenuFvwmCommunity
  430. +  "Deviantart"%sites.png%                  Exec exec $[browser] http://www.deviantart.com
  431.  
  432. DestroyMenu MenuFvwmThemes
  433. AddToMenu MenuFvwmThemes
  434. +  "Gnome-look"%sites.png%                  Exec exec $[browser] http://www.gnome-look.org
  435. +  "Kde-look"%kde.png%                      Exec exec $[browser] http://www.kde-look.org
  436. +  "Gnome"%gnome.png%                       Exec exec $[browser] http://art.gnome.org
  437. +  "Customize"%sites.png%                   Exec exec $[browser] http://www.customize.org
  438. +  "Enlightenment"%sites.png%           Exec exec $[browser] http://www.get-e.org
  439.  
  440. DestroyMenu MenuFvwmFvwm
  441. AddToMenu MenuFvwmFvwm "Fvwm"%sites.png%    Title
  442. +  "FVWM"%fvwm-crystal.png%                 Exec exec $[browser] http://www.fvwm.org
  443. +  "forum"%fvwm-crystal.png%                Exec exec $[browser] http://fvwm.lair.be
  444.  
  445. DestroyFunc FuncFvwmResetHeadlines
  446. AddToFunc   FuncFvwmResetHeadlines
  447. + I DestroyMenu slashdot
  448. + I DestroyMenu linuxfr
  449.  
  450. DestroyMenu MenuBackground
  451. AddToMenu MenuBackground
  452. +   "Default"           Exec exec xsetroot
  453. +   "Black"             Exec exec xsetroot -solid black
  454. +   "DarkSlateGray"     Exec exec xsetroot -solid DarkSlateGray
  455. +   "SteelBlue"         Exec exec xsetroot -solid SteelBlue
  456. +   "Gray"              Exec exec xsetroot -solid gray20
  457.  
  458. DestroyMenu MenuAudio
  459. AddToMenu MenuAudio
  460. + MissingSubmenuFunction FuncFvwmMenuDirectory
  461. Test (x alsamixer)  + %terminal.png%"Alsamixer" Exec exec xterm -g 160x30 -e alsamixer
  462. Test (x amSynth)    + %amsynth.png%"amSynth" Exec exec amSynth
  463. Test (x ardour3)    + %ardour.png%"Ardour" Exec exec ardour3
  464. Test (x audacity)   + %audacity.png%"Audacity" Exec exec audacity
  465. Test (x gnuitar)    + %zynaddsubfx_icon.png%"zynaddsubfx" Exec exec zynaddsubfx
  466. Test (x hydrogen)   + %hydrogen.png%"Hydrogen" Exec exec hydrogen
  467. Test (x lmms)       + %lmms.png%"LMMS" Exec exec lmms
  468. Test (x phasex)     + %phasex-icon-22x22.png%"phasex" Exec exec phasex
  469. Test (x psindustrializer) + %psindustrializer.png%"PSIdustrializer" Exec exec psindustrializer
  470. Test (x qjackctl)   + %qjackctl.png%"QJackCtl" Exec exec qjackctl
  471. Test (x vkeybd)     + %vkeybd_32x32.png%"vkeybd" Exec exec vkeybd
  472. Test (x zynaddsubfx)    + %zynaddsubfx_icon.png%"zynaddsubfx" Exec exec zynaddsubfx
  473. Test (x jamin)      + %jamin.png%"jamin" Exec exec jamin
  474.  
  475.  
  476. #######################################
  477. # XOFF AND YOFF VALUES  WINDOW POSITION
  478. # +0+0          Upper left corner.
  479. # +0-0          Lower left corner.
  480. # -0+0          Upper right corner.
  481. # -0-0          Lower right corner.
  482. #
  483. #################
  484. # syntax reminder
  485. # *IconButtons(5x1...) (breite x hohe) (colums x rows)
  486.  
  487. DestroyModuleConfig MpcButtons: *
  488. *MpcButtonsGeometry 150x26+3-3
  489. *MpcButtons: ActiveColorset 82
  490. *MpcButtons: PressColorset 82
  491. *MpcButtons(Frame 0 Padding 0 0 Container(Rows 1 Columns 5  Frame 1 Padding 0 0))
  492. *MpcButtons(Colorset 1, Title |<<, Action 'Exec exec mpc prev')
  493. *MpcButtons(Colorset 1, Title ||,Action 'Exec exec mpc pause')
  494. *MpcButtons(Colorset 1, 2x1, Title >,Action 'Exec exec mpc play')
  495. *MpcButtons(Colorset 1, Title >>|, Action 'Exec exec mpc next')
  496. *MpcButtons(End)
  497.  
  498. DestroyModuleConfig IconButtons: *
  499. *IconButtonsGeometry 540x26+265-3
  500. *IconButtons: ActiveColorset 83
  501. *IconButtons: PressColorset 84
  502. *IconButtons(Frame 0 Padding 0 0 Container(Rows 1 Columns 18  Frame 1 Padding 0 0))
  503. *IconButtons(Colorset 1, Icon desktop.png, Action 'All (AcceptsFocus, CurrentPage, !Iconic, !Shaded) Thumbnail')
  504. *IconButtons(Colorset 1, Icon terminal.png, Action 'Exec exec xterm')
  505. *IconButtons(Colorset 1, Icon vim.png, Action 'Exec exec gvim')
  506. *IconButtons(Colorset 1, Icon opera.png, Action 'Exec exec opera')
  507. *IconButtons(Colorset 1, Icon chromium.png, Action 'Exec exec chromium')
  508. *IconButtons(Colorset 1, Icon evolution.png, Action 'Exec exec evolution')
  509. *IconButtons(Colorset 1, Icon dc++.png, Action 'Exec exec gns3')
  510. *IconButtons(Colorset 1, Icon app.png, Action 'Exec exec packettracer')
  511. *IconButtons(Colorset 1, Icon wireshark.png, Action 'Exec exec wireshark')
  512. *IconButtons(Colorset 1, Icon keepassx.png, Action 'Exec exec keepassx')
  513. *IconButtons(Colorset 1, Icon lmms.png, Action 'Exec exec lmms')
  514. *IconButtons(Colorset 1, Icon psicon.png, Action 'Exec exec psclient')
  515. *IconButtons(Colorset 1, Icon nwn.png, Action 'Exec exec nwn')
  516. *IconButtons(Colorset 1, Icon banshee.png, Action 'Exec exec gmpc')
  517. *IconButtons(Colorset 1, Icon ardour.png, Action 'Exec exec ardour3')
  518. *IconButtons(Colorset 1, Icon zynaddsubfx_icon.png, Action 'Exec exec zynaddsubfx')
  519. *IconButtons(Colorset 1, Icon phasex-icon-22x22.png, Action 'Exec exec phasex')
  520. *IconButtons(Colorset 1, Icon amsynth.png, Action 'Exec exec amSynth')
  521. *IconButtons(End)
  522.  
  523. DestroyModuleConfig MonitorButtons: *
  524. *MonitorButtonsGeometry 360x26-200-3
  525. *MonitorButtons: ActiveColorset 83
  526. *MonitorButtons: PressColorset 82
  527. *MonitorButtons(Frame 0 Padding 0 0 Container(Rows 1 Columns 13  Frame 1 Padding 0 0))
  528. *MonitorButtons(Colorset 1, Frame 0, Padding 0 0, Icon gbrainy.png)
  529. *MonitorButtons(Colorset 1, 3x1, Frame 0, Padding 2 2, Left, Swallow(UseOld) "memmon" `Exec exec xosview -title memmon -labels -net -swap -page -ints -load -disk +mem -cpu`)
  530. *MonitorButtons(Colorset 1, Frame 0, Padding 0 0, Icon gnome-nettool.png)
  531. *MonitorButtons(Colorset 1, 3x1, Frame 0, Padding 2 2, Left, Swallow(UseOld) "netmon" `Exec exec xosview -title netmon -labels +net -swap -page -ints -load -disk -mem -cpu`)
  532. *MonitorButtons(Colorset 1, Frame 0, Padding 0 0, Icon gnome-control-center.png)
  533. *MonitorButtons(Colorset 1, 3x1, Frame 0, Padding 2 2, Left, Swallow(UseOld) "loadmon" `Exec exec xosview -title loadmon -labels -net -swap -page -ints +load -disk -mem -cpu`)
  534. #*MonitorButtons(Colorset 1, 2x1, Frame 1, Swallow(UseOld,NoHints,Respawn) "ascpu" 'Exec exec  ascpu -u 5 -standout -user green -nice orange -sys blue -idle grey', Action 'Exec exec xterm -e htop')
  535. *MonitorButtons(Colorset 1, 2x1, Frame 1, Padding 2 2, Left, Swallow(UseOld,No Hints,Respawn) "xload" 'Exec exec xload -bg grey -fg blue -hl white -update 5 -nolabel', Action 'Exec exec xterm -e htop')
  536. *MonitorButtons(End)
  537.  
  538. DestroyModuleConfig TimeButtons: *
  539. *TimeButtonsGeometry 120x26-3-3
  540. *TimeButtons: ActiveColorset 81
  541. *TimeButtons: PressColorset 83
  542. *TimeButtons(Frame 0 Padding 0 0 Container(Rows 1 Columns 4  Frame 1 Padding 0 0))
  543. *TimeButtons(Colorset 1, Icon gtk-no.png, Action 'Exec exec xkill')
  544. *TimeButtons(Colorset 1, 2x1, Frame 1, Swallow(UseOld,NoHints,Respawn) "dclock" 'Exec exec dclock -miltime -thickness 0.1', Action 'Exec exec xcalendar')
  545. *TimeButtons(Colorset 1, Icon lock.png, Action 'Exec exec xscreensaver-command --lock')
  546. *TimeButtons(End)
  547.  
  548. DestroyModuleConfig PagerButtons: *
  549. *PagerButtonsGeometry 280x26-600-3
  550. *PagerButtons(Frame 0 Padding 0 0 Container(Rows 1 Columns 6  Frame 1 Padding 0 0))
  551. *PagerButtons(Colorset 1, 6x1, Frame 1, Swallow "FvwmPager" "FvwmPager *")
  552. *PagerButtons(End)
  553.  
  554. # FvwmPager =||=
  555. DestroyModuleConfig FvwmPager: *
  556. *FvwmPager: Colorset * 91
  557. *FvwmPager: Font none
  558. *FvwmPager: SmallFont "xft:Bitstream Vera Sans:style=Roman:size=7:antialias=True"
  559. *FvwmPager: Balloons All
  560. *FvwmPager: BalloonFont "xft:Bitstream Vera Sans:style=Roman:size=9:antialias=True"
  561. *FvwmPager: BalloonYOffset +2
  562. *FvwmPager: BalloonBorderWidth 1
  563. *FvwmPager: UseSkipList
  564. *FvwmPager: MoveThreshold 0
  565. *FvwmPager: SolidSeparators
  566. *FvwmPager: WindowBorderWidth 1
  567. *FvwmPager: MiniIcons
  568.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement