-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add splashscreens and backup/restore on changescreen install/remove (#…
…724) * Add splashscreens and backup/restore on changescreen install/remove * Only backup if splashscreens are missing * update docs
- Loading branch information
Showing
5 changed files
with
885 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
pkgnames=(changescrn) | ||
pkgdesc="Change sleep/suspend/poweroff/reboot screens" | ||
url=https://github.com/pr0fsmith/rMscreens/ | ||
pkgver=1.0.0-1 | ||
pkgver=1.0.0-2 | ||
timestamp=2022-03-15T01:28:33Z | ||
section="utils" | ||
maintainer="pr0fsmith <[email protected]>" | ||
|
@@ -17,3 +17,13 @@ sha256sums=(3c2e8b0952d848d7326c0a4ce45da625dd7fd0fbc6b564a2d40c3b97015138e3) | |
package() { | ||
install -Dm755 "$srcdir"/changescrn "$pkgdir/opt/bin/changescrn" | ||
} | ||
|
||
configure() { | ||
if [ ! -d /opt/usr/share/backupscrns ] || [ -z "$(ls -A /opt/usr/share/backupscrns)" ]; then | ||
changescrn -b | ||
fi | ||
} | ||
|
||
preremove() { | ||
changescrn -r all | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2023 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
pkgnames=( | ||
splashscreen-starting-wavey-lines | ||
splashscreen-suspended-wavey-lines | ||
) | ||
url=https://github.com/EnglishLFC/reMarkable | ||
pkgver=0.0.0-1 | ||
timestamp=2021-03-19T18:46:40Z | ||
section="splashscreens" | ||
maintainer="Eeems <[email protected]>" | ||
license=BSD-2-Clause | ||
installdepends=(changescrn) | ||
|
||
source=("https://github.com/EnglishLFC/reMarkable/archive/a06b10ea9f28c784e6941085a30944c0489450f4.zip") | ||
sha256sums=(ec5f0321342bf6b48bb1431f4b1cf4416c37681879b3ec6c9375f889077a0b7f) | ||
|
||
splashscreen-starting-wavey-lines() { | ||
pkgdesc="Barnsley Fern battery empty splashscreen" | ||
replaces=("splashscreen-starting") | ||
conflicts=("splashscreen-starting") | ||
package() { | ||
install -D -m 755 -T "$srcdir"/splash/splash.png \ | ||
"$pkgdir"/opt/share/remarkable/splashscreens/starting.png | ||
} | ||
configure() { | ||
changescrn -c starting /opt/share/remarkable/splashscreens/starting.png | ||
} | ||
postremove() { | ||
changescrn -r starting | ||
} | ||
} | ||
|
||
splashscreen-suspended-wavey-lines() { | ||
pkgdesc="Barnsley Fern power off splashscreen" | ||
replaces=("splashscreen-suspended") | ||
conflicts=("splashscreen-suspended") | ||
package() { | ||
install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ | ||
"$srcdir"/splash/suspended.png | ||
} | ||
configure() { | ||
changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png | ||
} | ||
postremove() { | ||
changescrn -r suspended | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2023 The Toltec Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
pkgnames=( | ||
splashscreen-poweroff-gallifreyan | ||
splashscreen-suspended-gallifreyan | ||
splashscreen-suspended-gallifreyan-dark | ||
splashscreen-starting-gallifreyan | ||
splashscreen-suspended-gallifreyan-2 | ||
splashscreen-suspended-flower-pause | ||
) | ||
url=https://github.com/1094/rM-customizations | ||
pkgver=0.0.0-1 | ||
timestamp=2023-05-15T11:27:58Z | ||
section="splashscreens" | ||
maintainer="Eeems <[email protected]>" | ||
license=CC-BY-NC-3.0 | ||
installdepends=(changescrn) | ||
|
||
source=("https://github.com/1094/rM-customizations/archive/623171a1268e9ff45a8669fa36637e3eabd4ca40.zip") | ||
sha256sums=(8cc8d02fe04c12bacfc798c1f6737cb55f581f191e2bf54147256df265318a31) | ||
|
||
splashscreen-poweroff-gallifreyan() { | ||
pkgdesc="Gallifreyan poweroff splashscreen" | ||
replaces=("splashscreen-poweroff") | ||
conflicts=("splashscreen-poweroff") | ||
package() { | ||
install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ | ||
"$srcdir"/splash-screens/gallifreyan/poweroff.png | ||
} | ||
configure() { | ||
changescrn -c poweroff /opt/share/remarkable/splashscreens/poweroff.png | ||
} | ||
postremove() { | ||
changescrn -r poweroff | ||
} | ||
} | ||
|
||
splashscreen-suspended-gallifreyan() { | ||
pkgdesc="Gallifreyan suspended splashscreen" | ||
replaces=("splashscreen-suspended") | ||
conflicts=("splashscreen-suspended") | ||
package() { | ||
install -D -m 755 -T "$srcdir"/splash-screens/gallifreyan/sleeping-v1.png \ | ||
"$pkgdir"/opt/share/remarkable/splashscreens/suspended.png | ||
} | ||
configure() { | ||
changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png | ||
} | ||
postremove() { | ||
changescrn -r suspended | ||
} | ||
} | ||
|
||
splashscreen-suspended-gallifreyan-dark() { | ||
pkgdesc="Gallifreyan dark suspended splashscreen" | ||
replaces=("splashscreen-suspended") | ||
conflicts=("splashscreen-suspended") | ||
package() { | ||
install -D -m 755 -T "$srcdir"/splash-screens/gallifreyan/sleeping-v3.png \ | ||
"$pkgdir"/opt/share/remarkable/splashscreens/suspended.png | ||
} | ||
configure() { | ||
changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png | ||
} | ||
postremove() { | ||
changescrn -r suspended | ||
} | ||
} | ||
|
||
splashscreen-starting-gallifreyan() { | ||
pkgdesc="Gallifreyan starting splashscreen" | ||
replaces=("splashscreen-starting") | ||
conflicts=("splashscreen-starting") | ||
package() { | ||
install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ | ||
"$srcdir"/splash-screens/gallifreyan/starting.png | ||
} | ||
configure() { | ||
changescrn -c starting /opt/share/remarkable/splashscreens/starting.png | ||
} | ||
postremove() { | ||
changescrn -r starting | ||
} | ||
} | ||
|
||
splashscreen-suspended-gallifreyan-2() { | ||
pkgdesc="Gallifreyan suspended splashscreen" | ||
replaces=("splashscreen-suspended") | ||
conflicts=("splashscreen-suspended") | ||
package() { | ||
install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ | ||
"$srcdir"/splash-screens/gallifreyan/suspended.png | ||
} | ||
configure() { | ||
changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png | ||
} | ||
postremove() { | ||
changescrn -r suspended | ||
} | ||
} | ||
|
||
splashscreen-suspended-flower-pause() { | ||
pkgdesc="Flower suspended splashscreen" | ||
replaces=("splashscreen-suspended") | ||
conflicts=("splashscreen-suspended") | ||
package() { | ||
install -D -m 755 -T "$srcdir"/splash-screens/misc/flower-pause.png \ | ||
"$pkgdir"/opt/share/remarkable/splashscreens/suspended.png | ||
} | ||
configure() { | ||
changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png | ||
} | ||
postremove() { | ||
changescrn -r suspended | ||
} | ||
} |
Oops, something went wrong.