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

8 lines
252 B
Bash

#!/bin/sh
rc-update add tinydm default
rc-update add networkmanager 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