feat(scripts): add lock screen script
This commit is contained in:
parent
1fa817f12f
commit
970e71e2be
1 changed files with 10 additions and 0 deletions
10
scripts/session/session-lock.sh
Normal file
10
scripts/session/session-lock.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue