aboutsummaryrefslogtreecommitdiffstats
path: root/classes/agl-graphical.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/agl-graphical.bbclass')
-rw-r--r--classes/agl-graphical.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/agl-graphical.bbclass b/classes/agl-graphical.bbclass
new file mode 100644
index 000000000..8b5fbf6ba
--- /dev/null
+++ b/classes/agl-graphical.bbclass
@@ -0,0 +1,5 @@
+WESTONUSER ??= "display"
+WESTONGROUP ??= "display"
+WESTONARGS ?= "--idle-time=0 --tty=7"
+WESTONLAUNCHARGS ??= "--tty /dev/tty7 --user ${WESTONUSER}"
+DISPLAY_XDG_RUNTIME_DIR ??= "/run/platform/${WESTONUSER}"