pmaports/main/postmarketos-ui-weston/postmarketos-ui-weston.post-install

9 lines
282 B
Bash

#!/bin/sh
rc-update add elogind default
rc-update add networkmanager default
rc-update add tinydm default
sed -i "s/^Exec=weston$/Exec=dbus-run-session start_weston.sh/g" /usr/share/wayland-sessions/weston.desktop
tinydm-set-session -s /usr/share/wayland-sessions/weston.desktop