summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Dapena Paz <jose.dapena@lge.com>2018-05-04 13:39:33 +0200
committerJose Dapena Paz <jose.dapena@lge.com>2018-05-04 13:39:33 +0200
commit7a6d373adbca65e4e740d00560a0b5f196b9e02c (patch)
treecba8b65497f56ed0f6cdf7fbfa5f8ae0877faa85
parentae7d736f4ccbf62a39c2f996e74b5a50f8dee550 (diff)
Install runxdg.toml script.
-rw-r--r--CMakeLists.txt7
-rw-r--r--runxdg.toml18
2 files changed, 25 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b485097..e608543 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,3 +19,10 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.3)
include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/cmake/config.cmake)
+
+add_custom_command(OUTPUT ${PROJECT_PKG_BUILD_DIR}/runxdg.toml
+ COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/runxdg.toml ${PROJECT_PKG_BUILD_DIR}/runxdg.toml
+)
+
+add_custom_target(runxdg_toml DEPENDS ${PROJECT_PKG_BUILD_DIR}/runxdg.toml)
+add_dependencies(widget runxdg_toml)
diff --git a/runxdg.toml b/runxdg.toml
new file mode 100644
index 0000000..bd377b0
--- /dev/null
+++ b/runxdg.toml
@@ -0,0 +1,18 @@
+[application]
+# role: identifier for WindowManager (used in layers.json)
+# e.g. role = "WebBrowser"
+role = "WebBrowser"
+
+# launch by "POSIX"(fork/exec), "AFM_DBUS"(afm via dbus), "AFM_WEBSOCKET"(afm via websockt)
+method = "POSIX"
+
+# path: path to the executable
+# e.g.
+# path = "/usr/bin/chromium"
+path = "/opt/chromium53/chrome"
+
+params = [
+ "--in-process-gpu",
+ "--user-data-dir=/opt/chromium53/workdir"
+]
+