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:
parent
87d86b7cf0
commit
af856d5bfa
5 changed files with 72 additions and 2 deletions
6
configs/applications/sxmo-phone-menu.desktop
Normal file
6
configs/applications/sxmo-phone-menu.desktop
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Sxmo Phone Menu
|
||||
Exec=sxmo_phonemenu.sh
|
||||
Terminal=false
|
||||
Type=Application
|
||||
MimeType=x-scheme-handler/tel
|
25
configs/firefox/handlers.json
Normal file
25
configs/firefox/handlers.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue