From: Timo Bingmann Date: Sun, 20 Jul 2014 11:05:05 +0000 (+0200) Subject: Add 'horizontal' and 'vertical' stacked virtual profiles. X-Git-Tag: 1.0~133 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4d608162f5ec66089dd1536d08c1a7f3aba82b28;p=deb_pkgs%2Fautorandr.git Add 'horizontal' and 'vertical' stacked virtual profiles. Small fixes to virtual profile code. --- diff --git a/autorandr b/autorandr index 37f6eed..e507515 100755 --- a/autorandr +++ b/autorandr @@ -50,7 +50,9 @@ XDPYINFO=/usr/bin/xdpyinfo PROFILES=~/.autorandr/ CONFIG=~/.autorandr.conf RESERVED_PROFILE_NAMES=`cat < setting largest common mode" + echo " -> setting largest common mode in cloned mode" common_cfg_xrandr + elif [ $PROFILE = "horizontal" ]; then + echo " -> stacking all outputs horizontally at their largest modes" + STACK="horizontal" stack_cfg_xrandr + elif [ $PROFILE = "vertical" ]; then + echo " -> stacking all outputs vertically at their largest modes" + STACK="vertical" stack_cfg_xrandr fi fi @@ -326,7 +373,7 @@ Usage: $SCRIPTNAME [options] instead of "xrandr" to detect, configure and save the display configuration. If xrandr is used, the following virtual configurations are available: - ${RESERVED_PROFILE_NAMES} +${RESERVED_PROFILE_NAMES} EOH exit