extend documentation
This commit is contained in:
@@ -123,7 +123,7 @@ You can now start hyprland with `uwsm start hyprland.desktop`.
|
||||
|
||||
## Automatic Configuration
|
||||
|
||||
A lot of the paage installation and configuration in the `$HOME` and `$HOME/.config` folders can be automated
|
||||
A lot of the package installation and configuration in the `$HOME` and `$HOME/.config` folders can be automated
|
||||
with `chezmoi`.
|
||||
|
||||
1. Make sure that `chezmoi` is installed on the system with `pacman -S chezmoi`.
|
||||
@@ -154,6 +154,27 @@ ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin <username> %I $T
|
||||
After the automatic login of the user, Hyprland will be started on TTY1 by the `uwsm` commands
|
||||
in the `~/.bash_profile` file. On other TTYs, Hyprland will not be started automatically.
|
||||
|
||||
## Prevent Action When Laptop Lid is Closed
|
||||
|
||||
In some situations it might be useful to prevent all actions when the laptop lid is closed (or is being closed).
|
||||
Usually systemd will go to sleep mode when the lid is closed on no other idle inhibitors are present (e.g. keyboards,
|
||||
external monitors etc.).
|
||||
|
||||
If this works correctly it is fine, but it is buggy on some systems. If you notice symptoms like these
|
||||
|
||||
- The laptop goes into sleep immediately after booting and before the dock and external monitors are online
|
||||
- The laptop goes into sleep when monitors turn off (e.g. due to dpms)
|
||||
- The laptop goes into sleep although it is connected to a dock (dock detection is not reliable)
|
||||
|
||||
You can disdable the auto-suspend in `/etc/systemd/logind.conf`
|
||||
|
||||
```ini
|
||||
[Login]
|
||||
HandleLidSwitch=ignore
|
||||
HandleLidSwitchExternalPower=ignore
|
||||
HandleLidSwitchDocked=ignore
|
||||
```
|
||||
|
||||
## Create Default User Directories
|
||||
|
||||
Execute the command `xdg-user-dirs-update` to create or update the default user directories.
|
||||
|
||||
Reference in New Issue
Block a user