Fix sound control keys in i3

master
Ian Mancini 5 years ago
parent 1e6608823d
commit c7c2364fca

@ -317,15 +317,14 @@ exec_always --no-startup-id $HOME/.bin/launch-polybar
# Volume
# PulseAudio
#bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +2% #increase sound volume
#bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -2% #decrease sound volume
#bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +2% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -2% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
# ALSA
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master '2%+'
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D pulse sset Master '2%-'
bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle
#bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master '2%+'
#bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D pulse sset Master '2%-'
#bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle
# MPC
bindsym XF86AudioPrev exec mpc prev
@ -334,8 +333,8 @@ bindsym XF86AudioPlay exec mpc toggle
bindsym XF86AudioStop exec mpc stop
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight +2
bindsym XF86MonBrightnessDown exec xbacklight -2
#bindsym XF86MonBrightnessUp exec xbacklight +2
#bindsym XF86MonBrightnessDown exec xbacklight -2
bindsym XF86Display exec arandr
bindsym XF86TouchpadToggle exec pavucontrol

Loading…
Cancel
Save