Skip to content

Commit

Permalink
Add mention about possibility to start hypridle, hyprpaper and hyprpo…
Browse files Browse the repository at this point in the history
…lkit with systemd services (#842)
  • Loading branch information
izmyname authored Nov 4, 2024
1 parent 4b9e1da commit fd823b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/Hypr Ecosystem/hypridle.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ hypridle is Hyprland's idle management daemon.

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
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

Expand Down
2 changes: 1 addition & 1 deletion pages/Hypr Ecosystem/hyprpaper.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ preload another and set it to your monitor(s). It has the same syntax as
### Run at startup

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

Expand Down
4 changes: 3 additions & 1 deletion pages/Hypr Ecosystem/hyprpolkitagent.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ 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.
(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
necessary to use
`exec-once=/usr/lib64/libexec/hyprpolkitagent` instead.

Other possible paths include
`/usr/lib/hyprpolkitagent` and
`/usr/libexec/hyprpolkitagent`.
`/usr/libexec/hyprpolkitagent`.

0 comments on commit fd823b8

Please sign in to comment.