Nuevo: xnotify
XNotify recibe una especificación de notificación en stdin y muestra una notificación para el usuario en la pantalla
This commit is contained in:
parent
cbbce4a4a6
commit
884f36f825
|
@ -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
|
||||
};
|
|
@ -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 <tenshalito@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/phillbush/xnotify"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=307f7f87a215f01da38b953c57be11ed42909afca541d159163b010cbdae45a2
|
||||
|
||||
do_build() {
|
||||
export CFLAGS=${CFLAGS}
|
||||
}
|
Loading…
Reference in New Issue