1 unstable release

0.0.1 Apr 19, 2021

#54 in #echo

MIT license

225KB
190 lines

sliders

sliders in the terminal

screenshot

screenshot

example

For this example, let's store counter in 2 files

$ echo 0 > hello.counter
$ echo 0 > world.counter

Then, let's launch two sliders which will write/read to/from those files:

cargo run -- --name hello --get 'cat hello.counter' --set 'echo {} > hello.counter' \
             --name world --get 'cat world.counter' --set 'echo {} > world.counter'

backlight-mixer

You can use this to update your backlight with backlight-mixer.

$ cargo run -- --name backlight --get "backlight-mixer" --set "backlight-mixer {}"

volume mixer

$ cargo run -- --name volume \
               --get "amixer sget Master | tail -1 | cut -d'[' -f2 | cut -d'%' -f1" \
               --set "amixer sset Master {}%"

Dependencies

~2MB
~35K SLoC