feat(sddm,greetd): replace sddm with greetd regreet greeter

This commit is contained in:
2025-05-16 01:02:39 +02:00
parent 9732e4f9ff
commit 397783795d
25 changed files with 115 additions and 801 deletions

View File

@@ -0,0 +1,10 @@
[terminal]
# The VT to run the greeter on. Can be "next", "current" or a number
# designating the VT.
vt = current
# The default session, also known as the greeter.
[default_session]
command = "Hyprland --config /etc/greetd/hyprland.conf"
user = "greetd"

View File

@@ -0,0 +1,9 @@
exec-once = regreet; hyprctl dispatch exit
input {
kb_layout = hu
}
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
disable_hyprland_qtutils_check = true
}

View File

@@ -0,0 +1,69 @@
# SPDX-FileCopyrightText: 2022 Harish Rajagopal <harish.rajagopals@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
[background]
# Path to the background image
path = "/etc/greetd/eKxlw8.jpg"
# 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 = "Cover"
# The entries defined in this section will be passed to the session as environment variables when it is started
[env]
XDG_SESSION_TYPE = "wayland"
XDG_SESSION_DESKTOP = "Hyprland"
XDG_CURRENT_DESKTOP = "Hyprland"
QT_QPA_PLATFORM = "wayland"
SDL_VIDEODRIVER = "wayland"
_JAVA_AWT_WM_NONREPARENTING = "1"
[GTK]
# Whether to use the dark theme
application_prefer_dark_theme = true
# Cursor theme name
cursor_theme_name = "Adwaita"
# Font name and size
font_name = "Roboto 12"
# Icon theme name
icon_theme_name = "Adwaita"
# GTK theme name
theme_name = "adw-gtk3-dark"
[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
greeting_msg = "CQ DE HA5PLS"
[widget.clock]
# strftime format argument
# See https://docs.rs/jiff/0.1.14/jiff/fmt/strtime/index.html#conversion-specifications
format = "%A %H:%M"
# 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.
timezone = "Europe/Budapest"
# 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