X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=desktop-20-autostart.sh;h=b7938cb9719cf11e9935b517c7d3a98c520ba0ac;hb=HEAD;hp=0a3d139cb161d75c562211c46144f8779b96d7da;hpb=7b47d6a266340223e78317cfe0570868f45a4cad;p=distro-setup diff --git a/desktop-20-autostart.sh b/desktop-20-autostart.sh index 0a3d139..b7938cb 100755 --- a/desktop-20-autostart.sh +++ b/desktop-20-autostart.sh @@ -1,5 +1,12 @@ #!/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. @@ -13,15 +20,8 @@ # 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