main/postmarketos-ui-sway: new aport/new UI (!374)
Does not work without hw acceleration!
This commit is contained in:
parent
5b1a20fbaf
commit
96e2e6df66
5 changed files with 41 additions and 0 deletions
5
main/postmarketos-ui-sway/60-lightdm-autologin.conf
Normal file
5
main/postmarketos-ui-sway/60-lightdm-autologin.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
# This file gets removed with postmarketos-ui-sway, even if modified!
|
||||
[Seat:*]
|
||||
autologin-user=username
|
||||
autologin-user-timeout=0
|
||||
autologin-session=sway
|
24
main/postmarketos-ui-sway/APKBUILD
Normal file
24
main/postmarketos-ui-sway/APKBUILD
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Contributor: Danct12 <danct12@disroot.org>
|
||||
# Contributor: Asriel Dreemurr <asriel.danctnix@gmail.com>
|
||||
# Maintainer: Danct12 <danct12@disroot.org>
|
||||
pkgname=postmarketos-ui-sway
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)"
|
||||
url="https://postmarketos.org"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="dbus sway swaylock swayidle xorg-server-xwayland postmarketos-artwork-wallpapers
|
||||
rxvt-unicode mesa-dri-swrast xorg-server lightdm lightdm-gtk-greeter elogind"
|
||||
install="$pkgname.post-install"
|
||||
source="60-lightdm-autologin.conf postmarketos_background"
|
||||
options="!check" # no testsuite
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir"/60-lightdm-autologin.conf \
|
||||
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/60-autologin.conf
|
||||
install -Dm644 "$srcdir"/postmarketos_background \
|
||||
"$pkgdir"/etc/sway/config.d/postmarketos_background
|
||||
}
|
||||
sha512sums="5cf8c2e04ec1e1f7a330a3c81f82bc8c9eff4af0b61fb1b4f4a3b2f00fd0f149ab4e517ba38b4be97b22b6316c20861977e99548a9ecf0d89d81faf916c4e714 60-lightdm-autologin.conf
|
||||
1a70c9a0709d4474317b75ad4929673509a1198e4b95378f8dd02f795b2585ad296b409f06c66d4375c5b6732643f86d04a5220a32de794f464b9375af8487ec postmarketos_background"
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/60-autologin.conf
|
||||
|
||||
rc-update add lightdm default
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/60-autologin.conf
|
||||
|
||||
rc-update add lightdm default
|
2
main/postmarketos-ui-sway/postmarketos_background
Normal file
2
main/postmarketos-ui-sway/postmarketos_background
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Default postmarketOS background (aka branding)
|
||||
output * bg /usr/share/wallpapers/postmarketos.jpg fill
|
Loading…
Reference in a new issue