diff --git a/setup b/setup index 7f9e34d..c26061b 100755 --- a/setup +++ b/setup @@ -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 diff --git a/system/greetd/config-autologin.toml b/system/greetd/config-autologin.toml new file mode 100644 index 0000000..6528c3d --- /dev/null +++ b/system/greetd/config-autologin.toml @@ -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"