Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot Corner: Add action "Lock & Suspend" #198

Open
1 task done
marbetschar opened this issue Jan 13, 2020 · 0 comments
Open
1 task done

Hot Corner: Add action "Lock & Suspend" #198

marbetschar opened this issue Jan 13, 2020 · 0 comments

Comments

@marbetschar
Copy link
Member

marbetschar commented Jan 13, 2020

Prerequisites

  • I have searched open and closed issues for duplicates.

Feature

It would be awesome to have a native option for "Suspend" for a Hot Corner. I quite often use this, because I use my Laptop in office spaces, where I don't want anyone be able to glimpse on my screen while I'm away.

For now I'm using the Custom command systemctl suspend as workaround - and to fix going to sleep mode again after unlocking, I'm also moving the cursor position before suspending (installed an extra tool for this): sh -c "xdotool mousemove 500 500 && systemctl suspend"

EDIT: Updated workaround command to also deactivate the Screen.
EDIT 2: Changed "Lock Screen" to "Suspend", because this behaves as intended: It locks the session, deactivates the screen and then goes to sleep mode to save battery.

@marbetschar marbetschar changed the title Hot Corner: Add action "Lock screen" Hot Corner: Add action "Suspend" Jan 13, 2020
@marbetschar marbetschar changed the title Hot Corner: Add action "Suspend" Hot Corner: Add action "Lock & Suspend" Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants