[PR #1364] [MERGED] Add ironbar systemd service #4146

Closed
opened 2026-05-22 23:57:50 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/1364
Author: @puppymati
Created: 2/4/2026
Status: Merged
Merged: 2/4/2026
Merged by: @JakeStanger

Base: masterHead: feat/systemd-service


📝 Commits (1)

  • 1036ddc Add ironbar systemd service

📊 Changes

1 file changed (+8 additions, -0 deletions)

View changed files

ironbar.service (+8 -0)

📄 Description

Adds a systemd service for better integration on such systems. This allows restarting ironbar independently of the Wayland compositor.

For example, on my system:

systemctl --user add-wants niri.service ironbar.service

This starts ironbar with niri but also allows me to independently restart or stop it with:

systemctl --user restart ironbar.service  

Packagers can easily add support with:

install -Dm644 ironbar.service ${DESTDIR}${PREFIX}/lib/systemd/user/ironbar.service

Code has been adapted from piri and what I currently do on my system:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/1364 **Author:** [@puppymati](https://github.com/puppymati) **Created:** 2/4/2026 **Status:** ✅ Merged **Merged:** 2/4/2026 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `feat/systemd-service` --- ### 📝 Commits (1) - [`1036ddc`](https://github.com/JakeStanger/ironbar/commit/1036ddca367a1d9bc016ecd97721d5b63e9d7da0) Add ironbar systemd service ### 📊 Changes **1 file changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `ironbar.service` (+8 -0) </details> ### 📄 Description Adds a systemd service for better integration on such systems. This allows restarting ironbar independently of the Wayland compositor. For example, on my system: ``` systemctl --user add-wants niri.service ironbar.service ``` This starts ironbar with niri but also allows me to independently restart or stop it with: ``` systemctl --user restart ironbar.service ``` Packagers can easily add support with: ``` install -Dm644 ironbar.service ${DESTDIR}${PREFIX}/lib/systemd/user/ironbar.service ``` Code has been adapted from piri and what I currently do on my system: - https://github.com/morr0ne/piri/blob/main/resources/piri.service - https://github.com/morr0ne/piri/blob/main/justfile --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-22 23:57:50 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#4146
No description provided.