ferryrandr.rc
06.12.2019 16:26:08
0 MB (5f6b3118998f2699dccfae6e21b0a339)
http://files.q3t.de/a/get/a048840ba92314d157c1142691bbfc68
user script
# position on which new outputs should be added added
# (left-of, right-of, above, below)
#POSITION="left-of"
# maximum number of outputs your viceo card can handle
#MAX_ENABLED_OUTPUTS=2
# list of all available outputs
#OUTPUTS=$(xrandr |awk '$2 ~ /connected/ {print $1}')
# default device (usually LVDS or something)
#DEFAULT_OUTPUT=$(sed -ne 's/.*\(LVDS[^ ]*\).*/\1/p' <<<$OUTPUTS)
custom_randr() {
# With --verbose, xrandr will output the edid of your outputs it should
# be rather unique, so i use it to detect specific setups
if [ $(xrandr -q --verbose | egrep '(00ffffffffffff004c2d93053232594d)|(00ffffffffffff000472e50787000000)' | wc -l) -eq 2 ]; then
echo "Home"
xrandr --output LVDS1 --off
xrandr --output HDMI2 --left-of VGA1 --mode 1600x1200 --primary --output VGA1 --mode 1920x1080
# a bit out of place, but whatever...
sudo netcfg eth
mount $HOME/Extra
setxkbmap de
else
default_randr
fi
if [ "$initialize" -ne 1 ]; then
fd-app wall `fd-getkey wallpaperPath` > /dev/null &
fi
}