diff options
-rw-r--r-- | CMakeLists.txt | 7 | ||||
-rw-r--r-- | runxdg.toml | 18 |
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" +] + |