diff options
| -rwxr-xr-x | examplebar.sh | 2 | ||||
| -rw-r--r-- | src/bardata.c | 6 | ||||
| -rw-r--r-- | 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) { + + } } @@ -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]; |
