Added brightnessctl on IS_DESKTOP=0 and configured waybar to include a power profiles daemon switch if the service is available

This commit is contained in:
2026-07-09 21:51:46 +02:00
parent f382f9ce22
commit 377726801b
4 changed files with 88 additions and 0 deletions
+5
View File
@@ -15,3 +15,8 @@ case "$GPU" in
intel) pac_file packages/graphics-intel.txt ;;
*) info "no GPU group for GPU='$GPU'" ;;
esac
# Laptop only: backlight control. Desktop monitors (DP/HDMI) don't expose a
# /sys/class/backlight device — they use DDC/CI (ddcutil) — so brightnessctl has
# nothing to control there and the XF86MonBrightness* binds just no-op.
[ "$IS_DESKTOP" = 0 ] && pacman -S --needed --noconfirm brightnessctl