Merge pull request #115 from jtheoof/systemd-service

add systemd service
This commit is contained in:
Piotr Miller
2022-05-29 13:59:38 +02:00
committed by GitHub

13
nwg-panel.service Normal file
View File

@@ -0,0 +1,13 @@
[Unit]
Description=GTK3-based panel for sway window manager
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=simple
ExecCondition=/bin/sh -c '[ -n "$WAYLAND_DISPLAY" ]'
ExecStart=/usr/bin/nwg-panel
Restart=always
[Install]
WantedBy=graphical-session.target