[Greetd] Add autologin

This commit is contained in:
2025-09-12 12:26:47 +02:00
parent 64e671119d
commit a89ed00a17
2 changed files with 24 additions and 1 deletions

7
setup
View File

@@ -96,7 +96,12 @@ if [[ "$restart" == "y" ]]; then
=> Installing System Configs
"
sudo cp ./system/environment /etc/environment
sudo cp -r ./system/greetd/* /etc/greetd/
if [[ "$platform" == "d" ]]; then
sudo cp -r ./system/greetd/config.toml /etc/greetd/
else
sudo cp -r ./system/greetd/config-autologin.toml /etc/greetd/config.toml
fi
hyprctl reload
./scripts/restart-bar

View File

@@ -0,0 +1,18 @@
[terminal]
# The VT to run the greeter on. Can be "next", "current" or a number
# designating the VT.
vt = 1
# The default session, also known as the greeter.
[default_session]
command = "tuigreet --cmd Hyprland --time --remember --remember-user-session --asterisks --user-menu --sessions /usr/share/wayland-sessions"
# The user to run the command as. The privileges this user must have depends
# on the greeter. A graphical greeter may for example require the user to be
# in the `video` group.
user = "greeter"
[initial_session]
command = "Hyprland"
user = "janis"