aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorne_mene <[email protected]>2026-03-01 21:04:46 +0100
committerne_mene <[email protected]>2026-03-01 21:04:46 +0100
commit860271aa351ba4b16a1ca9b2fcb4c94ee0113530 (patch)
treea4f29d1e855dd41e0d672d3ab1542a1a2547a34a
parent87b6e59b7c5893daca15457485134eb7375e1a77 (diff)
idk
-rwxr-xr-xexamplebar.sh2
-rw-r--r--src/bardata.c6
-rw-r--r--src/tsar.c2
3 files changed, 7 insertions, 3 deletions
diff --git a/examplebar.sh b/examplebar.sh
index dd082f1..4bc516e 100755
--- a/examplebar.sh
+++ b/examplebar.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-./tsarc config font "Hack Nerd Mono:style=Regular"
+./tsarc config font "Hack Nerd Font Mono:style=Regular"
./tsarc create test_comp
./tsarc set test_comp -text "Testing spaces"
diff --git a/src/bardata.c b/src/bardata.c
index 0bbc52d..900cb6a 100644
--- a/src/bardata.c
+++ b/src/bardata.c
@@ -97,4 +97,10 @@ void set_config(char argv[MAX_ARGS][MAX_ARG_LEN], int argc) {
// fontsize = atoi(argv[2]);
load_font(argv[2]);
}
+ if (strcmp(var, "background") == 0) {
+
+ }
+ if (strcmp(var, "foreground") == 0) {
+
+ }
}
diff --git a/src/tsar.c b/src/tsar.c
index 1570b92..fdc854e 100644
--- a/src/tsar.c
+++ b/src/tsar.c
@@ -123,10 +123,8 @@ int main(void) {
XNextEvent(display, &ev);
XClearWindow(display, win);
-
XResizeWindow(display, win, width, bar_height);
-
int x = 0;
for (int i = 0; i < left_size; i++) {
comp_t* comp = comps_left[i];