feat(hypr): add swayosd bindings and changed some existing ones

This commit is contained in:
Sergio Laín 2023-12-21 01:52:39 +01:00
parent 2be2cba7dc
commit 089cc7a730
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 38 additions and 17 deletions

View file

@ -161,19 +161,28 @@ submap = reset
## Audio ## Audio
bind = SUPERCTRL, V, exec, restartAudio bind = SUPERCTRL, V, exec, restartAudio
bind = ,XF86AudioPlay, exec, playerctl play-pause
bindl = SUPERCTRL, mouse:274, exec,playerctl play-pause
bind = ,XF86AudioPrev, exec, playerctl previous
bindl = SUPERCTRL, mouse_up, exec, playerctl previous
bind = ,XF86AudioNext, exec, playerctl next
bindl = SUPERCTRL, mouse_down, exec, playerctl next
bindl = , XF86AudioMedia, exec, playerctl play-pause bindl = SUPERCTRL, mouse:280, exec, swayosd-client --output-volume mute-toggle # Extra Up Button
bindl = , XF86AudioStop, exec, playerctl stop bindl = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
bindle = , XF86AudioRaiseVolume, exec, swayosd --output-volume raise bindl = SUPERCTRL, mouse:281, exec, swayosd-client --input-volume mute-toggle # Extra Down Button
bindle = , XF86AudioLowerVolume, exec, swayosd --output-volume lower bindl = , XF86AudioMicMute, exec, exec swayosd-client --input-volume mute-toggle
bindle = , XF86AudioMute, exec, swayosd --output-volume mute-toggle
bindle = , XF86AudioMicMute, exec, exec swayosd --input-volume mute-toggle bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = SUPERCTRL, mouse:282, exec, playerctl play-pause # Extra Center Button
bindl = , XF86AudioPrev, exec, playerctl previous
bindl = SUPERCTRL, mouse:275, exec, playerctl previous # Extra Back Button
bindl = , XF86AudioNext, exec, playerctl next
bindl = SUPERCTRL, mouse:276, exec, playerctl next # Extra Forward Button
bindle = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
bindle = SUPERCTRL, 21, exec, swayosd-client --output-volume raise # Minus key
bindle = , XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
bindle = SUPERCTRL, 20, exec, swayosd-client --output-volume lower # Plus key
bindle = , XF86InputRaiseVolume, exec, swayosd-client --input-volume raise
bindle = SUPERSHIFT, 21, exec, swayosd-client --input-volume raise # Minus key
bindle = , XF86InputLowerVolume, exec, swayosd-client --input-volume lower
bindle = SUPERSHIFT, 20, exec, swayosd-client --input-volume lower # Plus key
# Disable anim, blur, etc # Disable anim, blur, etc
bind = SUPER, F12, exec, ~/.config/hypr/scripts/performance bind = SUPER, F12, exec, ~/.config/hypr/scripts/performance

View file

@ -18,7 +18,7 @@ swww init
waybar & waybar &
# OSD Window # OSD Window
swayosd & swayosd-server &
# Automounter for removable media # Automounter for removable media
udiskie & udiskie &

View file

@ -102,14 +102,26 @@
- name: Audio - name: Audio
keybinds: keybinds:
- name: Play-Pause Music - name: Play-Pause Song
key: Ctrl + Win + Middle Mouse Button key: Ctrl + Win + Mouse Extra Middle Button
- name: Play Previous Song - name: Play Previous Song
key: Ctrl + Win + Mouse Wheel Down key: Ctrl + Win + Mouse Backward Button
- name: Play Next Song - name: Play Next Song
key: Ctrl + Win + Mouse Wheel Up key: Ctrl + Win + Mouse Forward Button
- name: Toggle Output Mute
key: Ctrl + Win + Mouse Extra Up Button
- name: Toggle Input Mute
key: Ctrl + Win + Mouse Extra Down Button
- name: Restart Audio - name: Restart Audio
key: Ctrl + Win + V key: Ctrl + Win + V
- name: Output Volume Up
key: Ctrl + Win + Plus Sign
- name: Output Volume Down
key: Ctrl + Win + Minus Sign
- name: Input Volume Up
key: Win + Shift + Plus Sign
- name: Input Volume Down
key: Win + Shift + Minus Sign
- name: Screenshots - name: Screenshots
keybinds: keybinds: