'.config/systemd/user/hikari.service' hinzufügen
This commit is contained in:
parent
324885d568
commit
7b12747f59
1 changed files with 25 additions and 0 deletions
25
.config/systemd/user/hikari.service
Normal file
25
.config/systemd/user/hikari.service
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Hikari compositor session
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
|
||||||
|
Environment="XDG_SESSION_ID=18"
|
||||||
|
Environment="XDG_CURRENT_DESKTOP=hikari"
|
||||||
|
|
||||||
|
ExecStart=/usr/local/bin/hikari
|
||||||
|
|
||||||
|
ExecStartPost=%h/.config/systemd/user/hikari-for-wayland-display.sh
|
||||||
|
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=2
|
||||||
|
TimeoutStopSec=30
|
||||||
|
NotifyAccess=all
|
||||||
|
|
||||||
|
ExecStopPost=/usr/bin/systemctl --user unset-environment DISPLAY WAYLAND_DISPLAY
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue