adjusted volume control

This commit is contained in:
ari committed 2024-08-26 11:03:55 -04:00
1 parent 524f694ab0
commit 5a89b7c485
2 files changed
+8 -2

No files matched your search

+2 -2
View File
@@ -19,8 +19,8 @@ listener {
listener {
timeout = 295
on-timeout = notify-send "hyprctl notify 0 5000 'rgb(ff0000)' 'Locking.."
on-resume = notify-send "hyprctl notify 0 5000 'rgb(ff0000)' 'Stopping lock process.."
on-timeout = hyprctl notify 0 5000 'rgb(ff0000)' 'Locking..'
on-resume = hyprctl notify 0 5000 'rgb(ff0000)' 'Stopping lock process..'
}
listener {
+6
View File
@@ -53,3 +53,9 @@ bindm = $mainMod, ALT_L, resizewindow
# Brigthness
bind = ,XF86MonBrightnessDown, exec, brightnessctl s 20%-
bind = ,XF86MonBrightnessUp, exec, brightnessctl s +20%
# Volume
binde =, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+ && hyprctl notify 0 500 'rgb(00ff00)' $(wpctl get-volume @DEFAULT_AUDIO_SINK@)
binde =, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%- && hyprctl notify 0 500 'rgb(00ff00)' $(wpctl get-volume @DEFAULT_AUDIO_SINK@)
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && hyprctl notify 0 500 'rgb(00ff00)' $(wpctl get-volume @DEFAULT_AUDIO_SINK@)