Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9156973e13 | ||
|
|
3d1fd823a1 | ||
|
|
ec8efa4bb4 |
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# This file gets removed with postmarketos-ui-unity8, even if modified!
|
||||
[Seat:*]
|
||||
autologin-user=username
|
||||
autologin-user-timeout=0
|
||||
autologin-session=unity8
|
||||
@@ -0,0 +1,19 @@
|
||||
# Contributor: Luca Weiss <luca@z3ntu.xyz>
|
||||
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
||||
pkgname=postmarketos-ui-unity8
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc="(Wayland) Unity8"
|
||||
url="https://wiki.postmarketos.org/wiki/Unity_8"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-or-later"
|
||||
depends="unity8 lightdm xorg-server"
|
||||
install="$pkgname.post-install"
|
||||
source="60-lightdm-autologin.conf"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir"/60-lightdm-autologin.conf \
|
||||
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/60-autologin.conf
|
||||
}
|
||||
sha512sums="f727782535b116f00966d48fbbfe7891fbc3f4662f5aca9646e8a7bdec312e7259d2930499cfc9e11b7a444f6729a4286d080ffc55e7d6a6a6f2ae5b0bd411a5 60-lightdm-autologin.conf"
|
||||
@@ -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,25 @@
|
||||
if test -z "${XDG_RUNTIME_DIR}"; then
|
||||
export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir
|
||||
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
||||
mkdir "${XDG_RUNTIME_DIR}"
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}"
|
||||
fi
|
||||
|
||||
if [ $(tty) = "/dev/tty1" ]; then
|
||||
# udevadm trigger
|
||||
# udevadm settle
|
||||
|
||||
# Wizard is broken
|
||||
mkdir -p $HOME/.config/ubuntu-system-settings
|
||||
touch $HOME/.config/ubuntu-system-settings/wizard-has-run
|
||||
|
||||
export LD_LIBRARY_PATH=/usr/lib/qt5/plugins/platforms
|
||||
export MIR_SERVER_CURSOR=null
|
||||
export QT_QPA_PLATFORM=mirserver
|
||||
export G_MESSAGES_DEBUG=all
|
||||
|
||||
# sleep 2
|
||||
|
||||
ck-launch-session unity8 2>&1 | logger -t "$(whoami):unity8"
|
||||
fi
|
||||
fi
|
||||
@@ -0,0 +1,54 @@
|
||||
# Contributor: Luca Weiss <luca@z3ntu.xyz>
|
||||
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
||||
pkgname=ubuntu-themes
|
||||
pkgver=0_git20190510
|
||||
_commit="957bad2712b09d0c73f367082dd170380a21a117"
|
||||
pkgrel=0
|
||||
pkgdesc="Theme files for Unity 8"
|
||||
arch="noarch"
|
||||
url="https://unity8.io"
|
||||
license="GPL-3.0-only"
|
||||
subpackages="light-themes:light_themes suru-icon-theme:suru_icon_theme ubuntu-mono:ubuntu_mono ubuntu-artwork:ubuntu_artwork ubuntu-mobile-icons:ubuntu_mobile_icons"
|
||||
source="ubuntu-themes-$_commit.tar.gz::https://github.com/ubports/ubuntu-themes/archive/$_commit.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$_commit"
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
light_themes() {
|
||||
depends="gtk-murrine-engine ubuntu-mono" # humanity-icon-theme
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share/themes
|
||||
cp -r Ambiance Radiance "$subpkgdir"/usr/share/themes
|
||||
}
|
||||
|
||||
suru_icon_theme() {
|
||||
depends="ubuntu-mobile-icons hicolor-icon-theme"
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share/icons
|
||||
cp -r suru-icons "$subpkgdir"/usr/share/icons/suru
|
||||
}
|
||||
|
||||
ubuntu_artwork() {
|
||||
depends="light-themes ubuntu-mono" # adium-theme-ubuntu ubports-wallpaper
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share/icons/hicolor/48x48/apps
|
||||
cp distributor-logo.png "$subpkgdir"/usr/share/icons/hicolor/48x48/apps
|
||||
}
|
||||
|
||||
ubuntu_mobile_icons() {
|
||||
depends="hicolor-icon-theme"
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share/icons
|
||||
cp -r ubuntu-mobile "$subpkgdir"/usr/share/icons
|
||||
}
|
||||
|
||||
ubuntu_mono() {
|
||||
depends="adwaita-icon-theme hicolor-icon-theme" # humanity-icon-theme
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share/icons
|
||||
cp -r ubuntu-mono-dark ubuntu-mono-light LoginIcons "$subpkgdir"/usr/share/icons
|
||||
}
|
||||
|
||||
sha512sums="3811db45101dc3712ca6e08e6e6581ea682ee3099fd50e4788ca4985f56a9776ae255807351b29381883397e33be2f970dd707e5cd8db54644669fcb999b3832 ubuntu-themes-957bad2712b09d0c73f367082dd170380a21a117.tar.gz"
|
||||
Reference in new issue
Block a user