diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-12-13 15:08:55 +0000 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-12-13 15:08:55 +0000 |
| commit | 17cbfc9a9b4276b1721dfe111d0afc00afa8c428 (patch) | |
| tree | b15a90a48b7d018a78657b30f20e90a4838de6a1 | |
| parent | 345e133b9f3e434d25875f10df1025e6a33770a1 (diff) | |
my stuff
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | config.def.h | 39 | ||||
| -rw-r--r-- | config.h | 37 |
4 files changed, 40 insertions, 40 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9395698 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.o +parte @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -Wall -g $(shell pkg-config --cflags x11 xrandr xrender xft) +CFLAGS = -Wall -O3 -march=native -g $(shell pkg-config --cflags x11 xrandr xrender xft) LIBS = $(shell pkg-config --libs x11 xrandr xrender xft) SRC = parte.c OBJ = $(SRC:.c=.o) diff --git a/config.def.h b/config.def.h deleted file mode 100644 index f33f66d..0000000 --- a/config.def.h +++ /dev/null @@ -1,39 +0,0 @@ -#include <stdint.h> -#include <stddef.h> - -size_t PADDING_X = 25; -size_t PADDING_Y = 25; -size_t PADDING_TEXT_X = 10; -size_t PADDING_TEXT_Y = 10; -char *FONT = "monospace:size=12"; - - -enum corners { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT}; -#define CORNER TOP_RIGHT -enum focus_monitor { FOCUS_MOUSE, FOCUS_KEYBOARD }; -#define FOCUS_MONITOR FOCUS_MOUSE - -/* options for normal normal urgency */ -char *NORMAL_FONT_COLOR = "#ABB2BF"; -char *NORMAL_BACKGROUND = "#282C34"; -char *NORMAL_BORDER = "#61AFEF"; -size_t NORMAL_BORDER_SIZE = 3; -size_t NORMAL_TIME = 5; - - - -/* options for normal low urgency */ -char *LOW_FONT_COLOR = "#FFFFFF"; -char *LOW_BACKGROUND = "grey20"; -char *LOW_BORDER = "grey"; -size_t LOW_BORDER_SIZE = 3; -size_t LOW_TIME = 2; - - - -/* options for normal urgent urgency */ -char *URGENT_FONT_COLOR = "#FFFFFF"; -char *URGENT_BACKGROUND = "#FF5555"; -char *URGENT_BORDER = "#FF8800"; -size_t URGENT_BORDER_SIZE = 3; -size_t URGENT_TIME = 10; diff --git a/config.h b/config.h new file mode 100644 index 0000000..672b107 --- /dev/null +++ b/config.h @@ -0,0 +1,37 @@ +#include <stdint.h> +#include <stddef.h> + +size_t PADDING_X = 25; +size_t PADDING_Y = 25; +size_t PADDING_TEXT_X = 5; +size_t PADDING_TEXT_Y = 5; +char *FONT = "Terminus:pixelsize=12"; + + +enum corners { TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT}; +#define CORNER BOTTOM_RIGHT +enum focus_monitor { FOCUS_MOUSE, FOCUS_KEYBOARD }; +#define FOCUS_MONITOR FOCUS_MOUSE + +/* options for normal normal urgency */ +char *NORMAL_FONT_COLOR = "gray90"; +char *NORMAL_BACKGROUND = "#000000"; +char *NORMAL_BORDER = "#FF8700"; +size_t NORMAL_BORDER_SIZE = 2; +size_t NORMAL_TIME = 4; + + +/* options for normal low urgency */ +char *LOW_FONT_COLOR = "gray90"; +char *LOW_BACKGROUND = "#000000"; +char *LOW_BORDER = "#bbbbbb"; +size_t LOW_BORDER_SIZE = 2; +size_t LOW_TIME = 2; + + +/* options for normal urgent urgency */ +char *URGENT_FONT_COLOR = "gray90"; +char *URGENT_BACKGROUND = "#770000"; +char *URGENT_BORDER = "#770000"; +size_t URGENT_BORDER_SIZE = 2; +size_t URGENT_TIME = 8; |
