build: add systemd services - #990
Open
LaserEyess wants to merge 1 commit into
Open
Conversation
LaserEyess
force-pushed
the
systemd-services
branch
2 times, most recently
from
August 24, 2026 15:07
77df6be to
ad0bb71
Compare
|
I'm not a dev but a quick thing I noticed is that the unit description lines should include "Quickshell" because systemd uses the description as a replacement for the name for things like journal logs. From the systemd.unit.5 man page
|
Three convenience services 1. Default configuration location 2. Default configuration path, with -c flag for modifying config location 3. Modified configuration path Co-Authored-By: Axel Forsman <axel@axelf.se>
LaserEyess
force-pushed
the
systemd-services
branch
from
August 25, 2026 00:04
ad0bb71 to
27e6307
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a modification to #159 addressing the primary concern of being able to use multiple configuration files.
${XDG_CONFIG_HOME}/quickshell/shell.qmlthequickshell.servicefile is enough${XDG_CONFIG_HOME}/quickshellyou can usequickshell@.servicewhich will pass the indentifier toquickshell -cquickshell-path@.servicewhich will (when properly escaped!) setquickshell -pto the absolute config of your choice.The motivation behind this is simple: systemd lets you place quickshell in the session slice, which gives it special privileges against other processes running in your user session. In particular, it will shield quickshell against being considered for OOM killing (with systemd-oomd) as well as give it preferential CPU time when the system is slowed down by something else.
If any of this should be documented anywhere I'd be happy to do that as part of this PR, please let me know where you'd like that. I also considered deduplicating the services themselves and using
configure_filemore judiciously.