readme: Add comment about options for starting the shell in a window

This commit is contained in:
Devin Lin 2024-02-27 15:48:26 -05:00
parent 47c5847877
commit 06c94c2561

View file

@ -47,11 +47,20 @@ Dependencies:
* Kirigami Addons
* hfd-service (optional: for vibrations)
To start the phone homescreen in a window, run:
To start the shell in a window, run:
```
QT_QPA_PLATFORM=wayland dbus-run-session kwin_wayland --xwayland "plasmashell -p org.kde.plasma.mobileshell"
```
Useful options:
- Specify the `--output-count` flag for the number of displays
- Specify `--width` and `--height` for the window size
```
QT_QPA_PLATFORM=wayland dbus-run-session kwin_wayland --xwayland "plasmashell -p org.kde.plasma.mobileshell" --output-count 2 --width 360 --height 720
```
---
<img src="https://invent.kde.org/plasma/plasma-mobile/-/wikis/uploads/19a607bb68faa76bbc9f888e33a3aa9a/konqi-calling.png" width=200px>