Closed btegs closed 1 year ago
I've created a PR #166 that will need to be reviewed and tested. In the meantime you can lock the screen with Super
+ Esc
.
You can also make your own script for the time being with the following commands.
touch ~/.local/share/pop-launcher/scripts/session/lock-screen.sh
gedit ~/.local/share/pop-launcher/scripts/session/lock-screen.sh
In the file that opens paste the following:
#!/usr/bin/sh
#
# name: Lock
# icon: locked
# description: Lock the system
# keywords: lock
set -eu
loginctl lock-session
Save the file
sudo chmod a+x ~/.local/share/pop-launcher/scripts/session/lock-screen.sh
Super + Esc is much faster, but I guess having it show up in the launcher is fine too.
Closing since https://github.com/pop-os/launcher/pull/166 was merged. It should be released some time this week.
Thanks for your contributions everyone!
If I open up the Launcher and type any of these, they will work:
But if I type Lock, I do not see the option to Lock the screen. Is this something planned or easy to implement? Just a little quality of life thingie :-)