Repository navigation
SELFshell 0.10.0
Added
-
Scrolling layout option —
hypr/modules/general.luascrollingsection (column_width,direction,focus_fit_method,follow_focus,follow_min_visible,fullscreen_on_one_columnfrom newscroll_*visual.jsonkeys, wiki defaults); Settings → Hyprland → Windows gainsScrollingin the Layout picker plus a conditional options block (master-style);docs/CONFIG_FORMAT.mddocuments the keys (wrap_*/explicit_column_widthsstay Hyprland-default, JSON-only). -
selftrack installer integration (optional) —
install.shstep 4.7:cargo install --locked --git SELFtrack(installsrustfirst if nocargo), writesselftrack-daemon.serviceuser unit (only if missing, custom flags preserved) and enables it;selfshell doctorgainsTime tracking (optional, selftrack)section +selftrack-daemoninservices; README dependency rows. -
SelfTrack time-tracking widget — bar widget + centered popup for the external
selftracktime tracker (selftrack export --date/--appJSON):monitors/SelfTrackMonitor.qml(60s poll, lazy page loading, widget counter decoupled from popup date) →widgets/SelfTrackWidget.qml(today active time,selftrackEnabled,centerOrder) →popups/SelfTrackPopup.qml(day navigation, day/idle/week/month summary, 00–24 timeline strip with hover details, app list with bars, expandable pages, content-sized height, resets to today on close) +scripts/SelfTrack.js(duration formatting, app colors, title cleanup).Bar.qmlselftrackComp/SelfTrackPopup/IpcHandler selftrack toggle(qs ipc call selftrack toggle),core/AppConfig.qmlselftrackEnabled,popups/settings/BarSection.qmldisplay name. Icons via sharedIconResolver(letter fallback, noimage://iconchecker). -
SelfTrack timeline zoom —
popups/SelfTrackPopup.qmlmap-like dynamic zoom: wheel zooms 24h→1min around the cursor, drag-to-pan (grab cursor, click-vs-drag threshold), click jumps into an hour / recenters when zoomed, live range label, adaptive ticks down to seconds; single unified track handler, no buttons. -
SelfTrack week/month show active time —
monitors/SelfTrackMonitor.qmlreadsactive_msinstead ofpc_on_ms(andtui.rsweek/month lines likewise): no total is inflated by idle anymore, idle stays a day-level-only row. -
SelfTrack position-based timeline hover —
popups/SelfTrackPopup.qmlhoverAt(x)finds the session under the cursor in data (shortest of overlapping wins, gaps report— no data —) instead of hovering 2px rectangles buried under neighbours; single topMouseAreawithNoButtonclick-through. -
SelfTrack refresh spinner —
monitors/SelfTrackMonitor.qmlvisible updates clearloadingno earlier than 700ms after start (local export is ~50ms and the icon only twitched); silent background polls still clear instantly. -
IconResolver cache —
core/IconResolver.qml:8property var _cache+_resolveUncached+ LRU trim 200→100,clearCache(); 6×Quickshell.iconPathperresolve()тепер кешується дляRepeaterтрею/лаунчера.
Changed
- PillBar model —
core/PillBar.qml:60filter()що перестворювавLoaderи кожну змінуcfg.*Enabled→model: orderModel+visible: _shouldShow; без thrash, асинхронніLoaderи лишаються живими. - Bar auto-hide robustness —
Bar.qml:107ручний||19 попапів централізовано у_anyPopupOpen(); новий попап додається в одне місце;anyPopupOpenStateтепер вираховується централізовано. - CavaMonitor restart —
monitors/CavaMonitor.qml:73_updateRunning()скидає_restartsпісля 5 фейлів при re-enable; player-searchTimer 2000gatedvisible(widgets/MprisWidget.qml:65,popups/MprisPopup.qml:186→running: root.visible). - Shell sleep/suspend —
shell.qml:93,102dbus-monitor | grepчерезsh -c→SplitParserпрямийdbus-monitor --system(черезsystemd-inhibit);onSuspendRequested→suspendDelay 400ms(shell.qml:62) перед/usr/bin/systemctl suspendщобWlSessionLockвстиг закомітитись. - KdeConnectService lifecycle —
services/KdeConnectService.qml:99,104TTL 24hTimer 3600sдля_notifSeen+ ліміт 500,pendingPairRequestтаймаут 65s (:40).
Fixed
- IconResolver binding loops —
resolve()reads and writes_cache, so QML bindings calling it re-trigger themselves (Binding loop detectedspam). Converted to imperative resolution (pure name binding + resolve on change/completed):popups/audio/ConfigCard.qml,DeviceCard.qml,StreamCard.qml(_res),popups/NotifToast.qml(resolvedIcon/resolvedImage),popups/ControlPopup.qml(_res/_res2/_imgResolved). - Dead QML calls —
popups/AudioMixerPopup.qmlQt.callLater(() => layout.forceLayout())(forceLayoutdoes not exist onColumnLayout, threw on every open);widgets/MprisWidget.qmlComponent.onDestruction: Qt.callLater(function() { if (root) ... })(rootout of scope inside the closure, player re-election already covered by the 2s poller). - AudioMixerUtils enum scope —
scripts/AudioMixerUtils.jsused QML enumPwNodeTypeinvisible to.jsimports (ReferenceErrorinsinkNameForStreamfallback); replaced with theisSinkbool the QML side already reads on the same objects. - Security: AudioEq shell injection —
core/AudioEq.qml:108,322,347,418,360,522_shellQuote()('→'\'') для_savedSink/sinkNameуdisable()/_getDefaultSinkProc/_restore/_moveInputsOnProc/_relinkProc(pactl/pw-link); константаSELFshell_EQтеж екранована;grepна імена сінків черезgrep -F. - Security: TrackListService injection —
services/TrackListService.qml:112,190sh -c "dbus-monitor ... | grep"→["dbus-monitor","--session","type=signal,sender="+bus]+ фільтрTrackListReplaced/Added/RemovedвSplitParser onRead;busзplayerNameбільше не парситься шеллом. - IdleManager mediaPlaying —
core/IdleManager.qml:50цикл поplayerRepeater.countне трекавisPlaying→_playingCount+onPlayingChanged/Completed/Destruction → _recalcPlaying(),mediaPlaying = _playingCount>0; екран не лочиться під час відтворення. - LockContext brute-force —
core/LockContext.qml:87,48,71failCount > failThreshold→>=(3-я спроба лочить),tryUnlock()guardunlockInProgress,PamContext configDirectory: Qt.resolvedUrl("../pam")(було../pamвідносний, ламався в systemd). - AnimatedPopup race —
core/AnimatedPopup.qml:39,179close()зупиняєenterAnim,onVisibleChangedзупиняє обидві,container.opacity 0.50→0без спалаху. - VertSlider binding loop —
core/VertSlider.qml:12мутаціяvalueвсередині рве батьківський біндинг →_dragValue/_displayValue(:26) + guardto!=from(:53),apply()/onWheel(:100) пишуть_dragValue+moved(). - LockSurface —
core/LockSurface.qml:190,105,271echoMode Normal→Password + ImhHiddenText,FastBlur radius 24→16 + layer.enabled,power actionsабсолютні/usr/bin/systemctl reboot/poweroff. - AppConfig defaults drift —
core/AppConfig.qml:139rightOrderадаптера доданоkcd(синхронізовано зdefaultCfg:279). - PaletteService docs —
core/PaletteService.qml:11коментар про UAF Quickshell 0.3.0 (watchChangesвимкнено;black-тема даєbg0H #121212вpalette.json) таAudioEq.qml:565прибрано мертвийonFileChanged. - Battery/Keyboard perf —
widgets/BatteryWidget.qml:74running:true→running: root.visible || device==="",widgets/KeyboardLayoutWidget.qml:167Component.onDestruction: socketProc.running=false. - MprisPopup id order —
popups/MprisPopup.qml:1095id: vsпіднято передConnectionsщо його читає. - Palette generation errors —
scripts/update-palette.pymatugen/KeyErrorfailures now printerror:+ exit 1 instead of a traceback with a half-applied state (new wallpaper, stale palette);atomic_write()no longer masks the original exception; missing wallpaper errors early;orange/aquasplit to tertiary 80/70 (were identical);update-palette.sh/update-wallpaper-only.shvalidate args (-f, jpg/png/gif) andmkdir -p wp. - Theme switch reliability —
popups/settings/AppearanceSection.qmlchecksexitCodeat every step (no more false "Applied"), shows errors, ignores staleStdioCollectortext via_curGotData;WallpaperPopup/WallpaperSectionsame (_listGotData, visible errors). - CLI atomicity —
scripts/selfshelltheme set/config setwrite via tmp+rename;config get/get_theme_modepass keys via argv (no quote injection). - xdg-open allowlist —
popups/KdeConnectPopup.qmlopens phone-provided paths only under*/Downloads/kcd/*(no..);Bar.qmlscreenshot open only under*/Screenshots/*; share-picker output truncated to the first line. - AudioEq leftover quoting —
core/AudioEq.qml:362_moveInputsOnProcnow_shellQuote(root.sinkName); allgrepon sink names usesgrep -F. - PillBar implicitHeight —
core/PillBar.qml:33self-referenceroot.height→row.implicitHeight. - Config/schema drift —
data/config.jsongains"themeMode": "matugen"default;docs/CONFIG_FORMAT.mddocumentsthemeMode;tests/check_config_schema.pyaccepts idle0=never, validatesanimationsEnabled/animSpeed/preferredPlayer, tightensuiScale/separatorGlowOpacityranges.