Better Zoom Webapp Support for meeting links (#1542)

* Support for exec and mime types. Zoom integration

In order to better support webapp zoom:
  - Added optional params for omarchy-webapp-install
    - exec, defaults to omarchy-launch-webapp
    - mimetypes, defaults blank
  - added zoom webapp launcher that parses meeting links and transforms
them and calls launch webapp to join meeting links
  - migration to convert existing zoom installs to the new custom
handler
  - updated the base installer to call new zoom handler and set
mimetypes

* default should be in the else

* Add new line at end of file

* Missed new line on migration

* Updated conditionals to be a little more clean

* This is a rare setup so let's just save it for the direct CLI

* Use new bash conditionals

* Rename to fit under the existing namespace of cmds

* Fix after merge

* Use new syntax and add missing segment comments

* Cleanup a bit

* Use local icon for zoom with migration

* Fix regexp

* Refer to raw local icon references

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Alex R Teal
2025-09-14 10:20:08 -04:00
committed by GitHub
parent 445ccdebbf
commit 13349180b6
5 changed files with 77 additions and 30 deletions

3
migrations/1757435811.sh Normal file
View File

@@ -0,0 +1,3 @@
echo "Copy Omarchy default app icons to .local/share/icons"
source $OMARCHY_PATH/install/packaging/icons.sh

6
migrations/1757435812.sh Normal file
View File

@@ -0,0 +1,6 @@
echo "Update Zoom webapp to handle zoommtg:// and zoomus:// protocol links"
if [[ -f ~/.local/share/applications/Zoom.desktop ]]; then
omarchy-webapp-remove Zoom
omarchy-webapp-install Zoom https://app.zoom.us/wc/home Zoom.png "omarchy-webapp-handler-zoom %u" "x-scheme-handler/zoommtg;x-scheme-handler/zoomus"
fi