Handle sms: URLs too
Handling those URLs works perfectly fine already, for transferring the phone number and the body, we just need to register for it.
This commit is contained in:
parent
0fa2bcd464
commit
834f9c3790
2 changed files with 9 additions and 1 deletions
|
@ -10,4 +10,4 @@ target_link_libraries(kdeconnect-handler
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS kdeconnect-handler ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(TARGETS kdeconnect-handler ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||||
install(PROGRAMS org.kde.kdeconnect.telhandler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
install(PROGRAMS org.kde.kdeconnect.telhandler.desktop org.kde.kdeconnect.smshandler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||||
|
|
8
urlhandler/org.kde.kdeconnect.smshandler.desktop
Normal file
8
urlhandler/org.kde.kdeconnect.smshandler.desktop
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=KDE Connect SMS URL Handler
|
||||||
|
Exec=kdeconnect-handler %U
|
||||||
|
Icon=kdeconnect
|
||||||
|
Type=Application
|
||||||
|
NoDisplay=true
|
||||||
|
|
||||||
|
MimeType=x-scheme-handler/sms
|
Loading…
Reference in a new issue