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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user