wok diff weston/stuff/weston-session @ rev 24986

Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author Stanislas Leduc <shann@slitaz.org>
date Wed May 11 08:28:28 2022 -0400 (2022-05-11)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/weston/stuff/weston-session	Wed May 11 08:28:28 2022 -0400
     1.3 @@ -0,0 +1,19 @@
     1.4 +#!/bin/sh
     1.5 +#
     1.6 +# Start Wayland Weston compositor session on SliTaz GNU/Linux
     1.7 +#
     1.8 +
     1.9 +export XDG_CONFIG_HOME="$HOME/.config"
    1.10 +export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir
    1.11 +
    1.12 +# Start DBUS session.
    1.13 +if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then
    1.14 +	dbus-launch --sh-syntax --exit-with-session &
    1.15 +fi
    1.16 +
    1.17 +if [ ! -d "${XDG_RUNTIME_DIR}" ]; then
    1.18 +	mkdir ${XDG_RUNTIME_DIR}
    1.19 +	chmod 0700 ${XDG_RUNTIME_DIR}
    1.20 +fi
    1.21 +
    1.22 +exec weston-launch