mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix
This commit is contained in:
parent
bf6924095f
commit
cbc4253ca6
@ -2,7 +2,7 @@
|
||||
_pkgname=rotate
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.4
|
||||
pkgver=0.0.5
|
||||
pkgrel=1
|
||||
pkgdesc="Scripts to automate screen rotation"
|
||||
arch=('any')
|
||||
|
@ -23,6 +23,10 @@ case "${ORIENTATION_STR}" in
|
||||
*": left-up"*)
|
||||
ORIENTATION="right";
|
||||
;;
|
||||
*": undefined"*)
|
||||
echo "The orientation could not yet be determined. Please rotate the device a bit and try again."
|
||||
exit 1;
|
||||
;;
|
||||
*)
|
||||
echo "Could not parse ORIENTATION_STR!";
|
||||
echo "${ORIENTATION_STR}";
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# @post: $SCREEN variable and $DEVICES array are set
|
||||
source /etc/de-1st-rotate/config.cfg || exit $?
|
||||
source /etc/de-p1st-rotate/config.cfg || exit $?
|
||||
|
||||
if [ "$#" -ne "1" ]; then
|
||||
echo "usage: $0 ORIENTATION";
|
||||
|
Loading…
Reference in New Issue
Block a user