feat(scripts): add lock screen script

This commit is contained in:
Randall White 2023-01-28 17:21:59 +00:00 committed by GitHub
parent 1fa817f12f
commit 970e71e2be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,10 @@
#!/usr/bin/sh
#
# name: Lock
# icon: locked
# description: Lock the screen
# keywords: lock
set -eu
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock