pmaports/device/testing/device-motorola-titan/profile.sh

17 lines
381 B
Bash
Raw Permalink Normal View History

2017-05-29 20:26:58 +00:00
#!/bin/sh
# Run a few weston demos, because the postmarketos-demos program depends
# on xwayland for now (Alpine's GTK3 isn't configured for Wayland
# support yet.)
if [ $(tty) = "/dev/tty1" ]; then
(
sleep 3;
export XDG_RUNTIME_DIR=/tmp/0-runtime-dir
weston-smoke &
weston-simple-damage &
weston-editor &
weston-terminal --shell=/usr/bin/htop &
) > /dev/null &
fi