- Updated dependencies in cargo.toml - Added wayland-sessions and xsessions support - Added better error handling for image and config loading - Added some example configs - Add FSL-1.1-MIT License Note: All unlicensed commits prior to this commit on 17.06.2026 are considered All Rights Reserved.
26 lines
1.7 KiB
TOML
26 lines
1.7 KiB
TOML
# Username in the username box at startup; can be left empty or removed
|
|
default_username = "canadian"
|
|
# Your Pexels API key can be found at https://www.pexels.com/api/key/; can be left empty or removed
|
|
pexels_api_key = "1234567890123456789012345678901234567890"
|
|
# Query to use for the Pexels search; can be left empty or removed
|
|
pexels_query = "slot canyon"
|
|
# How long to wait between new backgrounds; can be removed, will default to 30
|
|
background_delay = 30
|
|
# Directory to cache old background images; can be removed, will default to /var/cache/ckgreeter/
|
|
background_cache_directory = "/var/cache/ckgreeter/"
|
|
|
|
# Should this greeter find Wayland sessions via the /usr/share/wayland-sessions/ directory? can be removed, will default to true
|
|
find_wayland_sessions = true
|
|
# Should this greeter find X sessions via the /usr/share/xsessions/ directory? can be removed, will default to true
|
|
find_x_sessions = true
|
|
|
|
# If none of the configured environments below have `is_default` set, find a default from the xdg sessions by name. can be left empty or removed
|
|
# This is omitted in this config as the default has been set with the below environment
|
|
#default_by_name = "Plasma (Wayland)"
|
|
|
|
# Example environment configuration
|
|
[environments."Example (Wayland)"]
|
|
image_path = "/etc/ckgreeter/example.svg" # Images can be SVG, PNG, JPG; Can be removed, will default to an empty image
|
|
command = "/bin/true" # A greeter command, typically something like `dbus-run-session startplasma-wayland`
|
|
index = 0 # The index in the switcher; if unset or set to -1, will sort by environment name
|
|
is_default = true # Should this environment be selected by default, this can only be set in one environment; Can be removed, will default to false. |