make neko have somewhat of a sleep schedule

This commit is contained in:
Virt 2025-03-09 00:11:06 +01:00
commit 0917c3f9aa
3 changed files with 148 additions and 111 deletions

View file

@ -2,7 +2,7 @@
.
.SH NAME
.P
wayneko \- Neko on Wayland
wayneko \- Neko on Wayland but with phases
.
.
.SH SYNOPSIS
@ -17,10 +17,9 @@ wayneko \- Neko on Wayland
.OP \-\-outline\-colour 0xRRGGBB[AA]
.OP \-\-type neko|inu|random
.OP \-\-idle-sleep seconds
.OP \-\-sleepiness num
.OP \-\-sleepiness-night num
.OP \-\-phase-sleep seconds-seconds
.OP \-\-phase-awake seconds-seconds
.OP \-\-layer background|bottom|top|overlay
.OP \-\-follow\-pointer true|false
.OP \-\-survive\-close
.YS
.
@ -70,18 +69,19 @@ idle.
.RE
.
.P
\fB\-\-sleepiness\fR \fInum\fR
\fB\-\-phase-awake\fR \fIseconds-seconds\fR
.RS
Set neko's sleepiness as an integer (greater than 0). Higher values make neko
more sleepy. Defaults to 4.
Set the duration of how long neko will be awake at a time. Takes a minimum
and a maximum amount of seconds, separated by a dash. Actual duration will
be drawn uniformly at random between the two values. Defaults to 120-600.
.RE
.
.P
\fB\-\-sleepiness-night\fR \fInum\fR
\fB\-\-phase-sleep\fR \fIseconds-seconds\fR
.RS
Set neko's sleepiness at night as an integer (greater than 0). Higher values
make neko more sleepy. This setting acts as an additional sleepiness on top of
the normal sleepiness. Defaults to 5.
Set the duration of how long neko will sleep at a time. Takes a minimum
and a maximum amount of seconds, separated by a dash. Actual duration will
be drawn uniformly at random between the two values. Defaults to 450-1800.
.RE
.
.P
@ -95,12 +95,6 @@ Background may conflict with wallpaper clients.
.RE
.
.P
\fB\-\-follow\-pointer\fR \fBtrue\fR|\fBfalse\fR
.RS
Set whether neko follows the pointer when it approaches the bottom of the output
.RE
.
.P
\fB\-\-survive\-close\fR
.RS
If this flag is used, wayneko will recreate the surface after it has been closed.
@ -112,10 +106,15 @@ close the surface for a different reason.
.
.SH AUTHOR
.P
Code by
Original code by
.MT leonhenrik.plickat@stud.uni-goettingen.de
Leon Henrik Plickat
.ME .
.P
Fork with phases made by
.MT virtinstance@gmail.com
Virt
.ME .
.
.P
Neko bitmaps taken from public domain.