Antergos / web-greeter

A modern, visually appealing greeter for LightDM.
http://antergos.github.io/web-greeter
GNU General Public License v3.0
233 stars 57 forks source link

Checking whether locked or logging in. #168

Closed ghost closed 6 years ago

ghost commented 6 years ago

Is it possible for me to check if the user is already logged in to a session.

This would be so I can hide a session picker when the user is only locking the screen, as you cannot change sessions regardless.

Thank you in advance for your help.

ghost commented 6 years ago

I have just discovered the 'lock_hint' variable in the documentation, I'm just blind.

Apologies!