Updated nvim and added Multi media key support

This commit is contained in:
Pablu23
2024-05-25 18:35:15 +02:00
parent af95440926
commit 1eb17811f4
2 changed files with 13 additions and 1 deletions

View File

@@ -18,6 +18,18 @@ bind = $mainMod, L, exec, $hyprlock
# loginctl lock-session # loginctl lock-session
bind = $mainMod, M, exec, $spotify bind = $mainMod, M, exec, $spotify
# Bind multimedia keys
bindle=, XF86AudioRaiseVolume, exec, vol --up
bindle=, XF86AudioLowerVolume, exec, vol --down
bindle=, XF86MonBrightnessUp, exec, bri --up
bindle=, XF86MonBrightnessDown, exec, bri --down
bindle=, XF86Search, exec, launchpad
# bindl=, XF86AudioMute, exec, amixer set Master toggle
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl=, XF86AudioPlay, exec, playerctl --player=spotify play-pause # the stupid key is called play , but it toggles
bindl=, XF86AudioNext, exec, playerctl next
bindl=, XF86AudioPrev, exec, playerctl previous
# also make sure you created a directory called screenshots in Pictures/ otherwise the screenshots won't appear anywhere # also make sure you created a directory called screenshots in Pictures/ otherwise the screenshots won't appear anywhere
bind = $mainMod, S, exec, grim -o DP-3 "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png" bind = $mainMod, S, exec, grim -o DP-3 "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png"
# screenshot + crop keybind # screenshot + crop keybind