From 0ab90857e5a23e840e8f1d7337b8980b08365f89 Mon Sep 17 00:00:00 2001 From: nocode Date: Sat, 4 Jul 2026 00:25:57 +0200 Subject: [PATCH] feat(fws-setup-hardware): add brightnessctl and blueman to base stack Add brightnessctl for brightness control without root via logind, consumed by XF86MonBrightness* keys and waybar backlight module. Add blueman as graphical Bluetooth manager for desktop environments that don't provide their own (KDE and GNOME have built-in managers). Blueman provides system tray integration and pairing assistant. Update comments to clarify the purpose of these new packages. --- .../releng/airootfs/usr/local/bin/fws-setup-hardware | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configs/releng/airootfs/usr/local/bin/fws-setup-hardware b/configs/releng/airootfs/usr/local/bin/fws-setup-hardware index 07a2fa5..614a91c 100755 --- a/configs/releng/airootfs/usr/local/bin/fws-setup-hardware +++ b/configs/releng/airootfs/usr/local/bin/fws-setup-hardware @@ -37,9 +37,16 @@ case "$(systemd-detect-virt 2>/dev/null)" in microsoft) DRIVERS="$DRIVERS hyperv"; VMSVC="hv_fcopy_daemon hv_kvp_daemon hv_vss_daemon" ;; esac -# ── 3) Stack de base : son / micro / casque, Bluetooth, conteneurs ─────────── +# ── 3) Stack de base : son / micro / casque, Bluetooth, luminosité, conteneurs +# brightnessctl : réglage de luminosité sans root (via logind) — consommé par +# les touches XF86MonBrightness* et la molette du module backlight de waybar. BASE="pipewire pipewire-alsa pipewire-pulse pipewire-jack wireplumber \ - pavucontrol bluez bluez-utils podman" + pavucontrol bluez bluez-utils brightnessctl podman" +# Gestionnaire Bluetooth graphique : KDE et GNOME ont le leur ; blueman pour +# les bureaux qui n'en fournissent pas (tray + assistant d'appairage). +case "$DESK" in + hyprland|xfce) BASE="$BASE blueman" ;; +esac # ── 4) Stack desktop : jeux, Windows-compat, VR (si un bureau est choisi) ──── DESKTOP=""