Commit Graph

5 Commits

Author SHA1 Message Date
611e3b8dd0 Use constants in settings rather than hard-coded strings 2022-05-23 20:33:14 -07:00
8eb8dfac2e Refactor a bit and add backlight brightness keys handling
This will only work if the video driver supports the xrandr backlight
property.  It's possible only Intel does this...
2022-05-23 20:27:59 -07:00
dda1a53856 Make the new login button stuff more automatic
By default it'll look at your environment to try to figure out which
display manager is used in order to start a new session.  We first try
the org.freedesktop.DisplayManager dbus interface, and if that fails,
inspect XDG_SESSION_DESKTOP to try to figure out which display manager
is running.

The user can also still specify the correct display manager, or a custom
command.
2022-05-15 20:50:45 -07:00
6420278f71 Add simple (if ugly) settings dialog 2022-05-05 01:14:53 -07:00
fcb997bfb3 Move config parsing to util crate 2022-05-04 16:15:39 -07:00