|
The drawer pages divided their sections with subtext-coloured titles at
fontSize - 2 and 1px lines at 0.12 alpha, and the sections ran together.
desktop/SectionHeader.qml is the one title now: an accent glyph, a bold
label one size up, and a divider at 0.3 with space above it, off for a
page's first section. Children sit on the right, anchored to the bottom
where the label is, so the Bluetooth and Wi-Fi switches and the sound
level/mute control ride in the header.
Sound, Bluetooth, Mail, Services and AI use it. Mail had no titles:
the unread total moves into an Accounts header, and its first divider
becomes a Watcher header. Services drops its import of ../qtmaildir,
which was only there for Heading; Heading stays as the settings
window's title and is untouched.
Every glyph was checked in Inconsolata Nerd Font's cmap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
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>
|