glonkers/glonkers.1
2026-03-12 14:21:46 +01:00

72 lines
1.1 KiB
Groff

.TH glonkers 1 "February 2026" "1.0" "glonkers man page"
.SH NAME
glonkers \- Create windows and wallpapers with glsl fragment shaders.
.SH SYNOPSIS
glonkers [OPTIONS]... [FILE]
.SH OPTIONS
.PP
--window
.RS 4
Create a window.
.RE
.PP
--layer
.RS 4
Create wallpaper.
.RE
.PP
--output
.RS 4
Specify in the following arguments which outputs (monitors) that should be
rendered to. \fB--\fR can be used to end selection. Use something like
\fBwlr-randr\fR(1) to find out monitor names.
.RE
.PP
--texture
.RS 4
Supply a list of paths to textures (max 4) that can be referenced in the
shader with iChannel0, iChannel1, iChannel2, iChannel3.
.RE
.PP
--
.RS 4
Stop listing outputs/textures.
.RE
.SH SHADER BUILTINS
.PP
\fBiTime\fR : float
.RS 4
Time since program start.
.RE
.PP
\fBiResolution\fR : vec2
.RS 4
Resolution in (number of pixels) x & y.
.RE
.PP
\fBiFrame\fR : int
.RS 4
The currently rendered frame.
.RE
.PP
\fBiChannel\fR{\fB0\fR..\fB3\fR} : int
.RS 4
Samplers for provided textures.
.RE
.SH SEE ALSO
\fBwlr-randr\fR(1)
.PP
.SH AUTHOR
Rakarake (raka@rakarake.xyz)