mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-25 05:55:59 +01:00
docs: hyprlock as login screen
This commit is contained in:
parent
ad67df8000
commit
d861bf146e
1 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
```
|
Loading…
Reference in a new issue