diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index 1709fe7..8ed6ea2 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -435,3 +435,21 @@ This is a side effect of the [decoration:blur:new_optimizations](../Configuring/ You have two options to resolve it. 1. Set `decoration:blur:new_optimizations` to `false` - This will preserve the exact same appearance, but may have a slight performance cost. 2. Set `decoration:blur:ignore_opacity` to `false` - This will drastically affect the appearance, but should maintain the original performance. + +### How can I use Hyprlock as a login screen I start my computer? + +To use a unified/single login screen you have to configure your display manager to auto login and run Hyprlock on startup. For [SDDM+KDE to auto login](https://wiki.archlinux.org/title/SDDM#Autologin) (also possible with (greetd)[https://wiki.archlinux.org/title/Greetd#Enabling_autologin]) you have to add this to `/etc/sddm.config.d/kde_settings.conf`: + +```ini +[Autologin] +Session=hyprland +User=MY_USERNAME +``` + +> run `whoami` and replace the output with MY_USERNAME + +Add this to `~/.config/hypr/hyprland.conf`: + +```ini +exec-once=hyprlock || hyprctl dispatch exit +``` \ No newline at end of file