1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-06-12 08:47:46 +02:00

make wayland screenshare compatible

This commit is contained in:
tiyn 2025-05-14 04:19:50 +02:00
parent 632dccff14
commit 466f023fca
2 changed files with 10 additions and 0 deletions

View File

@ -1,4 +1,7 @@
#!/bin/sh #!/bin/sh
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
$STATUSBAR & # use environment variable $STATUSBAR & # use environment variable
# unclutter & # hide cursor # unclutter & # hide cursor
xss-lock -- swaylock & # enable locking the screen upon sleep xss-lock -- swaylock & # enable locking the screen upon sleep
@ -15,7 +18,10 @@ keepassxc &
zen-browser & zen-browser &
discord & discord &
signal-desktop & signal-desktop &
telegram-desktop &
threema-beta &
thunderbird & thunderbird &
mattermost-desktop &
# monitor toggle & # monitor toggle &
# touchpad off & # touchpad off &

View File

@ -0,0 +1,4 @@
[preferred]
default=gtk
org.freedesktop.impl.portal.Screenshot=wlr
org.freedesktop.impl.portal.ScreenCast=wlr