mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2025-02-17 15:55:52 -05:00
Revert "Set MIN_BAR_COUNT to 2 and use it if bar_count is not set"
This reverts commit f572758e95
.
This commit is contained in:
parent
1aa7edc7a7
commit
cd7fe5e00b
1 changed files with 2 additions and 2 deletions
4
i3lock.c
4
i3lock.c
|
@ -269,7 +269,7 @@ bool redraw_thread = false;
|
|||
#define BAR_REVERSED 1
|
||||
#define BAR_BIDIRECTIONAL 2
|
||||
#define MAX_BAR_COUNT 65535
|
||||
#define MIN_BAR_COUNT 2
|
||||
#define MIN_BAR_COUNT 1
|
||||
|
||||
bool bar_enabled = false;
|
||||
double *bar_heights = NULL;
|
||||
|
@ -2298,7 +2298,7 @@ int main(int argc, char *argv[]) {
|
|||
++bar_count;
|
||||
}
|
||||
} else {
|
||||
bar_count = MIN_BAR_COUNT;
|
||||
bar_count = 10;
|
||||
}
|
||||
} else if (bar_width != 0) {
|
||||
errx(EXIT_FAILURE, "bar-width and bar-count cannot be used at the same time");
|
||||
|
|
Loading…
Add table
Reference in a new issue