From 1e1935ea1f53fbcf4d5aabbe3e2b4edf8fda9a5c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 14 Aug 2016 06:25:32 +0300 Subject: [PATCH] .fvwmrc: minor refactoring of font configuration --- .fvwm/main.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.39.5