add manpage
This commit is contained in:
parent
d072368de0
commit
e7214b60fa
2 changed files with 26 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -1,4 +1,5 @@
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
|
MANPREFIX ?= $(PREFIX)/share/man
|
||||||
CC ?= cc
|
CC ?= cc
|
||||||
|
|
||||||
output: someblocks.c blocks.def.h blocks.h
|
output: someblocks.c blocks.def.h blocks.h
|
||||||
|
@ -12,5 +13,8 @@ clean:
|
||||||
install: output
|
install: output
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||||
install -m 0755 someblocks $(DESTDIR)$(PREFIX)/bin/someblocks
|
install -m 0755 someblocks $(DESTDIR)$(PREFIX)/bin/someblocks
|
||||||
|
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||||
|
install -m 0644 someblocks.1 $(DESTDIR)$(MANPREFIX)/man1/someblocks.1
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/someblocks
|
rm -f $(DESTDIR)$(PREFIX)/bin/someblocks
|
||||||
|
rm -f $(DESTDIR)$(MANPREFIX)/man1/someblocks.1
|
||||||
|
|
22
someblocks.1
Normal file
22
someblocks.1
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
.TH someblocks 1 someblocks\-1.0
|
||||||
|
.SH NAME
|
||||||
|
someblocks \- Modular status bar for somebar
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B someblocks
|
||||||
|
.RB [ \-d
|
||||||
|
.IR delimiter ]
|
||||||
|
.RB [ \-s
|
||||||
|
.IR path ]
|
||||||
|
.RB [ \-p ]
|
||||||
|
.SH DESCRIPTION
|
||||||
|
Modular status bar for somebar written in c.
|
||||||
|
.SH OPTIONS
|
||||||
|
.TP
|
||||||
|
.B \-d
|
||||||
|
Sets the delimiter between blocks
|
||||||
|
.TP
|
||||||
|
.B \-s
|
||||||
|
Sets the path to the somebar control FIFO. The default value is
|
||||||
|
$XDG_RUNTIME_DIR/somebar-0
|
||||||
|
.SH BUGS
|
||||||
|
Send bug reports to ~raphi/public-inbox@lists.sr.ht
|
Reference in a new issue