1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-06-11 00:07:45 +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
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
# unclutter & # hide cursor
xss-lock -- swaylock & # enable locking the screen upon sleep
@ -15,7 +18,10 @@ keepassxc &
zen-browser &
discord &
signal-desktop &
telegram-desktop &
threema-beta &
thunderbird &
mattermost-desktop &
# monitor toggle &
# touchpad off &

View File

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