main/postmarketos-ui-sway: new aport/new UI (!374)

Does not work without hw acceleration!
This commit is contained in:
Asriel Dreemurr 2019-05-21 20:21:07 +07:00 committed by Oliver Smith
parent 5b1a20fbaf
commit 96e2e6df66
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
5 changed files with 41 additions and 0 deletions

View 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

View 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"

View file

@ -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

View file

@ -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

View file

@ -0,0 +1,2 @@
# Default postmarketOS background (aka branding)
output * bg /usr/share/wallpapers/postmarketos.jpg fill