From 06c94c256107e7b20bee4494a3de8d24b8344f95 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Tue, 27 Feb 2024 15:48:26 -0500 Subject: [PATCH] readme: Add comment about options for starting the shell in a window --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d2d7fd34..d896bf4d 100644 --- a/README.md +++ b/README.md @@ -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 +``` + ---