mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix
This commit is contained in:
parent
b552b417c8
commit
185a56b60e
@ -2,7 +2,7 @@
|
||||
_pkgname=rotate
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.1
|
||||
pkgver=0.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="Scripts to automate screen rotation"
|
||||
arch=('any')
|
||||
@ -16,8 +16,8 @@ sha256sums=('SKIP') # 'SKIP' for git sources; Otherwise: autofill using updpkgsu
|
||||
package() {
|
||||
cd "${_reponame}/pkg/${pkgname}"
|
||||
|
||||
install -Dm0544 usr/bin/de-p1st-rotate/de-p1st-rotate-screen "$pkgdir"/usr/bin/de-p1st-rotate/de-p1st-rotate-screen
|
||||
install -Dm0544 usr/bin/de-p1st-rotate/de-p1st-auto-rotate "$pkgdir"/usr/bin/de-p1st-rotate/de-p1st-auto-rotate
|
||||
install -Dm0555 usr/bin/de-p1st-rotate/de-p1st-rotate-screen "$pkgdir"/usr/bin/de-p1st-rotate/de-p1st-rotate-screen
|
||||
install -Dm0555 usr/bin/de-p1st-rotate/de-p1st-auto-rotate "$pkgdir"/usr/bin/de-p1st-rotate/de-p1st-auto-rotate
|
||||
|
||||
install -Dm0644 -o0 etc/de-p1st-rotate/config.cfg "$pkgdir"/etc/de-p1st-rotate/config.cfg
|
||||
}
|
||||
|
@ -1,4 +1,7 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Inspired by https://linuxappfinder.com/blog/auto_screen_rotation_in_ubuntu
|
||||
|
||||
|
||||
# Output of "monitor-sensor --accel | grep 'orientation'":
|
||||
# === Has accelerometer (orientation: normal)
|
||||
|
Loading…
Reference in New Issue
Block a user