diff --git a/bscreensaver.toml.example b/bscreensaver.toml.example index 5c05fcc..41b5941 100644 --- a/bscreensaver.toml.example +++ b/bscreensaver.toml.example @@ -10,14 +10,29 @@ # Lock the screen after this amount of time of no user activity lock-timeout = "10m" + # Blank the screen this amount of time before locking (must be less # than 'lock-timeout') blank-before-locking = "1m" + # Backend to use for the unlock dialog. Current options: 'gtk3' dialog-backend = "gtk3" -# Adds a 'New Login' button to the unlock dialog that will run the -# specified command when clicked -new-login-command = "dm-tool switch-to-greeter" + +# Determines the behavior of the "New Login" button in the unlock +# dialog. Valid values are: +# +# auto: automatically tries to figure out what to do +# dbus: uses the org.freedesktop.DisplayManager.Seat interface +# gdm: runs a GNOME Display Manager-specific command +# kdm: runs a KDE Display Manager-specific command +# lightdm: runs a LightDM-specific command +# lxdm: runs a LXDE Display Manager-specific command +# disabled: don't show the "New Login" button +# +# In addition to the above values, you can also set this to an array of +# strings, which will be interpreted as a custom command to run. +new-login-command = "auto" + # Whether or not to attempt to raise and lower the screen brightness # when the brightness keys are pressed handle-brightness-keys = false