From a49127da0df0e5b295d82a54e2e0ebf3f19633db Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Tue, 3 Mar 2020 13:30:03 +0200 Subject: [PATCH] Make volume step 1 --- home/.config/sway/conf.d/06-keybinds.conf | 4 ++-- home/.config/waybar/config | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home/.config/sway/conf.d/06-keybinds.conf b/home/.config/sway/conf.d/06-keybinds.conf index 1bee5b4..784e163 100644 --- a/home/.config/sway/conf.d/06-keybinds.conf +++ b/home/.config/sway/conf.d/06-keybinds.conf @@ -114,8 +114,8 @@ bindsym $mod+r mode "resize" bindsym $mod+b exec firefox-nightly # media keys -bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $SWAYSOCK.wob -bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $SWAYSOCK.wob +bindsym XF86AudioRaiseVolume exec pamixer -ui 1 && pamixer --get-volume > $SWAYSOCK.wob +bindsym XF86AudioLowerVolume exec pamixer -ud 1 && pamixer --get-volume > $SWAYSOCK.wob bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob bindsym --locked XF86AudioNext exec playerctl next bindsym --locked XF86AudioPrev exec playerctl previous diff --git a/home/.config/waybar/config b/home/.config/waybar/config index ea82c4f..07b88d1 100644 --- a/home/.config/waybar/config +++ b/home/.config/waybar/config @@ -104,8 +104,8 @@ }, "on-click": "pulseaudio-ctl mute", "on-click-right": "pavucontrol", - "on-scroll-up": "pulseaudio-ctl up", - "on-scroll-down": "pulseaudio-ctl down" + "on-scroll-up": "pulseaudio-ctl up 1", + "on-scroll-down": "pulseaudio-ctl down 1" }, "custom/playerctl": { "tooltip": false,