mirror of
https://github.com/vale981/yabar
synced 2025-03-04 17:11:38 -05:00
add pango fix to asciidoc, fix Makefile
This commit is contained in:
parent
e3a47512a7
commit
57b3a7512c
2 changed files with 5 additions and 5 deletions
5
Makefile
5
Makefile
|
@ -2,7 +2,6 @@ VERSION ?= $(shell git describe)
|
|||
CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL \
|
||||
-DYA_ENV_VARS -DYA_INTERNAL_EWMH -DYA_ICON -DYA_NOWIN_COL -DYA_MUTEX -DYA_VAR_WIDTH \
|
||||
-DYA_BSPWM
|
||||
<<<<<<< HEAD
|
||||
CFLAGS += -std=c99 -Iinclude -pedantic -Wall -flto -O2 `pkg-config --cflags pango pangocairo libconfig gdk-pixbuf-2.0 alsa`
|
||||
|
||||
DEPS += pango pangocairo libconfig gdk-pixbuf-2.0 alsa
|
||||
|
@ -14,10 +13,6 @@ endif
|
|||
|
||||
LDFLAGS += -flto -O2
|
||||
LDLIBS += -liw -lxcb -lpthread -lxcb-randr -lxcb-ewmh -lxcb-icccm -lxkbcommon -lxkbcommon-x11 -lxcb-xkb -lm `pkg-config --libs $(DEPS)`
|
||||
=======
|
||||
CFLAGS += -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig gdk-pixbuf-2.0 alsa`
|
||||
LDLIBS += -liw -lxcb -lpthread -lxcb-randr -lxcb-ewmh -lxcb-icccm -lm `pkg-config --libs pango pangocairo libconfig gdk-pixbuf-2.0 alsa`
|
||||
>>>>>>> remove monospace, add to readme
|
||||
PROGRAM := yabar
|
||||
DOCS := $(PROGRAM).1
|
||||
PREFIX ?= /usr
|
||||
|
|
|
@ -191,6 +191,11 @@ command-button4: "pactl set-sink-volume 0 +10%";
|
|||
command-button5: "pactl set-sink-volume 0 -10%";
|
||||
----
|
||||
|
||||
* *Pango fix*: When using some symbolic fonts, there can be occasional issues where space characters become unknown glyphs. This fix makes Pango use fallbacks properly (NOTE: the regular font should be specified first, then the symbolic font as shown in the Font section). Example:
|
||||
----
|
||||
fix-pango: true;
|
||||
----
|
||||
|
||||
Yabar sets a handful of environment variables before executing your commands/scripts that are defined in the 'command-button{1-5}' entry. Such env variables can be useful when drawing your window on the corresponding button press or determining where the click occured. Current env variables are:
|
||||
----
|
||||
$YABAR_BLOCK_X # beginning x axis for the block
|
||||
|
|
Loading…
Add table
Reference in a new issue