diff options
| -rw-r--r-- | desktop/modules/kdeconnect/KdeConnectModule.qml | 3 | ||||
| -rw-r--r-- | desktop/modules/kdeconnect/KdeConnectPage.qml | 5 | ||||
| -rw-r--r-- | desktop/modules/kdeconnect/README.md | 6 |
3 files changed, 12 insertions, 2 deletions
diff --git a/desktop/modules/kdeconnect/KdeConnectModule.qml b/desktop/modules/kdeconnect/KdeConnectModule.qml index fa4fb52..17368b2 100644 --- a/desktop/modules/kdeconnect/KdeConnectModule.qml +++ b/desktop/modules/kdeconnect/KdeConnectModule.qml @@ -170,6 +170,9 @@ Module { `xdg-open "$(kdeconnect-cli --get-mount-point -d ${JSON.stringify(id)})"`]); } + // The full KDE Connect window, detached so it outlives a quickshell reload. + function openApp() { Quickshell.execDetached(["kdeconnect-app"]); } + // --- share --- // The dialog is held on the module, not the page, so closing the drawer diff --git a/desktop/modules/kdeconnect/KdeConnectPage.qml b/desktop/modules/kdeconnect/KdeConnectPage.qml index d570125..c29bfe8 100644 --- a/desktop/modules/kdeconnect/KdeConnectPage.qml +++ b/desktop/modules/kdeconnect/KdeConnectPage.qml @@ -27,6 +27,11 @@ Column { text: "Refresh" onClicked: page.kc.discover() } + + Button { + text: "Open app" + onClicked: page.kc.openApp() + } } Text { diff --git a/desktop/modules/kdeconnect/README.md b/desktop/modules/kdeconnect/README.md index b92cb2d..cb0aaa5 100644 --- a/desktop/modules/kdeconnect/README.md +++ b/desktop/modules/kdeconnect/README.md @@ -8,8 +8,10 @@ The tile names the reachable device and its battery when the battery plugin reports one, a count when several are reachable, `Offline` when paired devices exist but none is reachable, and `No devices` otherwise. -The page lists paired devices, then any discovered unpaired ones, with a -refresh control at the top and an incoming-pairing banner. A reachable row +The page lists paired devices, then any discovered unpaired ones, with +refresh and open-the-KDE-Connect-window controls at the top and an +incoming-pairing banner. Open app launches `kdeconnect-app` detached, so it +outlives a quickshell reload. A reachable row offers Ring, Clipboard, Share and Mount; a paired row offers Unpair; an unpaired reachable one offers Pair. |
