mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-22 10:35:58 +01:00
e80bf4a44d
* use pangocairo to draw title * add padding and ellipsis * add max and close colors to config * remove snake case, better config variable names * add pangocairo as a dependency to meson build * add `buttons:button_size`, adjust for bordersize * add button_size doc --------- Co-authored-by: nehrbash <stephen.nehrbass@infinitetactics.com>
21 lines
474 B
Makefile
21 lines
474 B
Makefile
CXX = g++
|
|
CXXFLAGS = -shared -fPIC --no-gnu-unique -g -std=c++23
|
|
INCLUDES = -I "/usr/include/pixman-1" -I "/usr/include/libdrm" -I $(shell pkg-config --cflags hyprland pangocairo)
|
|
LIBS = $(shell pkg-config --libs pangocairo)
|
|
|
|
SRC = main.cpp barDeco.cpp
|
|
TARGET = hyprbars.so
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(SRC)
|
|
$(CXX) $(CXXFLAGS) $(INCLUDES) $^ -o $@ $(LIBS)
|
|
|
|
clean:
|
|
rm ./$(TARGET)
|
|
|
|
meson-build:
|
|
mkdir -p build
|
|
cd build && meson .. && ninja
|
|
|
|
.PHONY: all meson-build clean
|