ChrisTitusTech / hyprland-titus

My config files for Hyprland Wayland Window Manager
636 stars 86 forks source link

Dynamic Monitor Setup & Keyboard Audio Keybind #16

Closed raminsamadi123 closed 1 year ago

raminsamadi123 commented 1 year ago

Fixed auto configuration for multi-monitors and audio keyboard keybinds:

This is the old one and will not recognize multiple monitors: monitor = ,1920x1080@60,0x0,1

This is the new one:

monitor=,preferred,auto,1

Keyboard audio keybinds (I used this website to generate text art https://fsymbols.com/generators/tarty/):

# █▀▄▀█ █░█ █░░ ▀█▀ █ █▀▄▀█ █▀▀ █▀▄ █ ▄▀█
# █░▀░█ █▄█ █▄▄ ░█░ █ █░▀░█ ██▄ █▄▀ █ █▀█
binde=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
binde=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
binde=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind=, XF86AudioPlay, exec, playerctl play-pause
bind=, XF86AudioPause, exec, playerctl play-pause
bind=, XF86AudioNext, exec, playerctl next
bind=, XF86AudioPrev, exec, playerctl previous