sway/brave: add the browser itself, increase sleeps for PWAs

It seems to work other than opening an extra window with just new tab page, but good enough
This commit is contained in:
Aminda Suomalainen 2024-04-14 12:41:23 +03:00
parent 64933b691f
commit 89fc9bd2ed
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,20 +1,28 @@
# Autostarting Progressive WebApps using Brave
# App IDs are theoretically the same globally
# Brave itself so it's already running when the PWAs start and may avoid
# another race condition (the sleep is for VPN/DNS in addition to secrets
# store).
exec --no-startup-id sleep 30 && /usr/local/bin/brave --profile-directory=Default
# chat.pikaviestin.fi
exec --no-startup-id sleep 30 && /usr/local/bin/brave --profile-directory=Default --app-id=gnfnegplbndhneeicgmmlacdcafhbloj --app-run-on-os-login-mode=windowed
exec --no-startup-id sleep 45 && /usr/local/bin/brave --profile-directory=Default --app-id=gnfnegplbndhneeicgmmlacdcafhbloj --app-run-on-os-login-mode=windowed
# web.whatsapp.com
exec --no-startup-id sleep 30 && /usr/local/bin/brave --profile-directory=Default --app-id=hnpfjngllnobngcgfapefoaidbinmjnm --app-run-on-os-login-mode=windowed
exec --no-startup-id sleep 45 && /usr/local/bin/brave --profile-directory=Default --app-id=hnpfjngllnobngcgfapefoaidbinmjnm --app-run-on-os-login-mode=windowed
# latest.glowing-bear.org
exec --no-startup-id sleep 30 && /usr/local/bin/brave --profile-directory=Default --app-id=copdfoibmmeogdkkhnckdgnngdchekmf --app-run-on-os-login-mode=windowed
exec --no-startup-id sleep 45 && /usr/local/bin/brave --profile-directory=Default --app-id=copdfoibmmeogdkkhnckdgnngdchekmf --app-run-on-os-login-mode=windowed
# web.telegram.org/a
exec --no-startup-id sleep 30 && /usr/local/bin/brave --profile-directory=Default --app-id=ibblmnobmgdmpoeblocemifbpglakpoi --app-run-on-os-login-mode=windowed
exec --no-startup-id sleep 45 && /usr/local/bin/brave --profile-directory=Default --app-id=ibblmnobmgdmpoeblocemifbpglakpoi --app-run-on-os-login-mode=windowed
# ntfy.sh
exec --no-startup-id sleep 30 && /usr/local/bin/brave --profile-directory=Default --app-id=cmgiilnmnfechkeifkepembegeckng --app-run-on-os-login-mode=windowed
exec --no-startup-id sleep 45 && /usr/local/bin/brave --profile-directory=Default --app-id=cmgiilnmnfechkeifkepembegeckng --app-run-on-os-login-mode=windowed
# webchat.disroot.org
exec --no-startup-id sleep 30 && /usr/local/bin/brave --profile-directory=Default --app-id=ndhcmhblfbbcejhpmekjaoljlkgmlebj --app-run-on-os-login-mode=windowed
exec --no-startup-id sleep 45 && /usr/local/bin/brave --profile-directory=Default --app-id=ndhcmhblfbbcejhpmekjaoljlkgmlebj --app-run-on-os-login-mode=windowed
# music.youtube.com
exec --no-startup-id sleep 45 && /usr/local/bin/brave --profile-directory=Default --app-id=cinhimbnkkaeohfgghhklpknlkffjgod --app-run-on-os-login-mode=windowed