Set aliases to common values.
--- a/.fvwm/config Wed Aug 08 21:19:46 2012 +0300
+++ b/.fvwm/config Wed Aug 08 21:47:19 2012 +0300
@@ -49,6 +49,13 @@
ImagePath m4_ICONPATH;.xpm:m4_IMGPATH:+
################################################################
+# Set aliases to common values.
+
+m4_define(`m4_MONOFONT', `-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1')m4_dnl
+# As args expected class name.
+m4_define(`m4_XTERM_MC',`xterm -name $1 -fn "'m4_MONOFONT`" -geometry 136x42 -e bash -i -c "mc -x"')m4_dnl
+
+################################################################
# Startup functions.
# Define places for autoloaded programs.
@@ -61,10 +68,8 @@
# Run only om sturtup.
DestroyFunc InitFunction
AddToFunc InitFunction
-+ I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
- -name mc-main1 -geometry 136x42 -e bash -i -c "mc -x"
-+ I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
- -name mc-main2 -geometry 136x42 -e bash -i -c "mc -x"
++ I Exec exec m4_XTERM_MC(`mc-main1')
++ I Exec exec m4_XTERM_MC(`mc-main2')
+ I Exec exec goldendict
# Right offset: 80 from FvwmPager + 2*6 from border = 92.
+ I Exec exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray
@@ -344,8 +349,7 @@
# value of PS1.
AddToMenu MenuMyRoot MenuMyRoot Title
+ Xterm Exec exec xterm -e bash -i
-+ Mc Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
- -name mc-secondary -geometry 136x42 -e bash -i -c "mc -x"
++ Mc Exec exec m4_XTERM_MC(`mc-secondary')
+ debian Popup "/Debian"
+ my Popup MenuMy
+ fvwm Popup MenuFvwmRoot