From: Oleg Broytman Date: Sun, 14 Aug 2016 03:25:32 +0000 (+0300) Subject: .fvwmrc: minor refactoring of font configuration X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=1e1935ea1f53fbcf4d5aabbe3e2b4edf8fda9a5c;p=dotfiles.git .fvwmrc: minor refactoring of font configuration --- diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index db62cb9..6547582 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -32,6 +32,7 @@ define(`MEDIUM_FONT', `xft:Sans:size=14') define(`BIG_FONT', `xft:Sans:size=16') define(`LARGE_FONT', `xft:Sans:size=18') define(`HUGE_FONT', `xft:Sans:size=20') +define(`GIGANTIC_FONT', `xft:Sans:size=22') dnl Bold TT fonts define(`SMALL_BOLD_FONT', SMALL_FONT`:Bold') @@ -54,8 +55,8 @@ define(`BUTTONS_FONT', PAGER_FONT) define(`MENU_FONT', -ifelse(eval(WIDTH < 1024), 1, `xft:Sans:size=16', - eval(WIDTH < 1920), 1, `xft:Sans:size=18', `xft:Sans:size=22')) +ifelse(eval(WIDTH < 1024), 1, BIG_FONT, + eval(WIDTH < 1920), 1, LARGE_FONT, GIGANTIC_FONT)) define(`IDENT_FONT', MENU_FONT) define(`WIN_LIST_FONT', MENU_FONT) define(`ICON_BOX_FONT', MENU_FONT)