docs and stuff

This commit is contained in:
Rakarake 2026-02-28 03:48:51 +01:00
parent d7966375f1
commit 60abe76709
4 changed files with 36 additions and 4 deletions

1
.gitignore vendored
View file

@ -7,3 +7,4 @@ wlr-layer-shell-unstable-v1-protocol.c
xdg-shell-protocol.h
xdg-shell-protocol.c
shaders/
result/

View file

@ -22,6 +22,11 @@ wlr-layer-shell-unstable-v1-protocol.c:
$(WAYLAND_SCANNER) private-code protocols/wlr-layer-shell-unstable-v1.xml $@
wlr-layer-shell-unstable-v1-protocol.o: wlr-layer-shell-unstable-v1-protocol.h
PREFIX ?= /usr/local
install: glonkers
install -D -t $(DESTDIR)$(PREFIX)/bin glonkers
install -D -t $(DESTDIR)$(PREFIX)/share/man/man1 glonkers.1
clean:
rm -f *.o xdg-shell-protocol* wlr-layer-shell-unstable* glonkers

View file

@ -23,10 +23,7 @@
buildInputs = with pkgs; [
libGL
];
installPhase = ''
mkdir -p $out/bin
cp glonkers $out/bin
'';
makeFlags = [ "PREFIX=$(out)" ];
};
devShell = pkgs.mkShell {
packages =

29
glonkers.1 Normal file
View file

@ -0,0 +1,29 @@
.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
.SH SEE ALSO
\fBwlr-randr\fR(1)
.PP
.SH AUTHOR
Rakarake (raka@rakarake.xyz)