diff options
| author | iamcheeseman <[hidden email]> | 2026-03-02 16:36:23 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-03-02 16:36:23 -0500 |
| commit | a996c83e1079f49830138858f6c54816102daeba (patch) | |
| tree | 4955b36f7d4db5bcfbb26f818a536e409a1b296a | |
| parent | 59c8549152c38d934c8eb7820a61f147c0ce1c8e (diff) | |
add my own bar
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | images/iamcheesemans.png | bin | 0 -> 11190 bytes | |||
| -rw-r--r-- | src/tsar.c | 2 |
3 files changed, 4 insertions, 1 deletions
@@ -43,6 +43,9 @@ tsarc layout -[side] [component 1 2 ... n] -[side] [component 1 2 ... n] ... ne_mene's bar :)  +iamcheeseman's bar :D + + This will set the text value of the component `label` to `"Lorem ipsum"`. Since that component doesn't exist yet, it will also implicitly create it. ``` diff --git a/images/iamcheesemans.png b/images/iamcheesemans.png Binary files differnew file mode 100644 index 0000000..2dc5808 --- /dev/null +++ b/images/iamcheesemans.png @@ -139,7 +139,7 @@ void draw_comp_set(float pos_ratio, comp_t **set, int size) { int x = (bar_width - width) * pos_ratio; x += padding * 2*(0.5 - pos_ratio); // Magic formula lol - int y = (bar_height - font->height) / 2; + int y = 0;//(bar_height - font->height) / 2; for (int i = 0; i < size; i++) { comp_t *comp = set[i]; |
