aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/services/ServicesModule.qml
AgeCommit message (Collapse)AuthorFilesLines
15 hoursfix(services): Restart of an -f daemon now starts it againHEADmasterDanilo M.1-4/+7
The autostart line went to the sh -c as an argument, and it holds the daemon's name in plain text, so pkill -f matched that sh and killed it before it reached the start: Stop worked, Restart only stopped, for the assistant, cal-notif, tv-mpris, the mail scripts and cliphist. The line now goes in the environment, which pgrep -f does not search. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18fix(services): give the Services tile its iconDanilo M.1-2/+2
The glyph was lost when the file was written, leaving an empty icon. It is nf-fa-cogs now, written as a \u escape so an edit cannot drop it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18feat(services): one drawer page to start, stop and restart servicesDanilo M.1-0/+135
Running things is a runtime operation, so it belongs in the drawer, not the settings window. The drawer's deck-it tile and keystone's Shells page become one Services tile: every quickshell shell, deck-it, and the desktop's long-running daemons (desktop-assistant, cal-notif, tv-mpris, mail-watcher, mail-notify, hypridle, hyprsunset, the polkit agent, notifyd, playerctld, conky and cliphist's watcher), each with Start, Stop and Restart. A daemon's start command is its enabled autostart.lua line, run through hyprctl dispatch hl.dsp.exec_cmd as Autostart's Try does, so conky keeps its workspace rule and no command is copied out of autostart.lua. Services.js holds only the label, the piece of the line that finds it and the pgrep/pkill arguments. Stop waits up to 5s for the process to exit, which hyprsunset needs to free Hyprland's CTM manager. -f patterns bracket a letter so pgrep and pkill never match the sh that runs them. Checked: test_services.js; the pgrep list reports all twelve daemons running; a playerctld restart through the same command came back under a new pid. QML's JS engine has no Array.flatMap, hence the concat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>