slitaz-tools diff tinyutils/tazx @ rev 567

Up doc/* with new style and use a CSS file (save lines..)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 28 14:01:29 2011 +0200 (2011-04-28)
parents 0f5e3af5a51d
children b6972d7bcf5e
line diff
     1.1 --- a/tinyutils/tazx	Sun Mar 06 19:58:55 2011 +0000
     1.2 +++ b/tinyutils/tazx	Thu Apr 28 14:01:29 2011 +0200
     1.3 @@ -364,7 +364,12 @@
     1.4  		wm_config
     1.5  		creat_xinitrc
     1.6  		creat_xsession
     1.7 -		xorg_conf_d ;;
     1.8 +		xorg_conf_d 
     1.9 +		if grep -qs screen= /proc/cmdline ; then
    1.10 +			MODE="$(sed 's/.*screen=\([0-9]*x[0-9]*\).*/\1/' < /proc/cmdline)"
    1.11 +			sed -i "s/.*EndSubSection.*/\\t\\tModes\\t\"$MODE\"\\n&/" \
    1.12 +				/etc/X11/xorg.conf.d/70-Screen.conf
    1.13 +		fi ;;
    1.14  	*)
    1.15  		# WM can be specified on cmdline.
    1.16  		if [ -n "$1" ]; then