Add x-scheme-handler/tel handler with a dedicated menu

This menu allow the user to

- call
- text
- save

The tel number.
This commit is contained in:
Stacy Harper 2021-09-18 11:54:17 +02:00
parent 87d86b7cf0
commit af856d5bfa
No known key found for this signature in database
GPG key ID: EABA44759877E02A
5 changed files with 72 additions and 2 deletions

View file

@ -0,0 +1,6 @@
[Desktop Entry]
Name=Sxmo Phone Menu
Exec=sxmo_phonemenu.sh
Terminal=false
Type=Application
MimeType=x-scheme-handler/tel

View file

@ -0,0 +1,25 @@
{
"defaultHandlersVersion": {
"en-US": 4
},
"mimeTypes": {
"application/pdf": {
"action": 3,
"extensions": [
"pdf"
]
}
},
"schemes": {
"tel": {
"action": 2,
"ask": false,
"handlers": [
{
"name": "sxmo",
"path": "/usr/bin/sxmo_open.sh"
}
]
}
}
}

View file

@ -5,3 +5,4 @@ image/gif=sxmo-sxiv.desktop
audio/x-m4a=sxmo-mpv-music.desktop
audio/mpeg=sxmo-mpv-music.desktop
application/pdf=sxmo-zathura.desktop
x-scheme-handler/tel=sxmo-phone-menu.desktop