diff --git a/nwg-panel.service b/nwg-panel.service new file mode 100644 index 0000000..5db9f3c --- /dev/null +++ b/nwg-panel.service @@ -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