Commit 3a73eae7 authored by Bhushan Shah's avatar Bhushan Shah

Add Plasma Mobile session

Summary: And also, autoload Plasma Mobile shell if session is plasma-mobile

Test Plan: loaded Plasma Mobile session from the sddm

Reviewers: #plasma, mart

Reviewed By: #plasma, mart

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D8910
parent eced9675
......@@ -50,6 +50,12 @@ install( FILES kwinmultitasking/metadata.desktop DESTINATION ${SERVICES_INSTALL_
install( DIRECTORY qtvirtualkeyboardplugin/ DESTINATION ${KDE_INSTALL_QMLDIR}/QtQuick/VirtualKeyboard/Styles/Plasma )
configure_file(plasma-mobile.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/plasma-mobile.desktop)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/plasma-mobile.desktop
DESTINATION ${KDE_INSTALL_DATADIR}/wayland-sessions
)
add_subdirectory(bin)
#add_subdirectory(services)
add_subdirectory(applets)
......
[Desktop Entry]
Encoding=UTF-8
Exec=dbus-launch --exit-with-session ${CMAKE_INSTALL_FULL_BINDIR}/startplasmacompositor
TryExec=${CMAKE_INSTALL_FULL_BINDIR}/startplasmacompositor
DesktopNames=KDE
Name=Plasma Mobile
Comment=Plasma Mobile by KDE
......@@ -25,7 +25,7 @@ Item {
property string shell : "org.kde.plasma.phone"
property bool willing : true
property int priority : 10
property int priority : currentSession == "plasma-mobile" ? 0 : 10
// This is not needed, but allows the
// handler to know whether its shell is loaded
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment