mirror of
https://github.com/stumpwm/stumpwm-contrib.git
synced 2026-09-10 07:26:25 -04:00
16 lines
555 B
Markdown
16 lines
555 B
Markdown
# stumpwm-mixer
|
|
|
|
This is a StumpWM interface to FreeBSD's built-in `mixer` command so
|
|
that you can control the volume from StumpWM and get some visual
|
|
feedback when the volume changes. It's deliberately designed to have a
|
|
similar interface to the `stumpwm-sndioctl` module.
|
|
|
|
Add something like this to your config to bind its commands to the
|
|
media buttons:
|
|
|
|
```
|
|
(define-key *top-map* (kbd "XF86AudioMute") "toggle-mute")
|
|
(define-key *top-map* (kbd "XF86AudioLowerVolume") "volume-down")
|
|
(define-key *top-map* (kbd "XF86AudioRaiseVolume") "volume-up")
|
|
```
|