feat(hypr): new binds: brightness control and toggle waybar

This commit is contained in:
Sergio Laín 2024-08-29 19:30:08 +02:00
parent 389bfaddc4
commit c94b303462
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -12,6 +12,7 @@ bindm = $mainMod, mouse:273, resizewindow
# Basic keybinds
bind = $mainMod, Q, killactive,
bind = $mainMod CTRL, R, exec, killall $bar; $bar
bind = $mainMod, T, exec, killall -SIGUSR1 $bar
bind = $mainMod SHIFT, R, exec, swaync -R && swaync -rs
bind = $mainMod, A, exec, $scripts/toggle_floating
bind = $mainMod, P, pseudo
@ -177,9 +178,9 @@ bindl = $mainMod CTRL, mouse:275, exec, playerctl previous # Extra Back Button
bindl = , XF86AudioNext, exec, playerctl next
bindl = $mainMod CTRL, mouse:276, exec, playerctl next # Extra Forward Button
bindle = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
bindle = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume +10
bindle = $mainMod CTRL, 21, exec, swayosd-client --output-volume raise # Minus key
bindle = , XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
bindle = , XF86AudioLowerVolume, exec, swayosd-client --output-volume -10
bindle = $mainMod CTRL, 20, exec, swayosd-client --output-volume lower # Plus key
bindle = , XF86InputRaiseVolume, exec, swayosd-client --input-volume raise
@ -187,6 +188,10 @@ bindle = $mainMod SHIFT, 21, exec, swayosd-client --input-volume raise # Minus k
bindle = , XF86InputLowerVolume, exec, swayosd-client --input-volume lower
bindle = $mainMod SHIFT, 20, exec, swayosd-client --input-volume lower # Plus key
# Brightness
bindle = , XF86MonBrightnessUp, exec, swayosd-client --brightness +10
bindle = , XF86MonBrightnessDown, exec, swayosd-client --brightness -10
# Disable anim, blur, etc
bind = $mainMod, F12, exec, $scripts/performance