openflighthpc / flight-desktop

Manage interactive GUI desktop sessions
Eclipse Public License 2.0
0 stars 2 forks source link

Available geometries output #50

Closed VoxSecundus closed 2 years ago

VoxSecundus commented 2 years ago

This PR updates the output of flight show SESSION for non-TTY sessions to include the list of available geometries for that session.

There has also been an update to the Session#available_geometries method to include a concluding sort call. Previously, the list was out of order, with the session's current geometry at the top of the list. Now the list is in the same order regardless of what the current setting is. Please note that this doesn't affect the Session#geometry method, which relies on the output of Session#xrandr being out of order to fetch the current geometry.