nix-config/modules/regreet/regreet.toml

64 lines
1.8 KiB
TOML
Raw Normal View History

2025-03-28 19:43:06 +01:00
# SPDX-FileCopyrightText: 2022 Harish Rajagopal <harish.rajagopals@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
[background]
# Path to the background image
2025-04-01 13:15:41 +02:00
path = "/etc/greetd/background.png"
2025-03-28 19:43:06 +01:00
# How the background image covers the screen if the aspect ratio doesn't match
# Available values: "Fill", "Contain", "Cover", "ScaleDown"
# Refer to: https://docs.gtk.org/gtk4/enum.ContentFit.html
# NOTE: This is ignored if ReGreet isn't compiled with GTK v4.8 support.
fit = "Fill"
# The entries defined in this section will be passed to the session as environment variables when it is started
2025-04-01 13:15:41 +02:00
[env]
SESSION_DIRS = "$HOME/.wayland-session"
2025-03-28 19:43:06 +01:00
2025-04-04 11:16:43 +02:00
#[GTK]
2025-03-28 19:43:06 +01:00
# Whether to use the dark theme
2025-04-04 11:16:43 +02:00
#application_prefer_dark_theme = true
2025-03-28 19:43:06 +01:00
# Cursor theme name
2025-04-04 11:16:43 +02:00
#cursor_theme_name = "Adwaita"
2025-03-28 19:43:06 +01:00
# Font name and size
2025-04-04 11:16:43 +02:00
#font_name = "FiraCodeNerdFontPropo 12"
2025-03-28 19:43:06 +01:00
# Icon theme name
2025-04-04 11:16:43 +02:00
#icon_theme_name = "materialdesignicons"
2025-03-28 19:43:06 +01:00
# GTK theme name
2025-04-04 11:16:43 +02:00
#theme_name = "Adwaita"
2025-03-28 19:43:06 +01:00
[commands]
# The command used to reboot the system
reboot = ["systemctl", "reboot"]
# The command used to shut down the system
poweroff = ["systemctl", "poweroff"]
# The command prefix for X11 sessions to start the X server
x11_prefix = [ "startx", "/usr/bin/env" ]
[appearance]
# The message that initially displays on startup
2025-04-01 13:15:41 +02:00
greeting_msg = "Welcome"
2025-03-28 19:43:06 +01:00
[widget.clock]
# strftime format argument
# See https://docs.rs/jiff/0.1.14/jiff/fmt/strtime/index.html#conversion-specifications
2025-04-01 01:37:47 +02:00
format = "%A %T"
2025-03-28 19:43:06 +01:00
# How often to update the text
resolution = "500ms"
# Override system timezone (IANA Time Zone Database name, aka /etc/zoneinfo path)
# Remove to use the system time zone.
2025-04-01 01:37:47 +02:00
timezone = "Europe/Berlin"
2025-03-28 19:43:06 +01:00
# Ask GTK to make the label at least this wide. This helps keeps the parent element layout and width consistent.
# Experiment with different widths, the interpretation of this value is entirely up to GTK.
label_width = 150