From efbc2e572b66d85f05033fa4c8a86a1ba3a840d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 15 Oct 2023 12:04:36 +0200 Subject: [PATCH] Set media keys --- .config/hypr/hyprland.conf | 10 ++++++++++ README.md | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 2cfd6ca..1b8736d 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -163,3 +163,13 @@ bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow + +# Media keys +binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ +bindl=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindl=, XF86AudioPlay, exec, playerctl --player rhythmbox play-pause +bindl=, XF86AudioPrev, exec, playerctl --player rhythmbox previous +bindl=, XF86AudioNext, exec, playerctl --player rhythmbox next +bindl=, XF86MonBrightnessUp, exec, brightnessctl set +5% +bindl=, XF86MonBrightnessDown, exec, brightnessctl set 5%- diff --git a/README.md b/README.md index 0fc29f4..f87ba2c 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ pacman -S cargo-audit cargo-outdated cargo-release rustup # CLI software pacman -S dog exiv2 gnupg imagemagick mkcert ncdu nmap pass playerctl python-shodan qrencode rsync shellcheck sqlmap yt-dlp # Hyprland -pacman -S hyprland hyprpaper dunst xdg-desktop-portal-hyprland wofi wl-clipboard qt5-wayland qt6-wayland udiskie waybar otf-font-awesome +pacman -S hyprland hyprpaper dunst xdg-desktop-portal-hyprland wofi wl-clipboard qt5-wayland qt6-wayland udiskie waybar otf-font-awesome brightnessctl pacman -S pipewire wireplumber pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack pipewire-x11-bell # Graphical software pacman -S atril firefox gedit gimp handbrake kitty mpv openshot pcmanfm rhythmbox ristretto sweethome3d tumbler thunderbird vlc zathura