prikhi / lightdm-mini-greeter

A Minimal, Configurable, Single-User GTK3 LightDM Greeter
GNU General Public License v3.0
541 stars 48 forks source link

Add keybinding to cycle through xsessions #32

Closed prikhi closed 3 years ago

prikhi commented 6 years ago

Should (temporarily?) show the session we switch to.

How to enumerate available sessions & names?

shreve commented 5 years ago

~Looking at sddm, it seems like they're just looking at all the sessions available in /usr/share/xsessions. You can parse the names out of those .desktop files.~ LightDM provides lightdm_get_sessions()

I'm imagining a UI where you press the hotkey once to display the current val, then once visible, press again to cycle to the next available option.

prikhi commented 3 years ago

Fixed by 85e77d0685bd6cf13f3883da5b09d086f18979bc