forked from external/yambar
particle/ramp: new particle, selects one particle from a list
The ramp particle is configured with a tag name and a list of particles. At instantiation time, a single particle is selected from the list, depending on the tag value and it's minimum and maximum values. I.e. this particle acts kind of like a progress bar.
This commit is contained in:
parent
2218bd1583
commit
47b36bdd35
4 changed files with 101 additions and 3 deletions
|
@ -30,6 +30,7 @@ add_executable(f00bar
|
|||
particles/string.c particles/string.h
|
||||
particles/list.c particles/list.h
|
||||
particles/map.c particles/map.h
|
||||
particles/ramp.c particles/ramp.h
|
||||
|
||||
modules/battery/battery.c modules/battery/battery.h
|
||||
modules/i3/i3.c modules/i3/i3.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue