fix screensharing

This commit is contained in:
2024-05-15 00:09:23 +03:00
parent 9872f8d535
commit 5ce219d998
3 changed files with 9 additions and 11 deletions

View File

@@ -1,13 +1,15 @@
# Notifications
exec mako
exec systemctl --user import-environment
#exec systemctl --user import-environment PATH DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway
exec_always dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway
# Autostart
#exec dex -a -s /etc/xdg/autostart/:~/.config/autostart/
exec_always /usr/libexec/xdg-desktop-portal
exec_always systemctl --user start xdg-desktop-portal-wlr.service
exec --no-startup-id ~/.config/sway/scripts/start_keyring
@@ -21,8 +23,6 @@ exec tail -f $SWAYSOCK.wob | wob
# Network Manager Applet
exec nm-applet --indicator
exec /usr/libexec/xdg-desktop-portal
exec_always swayrd
exec_always ~/.config/sway/scripts/statusbar