diff --git a/paquetes/plantillas/xnotify/files/config.h b/paquetes/plantillas/xnotify/files/config.h new file mode 100644 index 0000000..933d45a --- /dev/null +++ b/paquetes/plantillas/xnotify/files/config.h @@ -0,0 +1,30 @@ +static struct Config config = { + /* fonts, separate different fonts with comma */ + .titlefont = "ubuntu:size=10:style=bold", + .bodyfont = "ubuntu:size=9", + + /* colors */ + .background_color = "#263238", + .foreground_color = "#ececec", + .border_color = "#ececec", + + /* geometry and gravity (see the manual) */ + .geometryspec = "250x0-5+25", + .gravityspec = "NE", + + /* size of border, gaps and image (in pixels) */ + .border_pixels = 1, + .gap_pixels = 5, + .image_pixels = 0, /* if 0, the image will fit the notification */ + .leading_pixels = 5, /* space between title and body texts */ + .padding_pixels = 10, /* space around content */ + + /* text alignment, set to LeftAlignment, CenterAlignment or RightAlignment */ + .alignment = RightAlignment, + + /* set to nonzero to shrink notification width to its content size */ + .shrink = 0, + + /* time, in seconds, for a notification to stay alive */ + .sec = 15 +}; diff --git a/paquetes/plantillas/xnotify/template b/paquetes/plantillas/xnotify/template new file mode 100644 index 0000000..d839b3e --- /dev/null +++ b/paquetes/plantillas/xnotify/template @@ -0,0 +1,16 @@ +# Template file for 'xnotify' +pkgname=xnotify +version=0.5.0 +revision=1 +build_style=gnu-makefile +makedepends="imlib2-devel libX11-devel libXft-devel libXinerama-devel" +short_desc="Simple yet powerful notification launcher without dbus" +maintainer="tuxliban " +license="MIT" +homepage="https://github.com/phillbush/xnotify" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=307f7f87a215f01da38b953c57be11ed42909afca541d159163b010cbdae45a2 + +do_build() { + export CFLAGS=${CFLAGS} +}