Skip to content

Instantly share code, notes, and snippets.

@kode54
Created May 18, 2024 10:13
Show Gist options
  • Save kode54/6a2a2afc804866bd3a59653a9953a05e to your computer and use it in GitHub Desktop.
Save kode54/6a2a2afc804866bd3a59653a9953a05e to your computer and use it in GitHub Desktop.
Wayfire wf-shell service for wf-panel
[Unit]
Description=Wayfire Panel service
Documentation=https://github.com/WayfireWM/wf-shell/wiki
# order startup after WM
After=graphical-session.target
[Service]
ExecStart=/usr/bin/wf-panel
ExecReload=kill -SIGUSR2 $MAINPID
Restart=on-failure
Slice=app-graphical.slice
[Install]
# Get started via specific WMs
WantedBy=wayland-wm@wayfire.service
WantedBy=wayland-wm@wayfire.desktop.service
@kode54
Copy link
Author

kode54 commented May 18, 2024

Install to /etc/systemd/user, or perhaps /usr/lib/systemd/user if you're packaging it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment