From 860271aa351ba4b16a1ca9b2fcb4c94ee0113530 Mon Sep 17 00:00:00 2001 From: ne_mene Date: Sun, 1 Mar 2026 21:04:46 +0100 Subject: idk --- examplebar.sh | 2 +- src/bardata.c | 6 ++++++ src/tsar.c | 2 -- 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]; -- cgit v1.3-2-g0d8e