dnl The file is in m4 format, use FvwmM4 module to read it
dnl like this: ModuleSynchronous FvwmM4 -lock .fvwm2rc
-
dnl This is to prevent FvwmM4 to shadow $HOME
undefine(`HOME')
-
dnl Echo dimension
`#' width = WIDTH
+divert(-1)
dnl koi8-r Fonts
dnl define(`SMALL_FONT_KOI8', `-*-fixed-medium-r-normal-*-*-100-*-*-*-*-koi8-r')
dnl define(`MEDIUM_FONT_KOI8', `-*-fixed-medium-r-normal-*-*-120-*-*-*-*-koi8-r')
define(`HUGE_FONT', `xft:Sans:size=20')
dnl Bold TT fonts
-define(`SMALL_BOLD_FONT', `SMALL_FONT:Bold')
-define(`MEDIUM_BOLD_FONT', `MEDIUM_FONT:Bold')
-define(`BIG_BOLD_FONT', `BIG_FONT:Bold')
+define(`SMALL_BOLD_FONT', SMALL_FONT`:Bold')
+define(`MEDIUM_BOLD_FONT', MEDIUM_FONT`:Bold')
+define(`BIG_BOLD_FONT', BIG_FONT`:Bold')
+define(`TITLE_FONT', MEDIUM_FONT)
+define(`ICON_FONT', LARGE_FONT)
dnl Font and geometry aliases that depend on whether the screen resolution is
dnl 800x600, 1024x768 or 1920x1200
-define(`TITLE_FONT', `MEDIUM_FONT')
-
-define(`ICON_FONT', `LARGE_FONT')
-
-
define(`PAGER_GEOM',
ifelse(eval(WIDTH < 1024), 1, `365x100+0+0',dnl
ifelse(eval(WIDTH < 1920), 1, `365x100+0+0', `600x160+0+0'dnl
define(`REMOTE_HOST_KOI8_BIG_MENU',
"$2 (koi8)" REMOTE_HOST_KOI8_BIG($1, $2)dnl
)
+divert
##########################################################################
# Set colors/font for pop-up menus
# Syntax: MenuStyle forecolor backcolor shadecolor font style(fvwm/mwm)
-MenuStyle * FVWM, Foreground Black, Background grey, Greyed SlateGrey, Font MENU_FONT fvwm
+MenuStyle * FVWM, Foreground Black, Background grey, Greyed SlateGrey, Font MENU_FONT
# Set fonts to use on title bar and icon label
Style * Font TITLE_FONT