This commit is contained in:
Daniel Langbein 2021-07-25 12:14:36 +02:00
parent 66e92f5e31
commit 0519e6f5df
13 changed files with 16 additions and 16 deletions

View File

@ -2,8 +2,8 @@
_pkgname=rotate _pkgname=rotate
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.1.0 pkgver=0.1.1
pkgrel=2 pkgrel=1
pkgdesc="Scripts to automate screen rotation" pkgdesc="Scripts to automate screen rotation"
arch=('any') arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}" url="https://codeberg.org/privacy1st/${_reponame}"

View File

@ -8,8 +8,8 @@ DEVICES=()
#DEVICES+=( 'pointer:Wacom Pen and multitouch sensor Pen eraser' ) # LenovoYoga460 #DEVICES+=( 'pointer:Wacom Pen and multitouch sensor Pen eraser' ) # LenovoYoga460
# #
DEVICES+=( 'pointer:ELAN9038:00 04F3:2A1C' ) # SurfaceGo2 (default) DEVICES+=( 'pointer:ELAN9038:00 04F3:2A1C' ) # SurfaceGo2 (default)
DEVICES+=( 'pointer:ELAN9038:00 04F3:2A1C Pen (0)' ) # SurfaceGo2 (default) DEVICES+=( 'pointer:ELAN9038:00 04F3:2A1C Stylus Pen (0)' ) # SurfaceGo2 (default)
DEVICES+=( 'pointer:ELAN9038:00 04F3:2A1C Eraser (0)' ) # SurfaceGo2 (default) DEVICES+=( 'pointer:ELAN9038:00 04F3:2A1C Stylus Eraser (0)' ) # SurfaceGo2 (default)
# #
#DEVICES+=( 'pointer:ELAN9038:00 04F3:2A1C touch' ) # SurfaceGo2 #DEVICES+=( 'pointer:ELAN9038:00 04F3:2A1C touch' ) # SurfaceGo2
#DEVICES+=( 'pointer:ELAN9038:00 04F3:2A1C stylus' ) # SurfaceGo2 #DEVICES+=( 'pointer:ELAN9038:00 04F3:2A1C stylus' ) # SurfaceGo2

View File

@ -18,8 +18,8 @@ else
ORIENTATION="$1" ORIENTATION="$1"
fi fi
# "xrandr ... || exit 1" does not work to check if $SCREEN exists. # "xrandr ... || exit 1" does not work to check if $SCREEN exists,
# if e.g. the given output "$SCREEN" does not exist. # e.g. if the given output "$SCREEN" does not exist.
# Thus we check if $SCREEN is valid with grep: # Thus we check if $SCREEN is valid with grep:
xrandr --listmonitors | grep --quiet "\s${SCREEN}\$" || { xrandr --listmonitors | grep --quiet "\s${SCREEN}\$" || {
echo "The given screen ${SCREEN} does not exist." >&2; echo "The given screen ${SCREEN} does not exist." >&2;

@ -1 +1 @@
Subproject commit 4ce9106446a3046d400a9e0c80c68af5df3ca54a Subproject commit 8c4fd1019e20c014e1c9fdc2fdf1dbc6148dbc3b

@ -1 +1 @@
Subproject commit fd0a26f0710e10817a36ccd96e9b5f3dddd671fc Subproject commit b64670a96b30a7545021d491a394c1c061bf8c3e

@ -1 +1 @@
Subproject commit fcc7c3526caf181d42a90a8e654efb3df330e386 Subproject commit d9e69fae0793557303263ff0777f15a161b190ec

@ -1 +1 @@
Subproject commit ab756c684d0d8ed263bac8399ac604978d161b5f Subproject commit 8d5190df3b9dadd4fe454fffe65aa02f16622cf7

@ -1 +1 @@
Subproject commit 2dbc32d4b4bd1c88ce83b4cf783628f5373c8a3c Subproject commit ae194d65dc6c24f4808894c7759dbca226caff52

@ -1 +1 @@
Subproject commit fae3970387d780600543159cd15f0f8905dc773a Subproject commit 5b729d34577776f5212831946425a250b28aae33

@ -1 +1 @@
Subproject commit 5ef54d550ce60e96e2af8c62df493198ef1881e0 Subproject commit b2f002186fcf88fab82182539e207f148f8c0871

@ -1 +1 @@
Subproject commit 5d064a8d97669174898f21764bd738285fd340b2 Subproject commit 8035006b66ca036d88fd3b76e8c3cc7fe52a6431

@ -1 +1 @@
Subproject commit 862ea08ac50c7ae6cb0eccb796af0bb9075238b0 Subproject commit c2070b2fd047bca02af5393cae36dfe0c8f2e789

@ -1 +1 @@
Subproject commit 760c9b944464f4a8d4a9d013650a9ad24f95cf73 Subproject commit 2bd90812fa0a787c43fe1c8eaeedd668bf6342df