mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-25 22:15:59 +01:00
Add mention about possibility to start hypridle, hyprpaper and hyprpolkit with systemd services (#842)
This commit is contained in:
parent
4b9e1dae5c
commit
fd823b8a0d
3 changed files with 5 additions and 3 deletions
|
@ -9,7 +9,7 @@ hypridle is Hyprland's idle management daemon.
|
||||||
|
|
||||||
Configuration is done via the config file at `~/.config/hypr/hypridle.conf`. A
|
Configuration is done via the config file at `~/.config/hypr/hypridle.conf`. A
|
||||||
config file is required; hypridle won't run without one. To run hypridle at
|
config file is required; hypridle won't run without one. To run hypridle at
|
||||||
startup, edit `hyprland.conf` and add: `exec-once = hypridle`.
|
startup, edit `hyprland.conf` and add: `exec-once = hypridle`. If Hyprland is started as a systemd service, you can use `systemctl --user enable --now hypridle.service`.
|
||||||
|
|
||||||
### General
|
### General
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ preload another and set it to your monitor(s). It has the same syntax as
|
||||||
### Run at startup
|
### Run at startup
|
||||||
|
|
||||||
To run hyprpaper at startup edit `hyprland.conf` and add: `exec-once =
|
To run hyprpaper at startup edit `hyprland.conf` and add: `exec-once =
|
||||||
hyprpaper`.
|
hyprpaper`. If you start Hyprland as a systemd service, you can also use `systemctl --user enable --now hyprpaper.service` command.
|
||||||
|
|
||||||
### Misc options
|
### Misc options
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,8 @@ or use a different agent, e.g. [KDE's one](https://github.com/KDE/polkit-kde-age
|
||||||
Add `exec-once = systemctl --user start hyprpolkitagent` to your Hyprland config and restart hyprland.
|
Add `exec-once = systemctl --user start hyprpolkitagent` to your Hyprland config and restart hyprland.
|
||||||
(obviously change that to whatever you are using if you are not using the hypr one)
|
(obviously change that to whatever you are using if you are not using the hypr one)
|
||||||
|
|
||||||
|
If Hyprland is started as a systemd service, you can autostart for polkit with the command `systemctl --user enable --now hyprpolkitagent.service`.
|
||||||
|
|
||||||
On distributions that use a different init system, such as Gentoo, it may be
|
On distributions that use a different init system, such as Gentoo, it may be
|
||||||
necessary to use
|
necessary to use
|
||||||
`exec-once=/usr/lib64/libexec/hyprpolkitagent` instead.
|
`exec-once=/usr/lib64/libexec/hyprpolkitagent` instead.
|
||||||
|
|
Loading…
Reference in a new issue