From c7ffac17e7e5dd3c7de5ee91ecaee85bb4c6a4f2 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Thu, 23 Jul 2020 21:24:21 -0500 Subject: desktop: audio volume keys --- desktop/.config/i3/config | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'desktop/.config') diff --git a/desktop/.config/i3/config b/desktop/.config/i3/config index 0cdc6df..cfbdb3c 100644 --- a/desktop/.config/i3/config +++ b/desktop/.config/i3/config @@ -8,6 +8,12 @@ set $mod Mod4 # is used in the bar {} block below. font pango:monospace 12 +# Use pactl to adjust volume in PulseAudio. +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle + # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod -- cgit v1.2.3