sway: remove artificial sleeps, add comment on the expected sleep

This commit is contained in:
Aminda Suomalainen 2022-06-03 13:27:41 +03:00
parent 0b27da3f22
commit bc60dfd259
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 8 additions and 7 deletions

View File

@ -1,20 +1,20 @@
# Very Important Communication Programs, P2P, not expected to get sold
exec --no-startup-id sleep 25 && flatpak run net.jami.Jami
exec --no-startup-id sleep 25 && flatpak run org.briarproject.Briar
exec --no-startup-id flatpak run net.jami.Jami
exec --no-startup-id flatpak run org.briarproject.Briar
# Signal in wayland and tray
# --disable-gpu - https://github.com/signalapp/Signal-Desktop/issues/2567#issuecomment-457282578
# --start-in-tray - would be nice, but then I cannot open it from there, trus --use-tray-icon
exec --no-startup-id sleep 15 && flatpak run org.signal.Signal --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland --disable-gpu --use-tray-icon
exec --no-startup-id flatpak run org.signal.Signal --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland --disable-gpu --use-tray-icon
# Telegram
exec --no-startup-id sleep 15 && flatpak run --env=LC_ALL=en_US.utf8 org.telegram.desktop -startintray
exec --no-startup-id flatpak run --env=LC_ALL=en_US.utf8 org.telegram.desktop -startintray
# Nheko nightly (Matrix protocol). xwayland for missing all menus in wayland.
exec --no-startup-id sleep 10 && flatpak run --env=QT_QPA_PLATFORM=xcb io.github.NhekoReborn.Nheko//master --profile default
exec --no-startup-id flatpak run --env=QT_QPA_PLATFORM=xcb io.github.NhekoReborn.Nheko//master --profile default
# Dino, electronless XMPP. Doesn't seem to function too well under Wayland/Sway?
#exec --no-startup-id dino --gapplication-service
# Gajim nightly, also electronless XMPP
exec --no-startup-id sleep 10 && flatpak run org.gajim.Gajim.Devel
exec --no-startup-id flatpak run org.gajim.Gajim.Devel

View File

@ -9,7 +9,8 @@ exec --no-startup-id /usr/libexec/kf5/polkit-kde-authentication-agent-1
# Debian
#exec --no-startup-id /usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1
# htop system monitor
# htop system monitor, this actually needs a bit of sleep to ensure foot
# server is running
exec --no-startup-id sleep 15 && $term --title=htop htop
# NetworkManager Applet