From: martin f. krafft Date: Mon, 8 Sep 2014 18:58:26 +0000 (+0200) Subject: choose font based on X_RESOLUTION X-Git-Url: https://git.madduck.net/etc/xsession.git/commitdiff_plain/7b33a7d91640770e38691fbb7a2b45653fd4d8b6 choose font based on X_RESOLUTION --- diff --git a/.Xdefaults b/.Xdefaults index d57bcde..1be99e9 100644 --- a/.Xdefaults +++ b/.Xdefaults @@ -1,6 +1,12 @@ *visualBell: false *urgentOnBell: true + +#if X_RESOLUTION > 3000 +*font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 +#else *font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 +#endif + *background: white *foreground: black diff --git a/.xsession.d/02-xdefaults b/.xsession.d/02-xdefaults new file mode 100644 index 0000000..a5f5070 --- /dev/null +++ b/.xsession.d/02-xdefaults @@ -0,0 +1,5 @@ +# load .Xdefaults + +xrdb -merge ~/.Xdefaults + +# vim:ft=zsh