+1
-1
home-manager/dots/hyprland.conf
+1
-1
home-manager/dots/hyprland.conf
···bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; notify-desktop "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" -t 800-bindel=, XF86AudioRaiseVolume, exec, current_volume=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $2}' | sed 's/%//'); current_volume=$(echo "$current_volume * 100" | bc); new_volume=$(echo "$current_volume + 5" | bc); new_volume=$(echo "$new_volume" | awk '{if ($1 > 200) print 200; else print $1}'); wpctl set-volume @DEFAULT_AUDIO_SINK@ "${new_volume}%"; notify-desktop "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" -t 800+bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 5%+; notify-desktop "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" -t 800bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-; notify-desktop "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" -t 800