Code Monkey home page Code Monkey logo

rsmixer's Introduction

RsMixer

GitHub tag (latest by date) Crates.io tag

RsMixer is a PulseAudio volume mixer written in rust

Features

  • monitors displaying current volume
  • applications using outputs displayed in a nested tree structure for easier viewing
  • changing card settings
  • all the basic stuff you expect a volume mixer to do

Installation

You can install RsMixer through cargo:

cargo install rsmixer

or by manually building it:

git clone https://github.com/jantap/rsmixer.git
cargo install --path ./rsmixer

or if you're an Arch user, you can install it from AUR:

git clone https://aur.archlinux.org/rsmixer.git
cd rsmixer
makepkg -si

Usage

Application screen is divided into 3 pages: Output, Input and Cards. Output combines PulseAudio sinks and sink inputs (if you don't know much about pulseaudio - basically sinks/sources are speakers/microphones, sink inputs/source outputs are audio streams from applications, for outputing and inputing sound respectively) into one tree-like view, that makes it easy to see which device every app uses.

All keybindings are configurable through ~/.config/rsmixer/rsmixer.toml. [Changing keybindings][changing keybindings] for more info.

Default keybindings:

  • j,k - move between entries
  • h, l, H, L - change volume
  • 1, 2, 3 - open outputs, inputs, and cards respectively
  • enter - open context menu

Changing keybindings

In ~/.config/rsmixer/rsmixer.toml you will find a section [bindings]. There you will find a list of default keybindings.

All keybindings look one of these:

q = 'exit'
"shift+tab" = 'cycle_pages_backward'
right = 'raise_volume(5)'

Basically key = action. Key is either:

  • a char
  • a special key. Special keys supported (if anything is missing just create an issue)
  • a key combination, with plus signs between keys (one or more of shift, ctrl, alt and and a char/special key, seperated by plus signs)

When that key/key combination gets pressed rsmixer performs an action assigned to that keybinding. Possible actions

License

MIT

rsmixer's People

Contributors

chrysn avatar jantap avatar janwojcicki avatar maroider avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.