summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2000-06-22 13:18:05 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit0328871462f0a1021b994548a4e9e2715dbd97c4 (patch)
treed2b926ca88225d1e510e45a52950e6b58a03df20
parent073b21995bafae870b1244bd7294f47f6f229795 (diff)
downloadfvwm-0328871462f0a1021b994548a4e9e2715dbd97c4.zip
fvwm-0328871462f0a1021b994548a4e9e2715dbd97c4.tar.gz
- use wmconfig to create menus
Changed files: fvwm-system.fvwmrc -> 1.2
-rw-r--r--fvwm-system.fvwmrc83
1 files changed, 17 insertions, 66 deletions
diff --git a/fvwm-system.fvwmrc b/fvwm-system.fvwmrc
index 2ae298e..7c1273f 100644
--- a/fvwm-system.fvwmrc
+++ b/fvwm-system.fvwmrc
@@ -17,6 +17,8 @@
# If you get it wrong, the most common problem is that color or font settings
# are ignored
+undefine(`include')
+
###########################################################################
# set up the colors
#
@@ -344,71 +346,6 @@ Popup "Module-Popup"
Module "FvwmWinList" FvwmWinList
EndPopup
-Popup "Apps"
- Exec "Netscape" exec netscape &
- Exec "Mosaic" exec Mosaic &
- Exec "Arena" exec arena &
- Nop ""
- Exec "slrn" exec xterm -e slrn &
- Exec "exmh" exec exmh &
- Exec "Pine" exec xterm -e pine &
- Exec "Elm" exec xterm -e elm &
- Nop ""
- Exec "TkMan" exec tkman &
- Exec "TkInfo" exec tkinfo &
- Exec "Emacs" exec emacs &
- Exec "Emacs nox" exec xterm -e emacs-nox &
- Exec "Jed" exec xterm -e jed &
- Nop ""
- Exec "X File Manager" exec xfm &
- Exec "xpaint" exec xpaint &
- Exec "xfig" exec xfig &
-# Why doesn't this work?
-# Exec "ImageMagick" exec display &
- Exec "xv" exec xv &
- Nop ""
- Exec "wish" exec xterm -e wish &
- Exec "Python" exec xterm -e python &
-EndPopup
-
-Popup "Games"
- Exec "Hextris" exec cxhextris &
- Exec "xbill" exec xbill &
- Exec "Chess" exec xboard &
- Exec "xchomp" exec xchomp &
- Exec "Minesweeper" exec xdemineur &
- Exec "Backgammon" exec xgammon &
- Exec "xjewel" exec xjewel &
- Exec "xlander" exec xlander &
- Exec "xsnow" exec xsnow &
- Exec "Tetris" exec xtetris &
- Exec "Trojka" exec xtrojka &
-EndPopup
-
-Popup "Utils"
- Exec "Top" exec xterm -T Top -n Top -e top &
- Exec "Calculator" exec xcalc &
- Exec "Xman" exec xman &
- Exec "Xmag" exec xmag &
- Exec "xosview" exec xosview &
-EndPopup
-
-# This menu will fire up some very common utilities
-Popup "Utilities"
- Title "Program Menu"
- Exec "Xterm" exec xterm &
- Exec "Rxvt" exec rxvt -bg Black -fg Wheat &
- Exec "Color Xterm" exec xterm-color &
- Nop ""
- Popup "Applications" Apps
- Popup "Games" Games
- Popup "Utilities" Utils
- Popup "Modules" Module-Popup
- Nop ""
- Restart "Restart Fvwm" fvwm
- Popup "Exit Fvwm" Quit-Verify
-EndPopup
-
# This defines the most common window operations
Popup "Window Ops"
Title "Window Ops"
@@ -457,6 +394,20 @@ Function "window_ops_func"
Close "DoubleClick"
EndFunction
+esyscmd(wmconfig --output afterstep --rootmenu Programs)
+
+# This menu will fire up some very common utilities
+Popup "MainMenu"
+ Title "Main Menu"
+ Exec "Xterm" exec xterm &
+ Exec "Rxvt" exec rxvt -bg Black -fg Wheat &
+ Nop ""
+ Popup "Programs" Programs
+ Popup "Modules" Module-Popup
+ Nop ""
+ Restart "Restart Fvwm" fvwm
+ Popup "Exit Fvwm" Quit-Verify
+EndPopup
##############################################################################
# This defines the mouse bindings
@@ -469,7 +420,7 @@ EndFunction
# any shift-control-whatever combination you want!
# Button Context Modifi Function
-Mouse 1 R A PopUp "Utilities"
+Mouse 1 R A PopUp "MainMenu"
Mouse 2 R A PopUp "Window Ops"
Mouse 3 R A Module "winlist" FvwmWinList transient