M makefile => makefile +4 -1
@@ 4,6 4,7 @@ SRC = src/*.vala version.vala
PREFIX ?= /usr
BINDIR ?= /bin
+MANDIR ?= /share/man
PKG := $(foreach pkg, $(PKG), --pkg $(pkg))
CFLAGS := $(CFLAGS) $(shell pkg-config --cflags --libs $(CPKG))
@@ 25,8 26,10 @@ clean:
install: snixembed
install -Dm755 snixembed $(DESTDIR)$(PREFIX)$(BINDIR)/snixembed
+ install -Dm644 snixembed.1 $(DESTDIR)$(PREFIX)$(MANDIR)/man1/snixembed.1
uninstall:
- rm -f $(DESTDIR)$(PREFIX)$(BINDIR)/snixembed
+ rm -f $(DESTDIR)$(PREFIX)$(BINDIR)/snixembed \
+ $(DESTDIR)$(PREFIX)$(MANDIR)/man1/snixembed.1
.PHONY: clean install uninstall version.vala
A snixembed.1 => snixembed.1 +32 -0
@@ 0,0 1,32 @@
+\" Contributors: see groff_man(7) and man-pages(7)
+.TH snixembed 1 2022-07-25
+.SH NAME
+snixembed \- proxy the StatusNotifierItem protocol to the XEmbed System Tray
+.SH SYNOPSIS
+.SY snixembed
+.OP \-\-fork
+.YS
+.SH DESCRIPTION
+The snixembed daemon proxies StatusNotifierItems as XEmbedded System Tray icons.
+.SH OPTIONS
+.TP
+.BR \-\-fork
+.RS
+Set up in the foreground,
+then fork to background process.
+.PP
+This can be used to avoid race conditions with applications that expect a StatusNotifierWatcher to be ready on startup.
+Start these applications only after snixembed --fork has completed.
+.RE
+.SH BUGS
+Not all of the StatusNotifierItem specification is supported.
+Current support includes:
+mouse events,
+context menus,
+tooltips.
+There is also limited AppIndicator support.
+.SH AUTHORS
+Maintained by Steef Hegeman,
+who is assisted by other open source contributors.
+.PP
+More information and up-to-date sources can be found at https://git.sr.ht/~steef/snixembed.