This commit is contained in:
seanpringle
2012-09-01 22:38:13 +10:00
parent d172c90a03
commit e58313bb69
4 changed files with 186 additions and 1 deletions

View File

@@ -7,7 +7,10 @@ normal:
proto:
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:
rm -f xoat
all: proto normal
all: docs proto normal

View File

@@ -39,4 +39,6 @@ build() {
package() {
cd "$srcdir/$_gitname-build"
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
View 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
View 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>