use xdg-screensaver for cross compatibility

This change is based on comments from the original PR.
This commit is contained in:
Randall White 2023-01-30 08:42:46 -07:00 committed by GitHub
parent 970e71e2be
commit 9d0c0a5f98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,4 +7,4 @@
set -eu
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock
xdg-screensaver lock