sliders

Crates.iosliders
lib.rssliders
version0.0.1
sourcesrc
created_at2021-04-19 19:27:12.100042
updated_at2021-04-19 19:27:12.100042
descriptionsliders widget in the terminal
homepagehttps://github.com/yazgoo/sliders
repositoryhttps://github.com/yazgoo/sliders
max_upload_size
id386786
size240,528
Olivier Abdesselam (yazgoo)

documentation

README

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 {}%"
Commit count: 16

cargo fmt