#!/bin/bash
-# Copyright (C) 2016 Ian Kelling
+# I, Ian Kelling, follow the GNU license recommendations at
+# https://www.gnu.org/licenses/license-recommendations.en.html. They
+# recommend that small programs, < 300 lines, be licensed under the
+# Apache License 2.0. This file contains or is part of one or more small
+# programs. If a small program grows beyond 300 lines, I plan to switch
+# its license to GPL.
+
+# Copyright 2024 Ian Kelling
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-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
+date "+%A, %B %d, %r, %S seconds" > /tmp/desktop-20-autostart-log
if ! xout="$(xrandr)"; 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