Repository navigation
SELFshell 0.12.0
Added
- Process timeouts — hung background processes no longer wedge the shell forever: Genshin sync (45s),
powerprofilesctlget/set (15s, queued concurrentsetruns after the current one instead of being dropped), pacman update check (8min QML-side). Cava retries slowly (60s) after 5 fast crashes instead of dying silently. - kcd action feedback — Ping/Ring/Share/Clipboard/SFTP failures show an inline error in the phone popup instead of
console.warnonly; buttons ignore clicks while their process runs. Rejecting a pairing now trieskcd unpairbest-effort instead of leaving the phone hanging until the 30s daemon timeout. - Installer hardening —
set -E(ERR trap fires in helpers),fakerootin deps (doctor already required it),mktemp -dyay build dir,chmod 600fresh.env, backups of/etc/greetd/config.toml+ cursorindex.theme, marker-guarded fish uwsm block,--noskips service enable. - Script robustness —
update-palette.sh/update-wallpaper-only.shserialize via lockdir + atomiccurrent.*writes;pacman_upgrade.shatomic sentinel;update-palette.pyflockedfoot.iniappend;genshin_stats.pypid-unique tmp;pacman_updates.pyforcedLC_ALL=C+ comma decimals + one enrich retry;tracklist.pyexact player-name match + count-mismatch diagnostics + stderr on failure;sysinfo.pyPackage/Tctl label priority +MemAvailablefallback;selfshellcurl retry, reload lock, fixed Hyprland version compare and\r-proof downgrade guard. - Tests/CI — new
test_tracklist.py(stubbed dbus),visual_test.luawired intorun.sh+ CI,py_compile/bash -n/shellcheckcover all scripts, stdlib python tests run even withoutrequests/dotenv.check_config_schema.pynow guardsbinds.jsonaction ids,visual.jsonkeys and AppConfig adapter/defaultCfg parity (BindsSection/binds.lua/docs, hyprDefaults/Lua/docs and adapter/defaultCfg must match).
Changed
- Lock is lock-only —
qs ipc call lockscreen toggle/selfshell toggle-lockno longer unlock without a password (any user process could drop the lock); unlock is PAM-only. SUPER+L still locks; docs/CLI help updated. - Settings sliders debounce writes —
onMovedgoes throughAppConfig.saveSoon()(400ms) instead of an atomicwriteAdapter()per tick. - MPRIS position timer gated on visibility — no more 1s
positionChanged()all day while music plays with the popup closed. - TrackList metadata capped at 200 — huge playlists no longer risk
ARG_MAX/hungmetaProcfor 10 visible rows. - EQ config no longer rewritten every start — identical content skips the write (and the PipeWire restart); missing sink restarts PipeWire at most 3× with an error instead of flapping forever.
- DPMS commands serialized — a pending on/off change flushes after the running one instead of being lost on idle-bounce.
- kcd icon allowlist — absolute phone-provided icon paths outside kcd dirs/
~/.cache/kcdfall back to theme lookup (service + bar second line). - kcd Clear clears dedup state — same text can notify again after Clear instead of being suppressed until cancel/TTL.
- AppConfig/PaletteService declare
watchChanges: false— matches the documented UAF workaround (was comment-only). - AppConfig adapter default gains
selftrack— fresh clones and Reset give the same bar (defaultCfgalready had it). - Fresh-install defaults follow the live setup — shipped
data/config.json(Black theme, current widget orders and opacity), blackpalette.json, andinstall.shseedscurrent.png/current-lock.jpgfromblack.png, so a fresh install boots straight into the Black theme with wallpaper set. - Pool drop removes the widget from pill orders — dragging a widget to the pool disabled it but left a dead slot in
*Order; now the name is removed (like separators), since the drop index always decides the position on re-enable. Shipped orders contain enabled widgets only.
Fixed
-
Brightness jumps to intermediate values on slow DDC — the 15-unit sub-stepping sent ~6 transactions per 100→10 drag while polls picked up the intermediate hardware states, so the slider snapped back to 90/85. Now optimistic display plus a single coalesced write per drag pause (stale poll responses are dropped while a write is pending).
-
Control Center probes reverted to startup behavior — the lazy warmup + poll reshaping caused hyprsunset resets and sluggish brightness on real hardware.
ControlPopupandReadingTempSectionare back to the pre-audit behavior (probes at shell startup); the ddcutil slowness (~3s per transaction on this bus) is a hardware/driver property, not something the shell can fix by rescheduling. -
Keybind popups failed from a cold start —
AnimatedPopupused the xdg keyboard grab (grabFocus: true), which needs an input serial from the parent window: IPC-driven opens (SUPER+R/S/Escape/...) silently failed until the bar was clicked once (Failed to create grabbing popupin the log). NowgrabFocus: false+HyprlandFocusGrab(explicit compositor grab, no serial needed): keybind opens work immediately, outside clicks still dismiss with animation, keyboard focus in popups is kept. -
qs-bt-agent crash in error handler — missing
import systurned every agent-registration failure into a traceback loop; non-numeric PIN/passkey input is now rejected immediately instead of hanging until the 55s timeout;DisplayPasskey/PinCodeno longer clobbers an active confirm request. -
Cava restart guard — the 2s restart timer re-checks
monitorEnabled && activeso cava no longer starts hidden and burns CPU. -
Genshin state race — see Added (pid-unique tmp);
syncTimeoutstops on exit. -
Docs drift —
toggle-locksemantics,qs-bt-agentinstall path, white removal,TROUBLESHOOTINGgains half-applied palette / offline updates / uwsm duplicate / stalecurrent.*sections. -
Player sliders hard to grab — the volume (84×4px) and progress (full-width×6px) tracks in the player popup had hit areas exactly the size of the visuals. Both now sit in taller transparent wrappers (22px/20px, same width/origin, visuals pixel-identical) so mouse coordinates and drag logic are unchanged; volume additionally gets mouse-wheel support (
audioStepfrom Behavior settings, like the bar) and a pointer cursor. No wheel on progress by design (an accidental scroll would seek the track). -
kcd open-allowlist vs custom paths —
KdeConnectPopup._safeOpenPathonly allowed~/Downloads/kcd/, so with a customsftp.mount_dir(e.g.~/kcd) clicking the mount row silently did nothing. The allowlist is now built from the localkcd.toml:download_dirsubtree +sftp.mount_diritself/subtree (both service-parsed, never from phone payload); strict prefix +..rejection kept. -
kcd pair timeout vs daemon — service held
pendingPairRequest65s while the daemon kills the request at[pairing] timeout_secs(30s): a late Accept would send a new outbound request on kcd 1.18+ instead of accepting. Timeout cut to 35s (30s + click grace). -
Connection settings vs auto-hide — opening a network's IPv4/DNS settings hides the manager popup, so with auto-hide on the bar slid away behind the settings window after 400ms.
NetworkPopupnow exposessettingsVisible, counted inBar._anyPopupOpen(). -
Cava crash cap actually caps — the restart counter was reset on every start, so a broken cava looped every 2s forever; it now resets only after 30s of stable uptime, then the 5-fast-crashes → 60s-retry path works as documented.
-
Upgrade timeout keeps ownership — the 30-minute timeout cleared
upgradingwhile kitty was still working, allowing a second upgrade on top; now a live process keeps the state (overtime notice in Settings → System) and only a dead one clears it. -
Black wallpaper ships with the repo —
wp/black.pngis tracked instead of relying on a local file, so the Black theme applies palette + wallpaper on fresh clones.
Security
- Stale PAM guard — a PAM reply started before a re-lock can no longer drop the new lock: completions carry the lock generation and mismatches are ignored.
Removed
- kcd Devices section — the popup's manual device list (Refresh/Pair/Unpair/Connect by IP) is gone: pairing is phone-initiated only, the popup reacts to
pair.requested. Terminal flow (kcd pair,kcd connect) unchanged, see TROUBLESHOOTING.