lots: shellcheck, streaming stuff, fixes
[distro-setup] / desktop-20-autostart.sh
index ff8e654f4f7a29467c64ee167a15218392923f5d..278da29e0e606ca0e605720a9e8e28123ef5b775 100755 (executable)
 date "+%A, %B %d, %r, %S seconds" > /tmp/desktop-20-autostart-log
 
 
-# first 2 alternatives showed under ubuntu 14.04, second 2 under arch at 11/2015
-if [[ $1 ]]; then
-  right_monitor_rotation=left
-else
-  right_monitor_rotation=normal
-fi
-
-
 if ! xout="$(xrandr)"; then
   # under wayland
   exit 0
@@ -33,7 +25,7 @@ if echo "$xout" | grep "^HDMI-1 connected" &>/dev/null; then
   xrandr --output VGA-1 --off --output HDMI-1 --mode 3840x2160 --pos 0x0 --rotate normal --output eDP-1 --off
 fi
 case $HOSTNAME in
-  sy) /a/bin/distro-setup/input-setup l ;;
+  sy|bo) /a/bin/distro-setup/input-setup l ;;
   *) /a/bin/distro-setup/input-setup m ;;
 esac