From: Raphaël <rap...@gm...> - 2012-01-11 16:41:15
|
On Wed, Jan 11, 2012 at 12:45:13AM +1000, Bob Hepple wrote: > 2 questions relating to dpi. > > 2/[...] > A second best would be for style files to > have conditionals in them: eg. (borrowing from bash syntax, but > anything else would do as well): > > if [ $DPI -gt 100 ]; then > window.font: sans-10 > else > window.font: sans-8 > fi The current fluxbox config files syntax is borrowed from X (.Xdefaults) which supports preprocessor directives like #include and #ifdef. Eg: xrdb -DEEEPC=TRUE But AFAICT, these two directives aren't part of the fluxbox config file syntax. Raph |