From e625a21745b5bc0946453cc573c216ab785e65d4 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Mon, 24 Sep 2018 09:54:21 +0200 Subject: [PATCH 1/2] installed keybinds --- keybinds/.xbindkeysrc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 keybinds/.xbindkeysrc diff --git a/keybinds/.xbindkeysrc b/keybinds/.xbindkeysrc new file mode 100644 index 0000000..3c53105 --- /dev/null +++ b/keybinds/.xbindkeysrc @@ -0,0 +1,7 @@ +# thumb wheel up => increase volume +"xte 'key XF86AudioRaiseVolume'" + b:6 + +# thumb wheel down => lower volume +"xte 'key XF86AudioLowerVolume'" + b:7 From ad397582e79be1df276da124248b6384beb7f20d Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Mon, 24 Sep 2018 10:04:35 +0200 Subject: [PATCH 2/2] use pactl commands directly for better compatibility --- keybinds/.xbindkeysrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/keybinds/.xbindkeysrc b/keybinds/.xbindkeysrc index 3c53105..a9bd439 100644 --- a/keybinds/.xbindkeysrc +++ b/keybinds/.xbindkeysrc @@ -1,7 +1,8 @@ # thumb wheel up => increase volume -"xte 'key XF86AudioRaiseVolume'" +"pactl set-sink-volume @DEFAULT_SINK@ +5%" b:6 # thumb wheel down => lower volume -"xte 'key XF86AudioLowerVolume'" +"pactl set-sink-volume @DEFAULT_SINK@ -5%" b:7 +