aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--images/iamcheesemans.pngbin0 -> 11190 bytes
-rw-r--r--src/tsar.c2
3 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9e1e6df..f9f7f01 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,9 @@ tsarc layout -[side] [component 1 2 ... n] -[side] [component 1 2 ... n] ...
ne_mene's bar :)
![image](images/nemenes.png)
+iamcheeseman's bar :D
+![image](images/iamcheesemans.png)
+
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
new file mode 100644
index 0000000..2dc5808
--- /dev/null
+++ b/images/iamcheesemans.png
Binary files differ
diff --git a/src/tsar.c b/src/tsar.c
index f2fbcc3..00eed2f 100644
--- a/src/tsar.c
+++ b/src/tsar.c
@@ -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];