SolDoesTech / HyprV2

An improved hyprland deployment - collection of dot config files for hyprland with a simple install script for a fresh Arch linux with yay
356 stars 87 forks source link

Function Keys Support for Laptop Users #12

Closed Raiden-16F7 closed 1 year ago

Raiden-16F7 commented 1 year ago

can you add these lines into hyprland.conf for fn keys support such as brightness control and volume control?

Example volume button that allows press and hold, volume limited to 150%

 binde=, XF86AudioRaiseVolume, exec, pamixer -i 5

Example volume button that will activate even while an input inhibitor is active

 binde=, XF86AudioLowerVolume, exec, pamixer -d 5
 binde=, XF86AudioMute, exec, pamixer -t
 binde=, XF86AudioMicMute, exec, pamixer --default-source -t

Brightness Controls using Fn keys

 binde=, XF86MonBrightnessUp, exec, brightnessctl set +10%
 binde=, XF86MonBrightnessDown, exec, brightnessctl set 10%-

OR you could add these to your Readme Guide and specify it for Laptop Users.