From f24a8ca2c52d59526d9f183b955767af08ac0110 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 18 Sep 2023 16:29:01 +0300 Subject: [PATCH] sway: replace edge-pwa with vivaldi sample --- conf/sway/config.d/autostart-edge-pwa.conf | 42 ------------------- ...utostart-vivaldi-pwa.gitignore.conf.sample | 14 +++++++ 2 files changed, 14 insertions(+), 42 deletions(-) delete mode 100644 conf/sway/config.d/autostart-edge-pwa.conf create mode 100644 conf/sway/config.d/autostart-vivaldi-pwa.gitignore.conf.sample diff --git a/conf/sway/config.d/autostart-edge-pwa.conf b/conf/sway/config.d/autostart-edge-pwa.conf deleted file mode 100644 index 75719f72..00000000 --- a/conf/sway/config.d/autostart-edge-pwa.conf +++ /dev/null @@ -1,42 +0,0 @@ -# Autostarting Progressive WebApps using Microsoft Edge -# This relies on my wrapper script https://gitea.blesmrt.net/mikaela/scripts/src/branch/master/bash/usr-local-bin/microsoft-edge -# I am not sure if they need to be installed first, but the --app-id is -# either global or otherwise the same on two machines I tested it on. -# NOTE! PWAs are supposed to be receiving notifications even when not running -# (safe to close, should work without pinned tab etc.) -# NOTE! To identify a PWA, look for manifest in html head. - -## Instant messengers - -### Matrix - -# FluffyChat, Matrix client with proper multi-account support -#exec --no-startup-id microsoft-edge --profile-directory=Default --app-id=chglpbebngpmpnllbfifjpmfjfamdkdc --app-url=https://fluffychat.im/web/ -# Hydrogen, lightweight Matrix client (with multiaccount support) -exec --no-startup-id microsoft-edge --profile-directory=Default --app-id=fabhlekicpedicndfollleogbcombpcb --app-url=https://hydrogen.element.io/ -# Element develop, required for /devtools -exec --no-startup-id microsoft-edge --profile-directory=Default --app-id=hnchgjdlopojjdfeefpijmmfnnfkmmon --app-url=https://develop.element.io/index.html - -### The rest - -# Telegram WebZ -exec --no-startup-id microsoft-edge --profile-directory=Default --app-id=aeejceomnhmjmeacdckmmopfaigimnkl --app-url=https://web.telegram.org/z/ - -# WhatsApp, mainly family. Missing manifest, not a PWA. -#exec --no-startup-id microsoft-edge --profile-directory=Default --app-id=hnpfjngllnobngcgfapefoaidbinmjnm --app-url=https://web.whatsapp.com/ - -### IRC -# Glowing Bear, WeeChat Relay protocol client. -exec --no-startup-id microsoft-edge --profile-directory=Default --app-id=copdfoibmmeogdkkhnckdgnngdchekmf --app-url=https://latest.glowing-bear.org/index.html - -## Media - -# YouTube Music -exec --no-startup-id microsoft-edge --profile-directory=Default --app-id=cinhimbnkkaeohfgghhklpknlkffjgod "--app-url=https://music.youtube.com/?source=pwa" - -## Productivity -# Google Calendar -exec --no-startup-id microsoft-edge --profile-directory=Default --app-id=kjbdgfilnfhdoflbpgamdcdgpehopbep --app-url=https://calendar.google.com/calendar/r - -# Ntfy.sh, all kinds of notifications you send it. Missing manifest, not a PWA. -#exec --no-startup-id microsoft-edge --profile-directory=Default --app-id=cmgiilnmnfechkeifkepembegeckngog --app-url=https://ntfy.sh/app diff --git a/conf/sway/config.d/autostart-vivaldi-pwa.gitignore.conf.sample b/conf/sway/config.d/autostart-vivaldi-pwa.gitignore.conf.sample new file mode 100644 index 00000000..c740c08b --- /dev/null +++ b/conf/sway/config.d/autostart-vivaldi-pwa.gitignore.conf.sample @@ -0,0 +1,14 @@ +# Autostarting Progressive WebApps using Vivaldi +# App IDs may be globally the same? + +# Telegram WebZ +exec --no-startup-id vivaldi --profile-directory=Default --app-id=ibblmnobmgdmpoeblocemifbpglakpoi "--app-url=https://web.telegram.org/z/" + +# Glowing Bear, WeeChat Relay protocol client. +exec --no-startup-id vivaldi --profile-directory=Default --app-id=copdfoibmmeogdkkhnckdgnngdchekmf "--app-url=https://latest.glowing-bear.org/index.html" + +# YouTube Music +exec --no-startup-id vivaldi --profile-directory=Default --app-id=cinhimbnkkaeohfgghhklpknlkffjgod "--app-url=https://music.youtube.com/?source=pwa" + +# Ntfy.sh Web +exec --no-startup-id vivaldi --profile-directory=Default --app-id=cmgiilnmnfechkeifkepembegeckngog "--app-url=https://ntfy.sh/app"