Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fagg/stumpwm-sndioctl
Control sndioctl from StumpWM.
https://github.com/fagg/stumpwm-sndioctl
Last synced: 3 months ago
JSON representation
Control sndioctl from StumpWM.
- Host: GitHub
- URL: https://github.com/fagg/stumpwm-sndioctl
- Owner: fagg
- Created: 2021-04-23T18:16:31.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-01T02:23:47.000Z (over 3 years ago)
- Last Synced: 2024-06-12T00:11:51.176Z (5 months ago)
- Language: Common Lisp
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-stumpwm - sndioctl - Control sndioctl module (Modules)
README
# stumpwm-sndioctl
stumpwm-sndioctl adds some features to StumpWM so you can control the
volume using OpenBSD's sndioctl, and have it show you pretty messages
as you make changes.Add something like this to your StumpWM config:
```
(ql:quickload :stumpwm-sndioctl)
(define-key *top-map* (kbd "XF86AudioMute") "toggle-mute")
(define-key *top-map* (kbd "XF86AudioLowerVolume") "volume-down")
(define-key *top-map* (kbd "XF86AudioRaiseVolume") "volume-up")
```The code is documented in Lisp style (i.e. self documenting), see
`stumpwm-sndioctl.lisp` for all the knobs you can turn.## License
Copyright 2021, Dr Ashton Fagg
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all
copies.THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.