man page
This commit is contained in:
5
Makefile
5
Makefile
@@ -7,7 +7,10 @@ normal:
|
|||||||
proto:
|
proto:
|
||||||
cat *.c | egrep '^(void|int|char|unsigned|Window|client)' | sed -r 's/\)/);/' > proto.h
|
cat *.c | egrep '^(void|int|char|unsigned|Window|client)' | sed -r 's/\)/);/' > proto.h
|
||||||
|
|
||||||
|
docs:
|
||||||
|
pandoc -s -w man xoat.md -o xoat.1
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f xoat
|
rm -f xoat
|
||||||
|
|
||||||
all: proto normal
|
all: docs proto normal
|
||||||
@@ -39,4 +39,6 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$_gitname-build"
|
cd "$srcdir/$_gitname-build"
|
||||||
install -Dm 755 $_gitname "$pkgdir/usr/bin/$_gitname"
|
install -Dm 755 $_gitname "$pkgdir/usr/bin/$_gitname"
|
||||||
|
gzip -c "$_gitname.1" > "$_gitname.1.gz"
|
||||||
|
install -Dm644 "$_gitname.1.gz" "$pkgdir/usr/share/man/man1/$_gitname.1.gz"
|
||||||
}
|
}
|
||||||
103
xoat.1
Normal file
103
xoat.1
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
.TH XOAT 1 ""
|
||||||
|
.SH NAME
|
||||||
|
.PP
|
||||||
|
xoat - X11 Obstinate Asymmetric Tiler
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.PP
|
||||||
|
\f[B]xoat\f[]
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.PP
|
||||||
|
A static tiling window manager.
|
||||||
|
.PP
|
||||||
|
License: MIT/X11
|
||||||
|
.SH USAGE
|
||||||
|
.PP
|
||||||
|
See config.h for customization.
|
||||||
|
.PP
|
||||||
|
These are the default key bindings:
|
||||||
|
.TP
|
||||||
|
.B Mod4-1
|
||||||
|
Focus tile 1.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Mod4-2
|
||||||
|
Focus tile 2.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Mod4-3
|
||||||
|
Focus tile 3.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Shift-Mod4-1
|
||||||
|
Move window to tile 1.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Shift-Mod4-2
|
||||||
|
Move window to tile 2.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Shift-Mod4-3
|
||||||
|
Move window to tile 3.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Mod4-Tab
|
||||||
|
Flip top two windows in a tile.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Mod4-` (grave)
|
||||||
|
Cycle all windows in a tile.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Mod4-Escape
|
||||||
|
Close a window.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Mod4-f
|
||||||
|
Toggle fullscreen.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Mod4-Right
|
||||||
|
Focus next monitor.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Mod4-Left
|
||||||
|
Focus previous monitor.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Shift-Mod4-Right
|
||||||
|
Move window to next monitor.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Shift-Mod4-Left
|
||||||
|
Move window to previous monitor.
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B Shift-Mod4-x
|
||||||
|
Launch dmenu_run
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.TP
|
||||||
|
.B F1
|
||||||
|
Launch urxvt
|
||||||
|
.RS
|
||||||
|
.RE
|
||||||
|
.SH SEE ALSO
|
||||||
|
.PP
|
||||||
|
\f[B]dmenu\f[] (1)
|
||||||
|
.SH AUTHOR
|
||||||
|
.PP
|
||||||
|
Sean Pringle <sean.pringle@gmail.com>
|
||||||
77
xoat.md
Normal file
77
xoat.md
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
% XOAT(1)
|
||||||
|
|
||||||
|
# NAME
|
||||||
|
|
||||||
|
xoat \- X11 Obstinate Asymmetric Tiler
|
||||||
|
|
||||||
|
# SYNOPSIS
|
||||||
|
|
||||||
|
**xoat**
|
||||||
|
|
||||||
|
# DESCRIPTION
|
||||||
|
|
||||||
|
A static tiling window manager.
|
||||||
|
|
||||||
|
License: MIT/X11
|
||||||
|
|
||||||
|
# USAGE
|
||||||
|
|
||||||
|
See config.h for customization.
|
||||||
|
|
||||||
|
These are the default key bindings:
|
||||||
|
|
||||||
|
Mod4-1
|
||||||
|
: Focus tile 1.
|
||||||
|
|
||||||
|
Mod4-2
|
||||||
|
: Focus tile 2.
|
||||||
|
|
||||||
|
Mod4-3
|
||||||
|
: Focus tile 3.
|
||||||
|
|
||||||
|
Shift-Mod4-1
|
||||||
|
: Move window to tile 1.
|
||||||
|
|
||||||
|
Shift-Mod4-2
|
||||||
|
: Move window to tile 2.
|
||||||
|
|
||||||
|
Shift-Mod4-3
|
||||||
|
: Move window to tile 3.
|
||||||
|
|
||||||
|
Mod4-Tab
|
||||||
|
: Flip top two windows in a tile.
|
||||||
|
|
||||||
|
Mod4-` (grave)
|
||||||
|
: Cycle all windows in a tile.
|
||||||
|
|
||||||
|
Mod4-Escape
|
||||||
|
: Close a window.
|
||||||
|
|
||||||
|
Mod4-f
|
||||||
|
: Toggle fullscreen.
|
||||||
|
|
||||||
|
Mod4-Right
|
||||||
|
: Focus next monitor.
|
||||||
|
|
||||||
|
Mod4-Left
|
||||||
|
: Focus previous monitor.
|
||||||
|
|
||||||
|
Shift-Mod4-Right
|
||||||
|
: Move window to next monitor.
|
||||||
|
|
||||||
|
Shift-Mod4-Left
|
||||||
|
: Move window to previous monitor.
|
||||||
|
|
||||||
|
Shift-Mod4-x
|
||||||
|
: Launch dmenu_run
|
||||||
|
|
||||||
|
F1
|
||||||
|
: Launch urxvt
|
||||||
|
|
||||||
|
# SEE ALSO
|
||||||
|
|
||||||
|
**dmenu** (1)
|
||||||
|
|
||||||
|
# AUTHOR
|
||||||
|
|
||||||
|
Sean Pringle <sean.pringle@gmail.com>
|
||||||
Reference in New Issue
Block a user