https://github.com/rasmuslindroth/gaudio
https://github.com/rasmuslindroth/gaudio
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rasmuslindroth/gaudio
- Owner: RasmusLindroth
- License: mit
- Created: 2019-07-09T14:41:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-09T14:43:58.000Z (almost 6 years ago)
- Last Synced: 2024-10-29T07:21:08.991Z (7 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gaudio
A quick and dirty hack with pulseaudio to change the current active soundcard
with [gtoggle](./cmd/gtoggle) and change the volume with [gvol](./cmd/gvol).I use it with i3 so I can change all this from the keyboard. My config:
```
# Change volume
bindsym XF86AudioRaiseVolume exec --no-startup-id gvol up 5
bindsym XF86AudioLowerVolume exec --no-startup-id gvol down 5# Toogle between audio outputs
bindcode 202 exec --no-startup-id gtoggle alsa_output.pci-0000_00_1b.0.analog-stereo alsa_output.usb-Kingston_HyperX_7.1_Audio_00000000-00.analog-stereo
```