Skip to content

SELFshell 0.8.0

Choose a tag to compare

@github-actions github-actions released this 27 Aug 23:37
· 148 commits to main since this release

Added

  • Blur for bar and popups (Hyprland layerrule + xray) — hypr/modules/rules.lua now creates two hl.layer_rule (blur for PanelWindow + blur_popups for PopupWindow) with xray=true, ignore_alpha from ~/.config/hypr/visual.json (layer_ignore_alpha 0.01, layer_popups_ignore_alpha 0.05). hypr/modules/general.lua decoration.blur now reads blur_enabled/size/passes/vibrancy/xray/ignore_opacity/popups from visual.json; quickshell/popups/settings/AppearanceSection (now HyprlandSection) exposes all of them in Settings → Hyprland → Blur + Settings → Appearance → Blur with live hyprctl reload (400 ms debounce) and layer_xray toggle.

  • Settings restructure — Bar now consolidates Size/Position/Pills + Layout (drag-and-drop left/center/right/pool) + Pills Appearance (Pill background opacity, gradient, border) + Separators; new top-level sections Popups (Popups + Toast & OSD) and Hyprland (Windows + Blur), Appearance trimmed to Scale + Animations. SettingsPopup sections updated to Bar, Popups, Hyprland, Appearance, Wallpaper, Behavior, Binds, About; Layout as standalone tab removed.

  • EQ preset manager — save the current bands as a named preset
    (+ chip), delete/rename/pin presets via right-click (built-ins are
    hidden via deletedBuiltins and pinned via pinned chronological
    order), user presets persisted in data/eq.json.

  • Player selector — pill under the album art showing the current
    preferredPlayer, dropdown directly from the pill listing all present
    MPRIS players (Spotify, selfsonic, browser …). The choice is
    persisted in config.json (preferredPlayer) and shared with the bar
    widget.

  • Audio equalizer — a real 15-band system EQ in the media player
    popup (toggle next to the playlist): PipeWire filter-chain
    (SELFshell_EQ, 15× mbeq_1197 LADSPA mbeqL/mbeqR) via static
    10-selfshell-eq.conf, band changes apply live via pw-cli, existing
    audio streams are moved through the EQ on enable and back on disable
    (with _savedSink fallback), 17 Winamp-classic presets plus user
    presets, persisted in data/eq.json. Auto-relinks filter-chain
    output on headphone/BT hotplug (exclusive BT vs all hardware). Requires
    swh-plugins (added to the installer and selfshell doctor).

Changed

  • Bar/Pill visuals — PillBar now uses ClippingRectangle + outer outline (width: bg + 2*borderWidth centered) so barBorderWidth is a true outer stroke that doesn't eat content or move the pill (implicitWidth without +2*border), gradient alpha encoded in color (Qt.rgba(..., bgOpacity)) instead of Item.opacity so layerrule:ignore_alpha is predictable, antialiasing/smooth + layer.smooth for xray blur; barHeight vs pillHeight free-space clamping kept.
  • Settings layout — Bar now contains Layout drag-and-drop, Pills Appearance and Separators (moved from Appearance); new sections Popups and Hyprland created, Appearance left with Scale/Animations only.
  • Player selector UX — moved from clickable album cover + huge
    expanding list below the controls to a dedicated pill under the cover
    (80×18, preferredPlayer + chevron) with an overlay dropdown
    (160× playerSelTarget, mapToItem(layout), z:60) that doesn't
    push the popup height.
  • EQ preset editing — moving sliders no longer creates a Custom
    preset; the active preset (e.g. Techno) stays green, changes are live
    until shell reload. Use context menu Save changes to overwrite the
    preset (built-in → user-shadow) or + to create new/new2…. Custom
    removed completely (Flat+bands migration for old eq.json).
  • Audio output switching — AudioMixerPopup now moves existing
    sink-inputs (pactl move-sink-input) and, when EQ is on
    (default == SELFshell_EQ), relinks filter-chain output
    (pw-link -d/pw-link) to the selected hardware sink.
  • Settings polish: section headers are now uppercase overlines with
    letter spacing, cards have more breathing room between sections, the
    generated mutedAlt color is brighter (blend 0.3 → 0.45), and the
    launcher distinguishes hover from the selected row.
  • Mpris pill minimal — MprisPopup player pill under the cover is now transparent (no bg1/green background or border), text 10→11 (fg/green when open), chevron 7→8 (mutedAlt/green), pill 80×18 kept but no pill visuals — less visual noise.
  • Defaults synced to current user — quickshell/data/config.json and core/AppConfig.qml defaults updated to live user values (barHeight 32→36, barRadius 5→6, barBgOpacity 1.0→0.7, barBorderWidth 0→1, popupBgOpacity 0.9→0.6, popupBgLighten 1.5→1.15, popupRadius 10→14, toast 6/1.16→9/1.15, clipboard true→false, tray false→true), hypr/modules/general.lua and HyprlandSection.qml:hyprDefaults synced to visual.json live values (gaps_out 1→6, border 1→0, rounding 0→10, dim true, opacity 0.95/0.9, shadows true→false, layout dwindle→master, mfact 0.55→0.7, blur 6/3/0.35→4/2/0.4, blur_xray true→false, layer_ignore_alpha 0.01→0), data/palette.json and wp/wp1.jpg (1.7M, wp4.jpg current) refreshed; docs ARCHITECTURE.md/COMPONENTS.md/CONFIG_FORMAT.md synced.
  • ImageMagick for lock screen — install.sh: PACMAN_DEPS now includes imagemagick (magick for current-lock.jpg generation in update-palette.sh).

