summaryrefslogtreecommitdiff
path: root/desktop/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/.config/i3')
-rw-r--r--desktop/.config/i3/config6
1 files changed, 6 insertions, 0 deletions
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