diff --git a/configs/releng/airootfs/usr/local/share/fws/hyprland.conf.tmpl b/configs/releng/airootfs/usr/local/share/fws/hyprland.conf.tmpl index 3a13719..105ebc2 100644 --- a/configs/releng/airootfs/usr/local/share/fws/hyprland.conf.tmpl +++ b/configs/releng/airootfs/usr/local/share/fws/hyprland.conf.tmpl @@ -67,7 +67,9 @@ misc { exec-once = waybar exec-once = mako exec-once = nm-applet -exec-once = blueman-applet +# Applet Bluetooth : seulement si un adaptateur existe (en VM il n'y en a +# pas → blueman afficherait une erreur « Connection to BlueZ failed »). +exec-once = sh -c '[ -n "$(ls -A /sys/class/bluetooth 2>/dev/null)" ] && exec blueman-applet' exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 $mod = SUPER