pop-os / launcher

Modular IPC-based desktop launcher service
Mozilla Public License 2.0
220 stars 42 forks source link

Feature Request: Lock screen option #165

Closed btegs closed 1 year ago

btegs commented 1 year ago

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 :-)

n3m0-22 commented 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.

#!/usr/bin/sh
#
# name: Lock
# icon: locked
# description: Lock the system
# keywords: lock

set -eu

loginctl lock-session
leviport commented 1 year ago

Super + Esc is much faster, but I guess having it show up in the launcher is fine too.

leviport commented 1 year ago

Closing since https://github.com/pop-os/launcher/pull/166 was merged. It should be released some time this week.

btegs commented 1 year ago

Thanks for your contributions everyone!