Fixed

  • Blur behind bar/pill vs popups — AnimatedPopup and PillBar now encode alpha in Gradient color (Qt.rgba(..., bgOpacity)) instead of opacity, hypr/modules/rules.lua and general.lua read all blur/layer values from visual.json (blur_*, layer_*, xray, new_optimizations:true), layerrule split into blur + blur_popups with xray=true; update-palette.sh now sleep 0.35; hyprctl reload after awww img so xray blur no longer shows stale wallpaper; env_rules_test.lua updated for hl.layer_rule mock.
  • Pill pill corners / border — PillBar double anchors.margins (2× inset) removed, outline made outer (width: bg+2*border) so slider no longer moves the pill, border.color no longer multiplied by bgOpacity twice, ClippingRectangle AA fixed, glowSize clamped to (barHeight-pillHeight)/2 to avoid Hyprland layer clipping.
  • Audio output hotplug — filter-chain (SELFshell_EQ) output now
    auto-relinks on headphone/BT hotplug (_linkCheckTimer 3s, bluez
    exclusive vs all hardware) and AudioMixerPopup output switching now
    moves existing sink-inputs (pactl move-sink-input) and relinks
    filter-chain when EQ is on; previously switching default only affected
    new streams and hotplug left EQ linked to a dead/wrong sink (no sound
    on speakers after unplugging headphones/BT, or duplicate BT+speakers).
  • EQ Custom preset — removed completely (Flat+bands migration for
    old eq.json); moving sliders no longer creates Custom, the active
    preset stays green and changes are live until reload, Save changes
    overwrites the preset. Fixed deletePreset crash (unpin undefined →
    Flat), removed 8× EQ-DBG console.warn spam and dead
    saveUserPreset.
  • MPRIS player selector — pill now shows preferredPlayer under the
    cover, dropdown is an overlay (160× playerSelTarget, mapToItem,
    z:60) instead of a huge expanding list below the controls; album
    cover is no longer clickable; fixed modelData.active vs active check
    and visible:true dead prop.
  • Dead code — MprisWidget dead import "../core" and required int index, MprisPopup dead index, VertSlider onValueChanged: Qt.binding leak → declarative height: track.height*(value-from)/(to-from),
    TrackListService/CavaMonitor/EqPresets duplication, docs
    (CONFIG_FORMAT EQ path visual.json→data/eq.json, missing pinned,
    preferredPlayer, COMPONENTS missing AudioEq/VertSlider/EqPresets/eq.json,
    ARCHITECTURE missing §9.9, data/config.json missing preferredPlayer).
  • Settings popup on multi-monitor setups: each monitor had its own
    section state — edits made in one monitor's popup were lost when
    opening the popup on the other. Sections now re-read their config
    files on every open.
  • Bluetooth popup: the device list now re-sorts when devices
    connect/disconnect (previously the order only updated when the device
    list itself changed).
  • Launcher: corrected anchor coordinates — the popup was offset by the
    screen origin, which would misplace it on a secondary monitor.
  • MPRIS popup: guard the destruction-time player re-detection against a
    dead root (callLater could run after the popup was destroyed).
  • Calendar: the task-save callback is cleared when the popup is
    destroyed (a stale callback could crash task saving afterwards).
  • Timer widget: horizontal scroll no longer decrements the duration;
    the triple completion sound is intentional and now documented as such.
  • Genshin widget: the resin icon no longer stays semi-transparent if the
    critical state ends while the widget is hidden.

Removed

  • Pill glow (barGlowSize/barGlowOpacity + PillBar glowRect) — was only a 1px border at distance glowSize (clamped to 4px by barHeight 36), 24px gave same visual as 4px, glow opacity barely toned the pill. Removed from PillBar.qml, AppConfig.qml (JsonAdapter + defaultCfg), Bar.qml (3× PillBar props), AppearanceSection.qml (Bar card), quickshell/data/config.json and docs; separator glow kept.
  • Per-app keyboard layout (appLayout) — niche hypr/modules/rules.lua hl.on("window.active") switching + hypr/modules/env.lua appLayout/appLayoutActive + hypr/env.json appLayout: [] + docs/CONFIG_FORMAT.md/ARCHITECTURE.md/COMPONENTS.md + tests/check_config_schema.py + tests/lua/env_rules_test.lua (handler). Kept locally in ~/.config if needed, removed from defaults.