mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
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
This commit is contained in:
parent
eced967522
commit
3a73eae701
3 changed files with 14 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
7
plasma-mobile.desktop.cmake
Normal file
7
plasma-mobile.desktop.cmake
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[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
|
||||
|
|
|
|||
Loading…
Reference in a new issue