initial commit

This commit is contained in:
2024-03-30 14:55:57 -04:00
commit 30bea0c6c1
4 changed files with 341 additions and 0 deletions

46
waytils.1 Normal file
View File

@ -0,0 +1,46 @@
.Dd February 16, 2024
.Dt WAYTILS 1
.Sh NAME
.Nm waytils
.Nd information about the current wayland session
.Os
.Sh SYNOPSIS
.Nm
.Op Fl v
.Op Fl h
.Sh DESCRIPTION
.Nm
is a small program to check information about the current wayland session.
.Nm
requires a compositor that implements the following protocols:
.TS
tab(;) allbox;
c;c.
Protocol; Version
Idle Inhibit; 1
XDG Shell Client; 1
Idle Notify; 1
.TE
.Sh OPTIONS
.Pp
When given the
.Fl v
option,
.Nm
writes it's name and version to standard error and exits with a return value of
1.
.Pp
When given the
.Fl h
option,
.Nm
displays some information about flags to standard error and exits with a return
.Pp
When given the
.Fl f
option,
.Nm
forks into the background, and the parent process returns 0
value of 1.
.Sh BUGS
Works on my machine.