Created
June 3, 2021 16:43
-
-
Save tomty89/fa8be6cb298559beef7a39962a9f054b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bindsym XF86AudioPrev exec --no-startup-id "amixer -c STX set \\"Analog Output\\" Speakers; amixer -c STX set Master 255 on" | |
bindsym XF86AudioNext exec --no-startup-id "amixer -c STX set Master 169 on; amixer -c STX set \\"Headphones Impedance\\" \\"300-600 ohms\\"; amixer -c STX set \\"Analog Output\\" Headphones" | |
bindsym XF86AudioPlay exec --no-startup-id pacmd load-module module-jack-sink | |
bindsym XF86AudioStop exec --no-startup-id "pkill jackd; amixer -c STX set Master off; amixer -c STX set \\"Analog Output\\" Speakers" | |
bindsym XF86AudioMute exec --no-startup-id "pkill jackd; amixer -c STX set Master off; amixer -c STX set \\"Analog Output\\" Speakers" | |
bindsym XF86AudioRaiseVolume exec --no-startup-id flock /run/user/1000/.amixer_lock amixer -c STX set Master 1+ | |
bindsym XF86AudioLowerVolume exec --no-startup-id flock /run/user/1000/.amixer_lock amixer -c STX set Master 1- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment