Dotfiles/desktopenvs/hyprlua/greetd-regreet/regreet.toml

53 lines
2.1 KiB
TOML

# regreet.toml — hyprlua's plain CyberQueer ReGreet greeter for greetd
# (Wayland-native)
#
# Deployed to /etc/greetd/regreet.toml by
# setup/modules/optional-Modules/apps/greetd-regreet.sh, which picks THIS file
# (vs. desktopenvs/hyprdrive/greetd-regreet/regreet.toml's "Cosmonaut Shell"
# skin) based on which desktop environment is active on the machine — see
# that script and sysupdate.sh's _deploy_greetd() for the resolution logic.
#
# The look is applied by /etc/greetd/regreet.css (loaded via `regreet -s` at
# APPLICATION priority, above the base theme). That stylesheet is the
# greeter's own self-contained CyberQueer skin — we do NOT reuse the desktop
# `cyberqueer` GTK theme, whose `* { all: unset }` reset is tuned for
# waybar/eww/Thunar and would strip a login card's layout. `theme_name` below
# is therefore just a clean, predictable widget base (Adwaita-dark) for the
# CSS to paint on. Being a wlroots/Wayland greeter, ReGreet drives every
# monitor natively (no blank outputs) and hands input straight to the Wayland
# session with no Xorg→Wayland VT handover.
# Remember the last user + session and skip the pickers.
skip_selection = false
[background]
# Tracks the user's current desktop wallpaper: the picker writes
# ~/.config/hypr/usr/wallpaper.conf and the lightdm-greeter-wallpaper.path unit
# copies the chosen image here (a path the unprivileged greeter can read).
path = "/usr/share/backgrounds/lightdm-greeter-bg.png"
fit = "Cover"
[GTK]
application_prefer_dark_theme = true
cursor_theme_name = "Adwaita"
cursor_blink = true
# Bumped well above the 11pt the old greeter used, so the greeter reads large on
# the 4K panel. Tune here (or via GDK_SCALE in regreet-session.sh) to taste.
font_name = "Agave Nerd Font Mono 15"
icon_theme_name = "Adwaita"
# Clean base for regreet.css to paint on (see header). The CyberQueer colours
# live in /etc/greetd/regreet.css, not in this theme.
theme_name = "Adwaita"
[commands]
reboot = ["systemctl", "reboot"]
poweroff = ["systemctl", "poweroff"]
[appearance]
greeting_msg = "Sign in"
[widget.clock]
format = "%H:%M"
resolution = "1s"
label_width = 150