repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

chore(quickshell): place service in session ui slice

3706761aa6624a06948d045e9a4c223447a58633

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (2)

docs/super/inventory/2026-06-17-quickshell-service-slice-verification.md

Added
new file mode 100644
1 +# Quickshell Service Slice Verification — 2026-06-17
3 +## Scope
5 +Adjusted the tracked future Quickshell user service before it is live. This does not link, enable, or start `quickshell.service`.
7 +## Change
9 +`hypr/systemd/quickshell.service` now uses:
11 +```ini
12 +Slice=session-graphical.slice
13 +```
15 +instead of generic `session.slice`.
17 +Reason: Quickshell will own interactive desktop companion surfaces, so it belongs with latency-sensitive session UI helpers and the existing dorkfiles `session-graphical.slice` resource policy:
19 +```ini
20 +[Slice]
21 +CPUWeight=1000
22 +IOWeight=1000
23 +MemoryLow=768M
24 +```
26 +The unit includes a comment documenting this decision.
28 +## Verification
30 +```sh
31 +cd hypr
32 +systemd-analyze --user verify systemd/quickshell.service
33 +```
35 +Result:
37 +```text
38 +verify_exit=0
39 +```
41 +Live boundary remains unchanged:
43 +```text
44 +ironbar.service active
45 +ironbar-workspaces.service active
46 +mako.service active
47 +quickshell.service inactive/not-found
48 +pgrep -a qs: empty
49 +```
51 +## Still open
53 +The live home links are still absent until explicit dorkfiles link/setup approval:
55 +- `~/.config/quickshell/nugu`
56 +- `~/.config/systemd/user/quickshell.service`
58 +Do not enable/start the service until those links exist and the user approves live activation.

hypr/systemd/quickshell.service

Modified
8 8 ExecStart=/usr/bin/qs -c nugu
9 9 Restart=on-failure
10 10 RestartSec=2
11 -Slice=session.slice
11 +# The shell owns interactive desktop surfaces, so keep it with session UI
12 +# helpers instead of generic session.slice background accounting.
13 +Slice=session-graphical.slice
13 15 [Install]
14 16 WantedBy=graphical-session.target