summaryrefslogtreecommitdiffstats
path: root/waytils.1
diff options
context:
space:
mode:
Diffstat (limited to 'waytils.1')
-rw-r--r--waytils.146
1 files changed, 46 insertions, 0 deletions
diff --git a/waytils.1 b/waytils.1
new file mode 100644
index 0000000..5f688f5
--- /dev/null
+++ b/waytils.1
@@ -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.