Categorygithub.com/nomad-software/screensaver
repository
0.0.0-20230617133620-2bcbfa6c605b
Repository: https://github.com/nomad-software/screensaver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

screensaver

A simple Linux screensaver framework

Prerequisites

How it works

This framework is composed of multiple parts, a launcher, multiple savers and a command tool to send commands to the launcher. The launcher is responsible for the launching of the savers, while the savers themselves just draw something nice on-screen and exit when input is detected.

The launcher uses a timer, that when expired, will launch the defined executable. Any input will reset the timer and delay the launch.

Install

Just run the install.sh script. This will compile and install the various binaries.

Add to startup

It differs between different Linux distributions but just add the launcher to startup with the necessary options.

Example

screensaver-launcher -timer 15m -saver screensaver-game-of-life > /dev/null 2>&1

In this example you can see the screensaver-game-of-life saver is being executed after the timer expires but any executable can be launched.

Commands

You can use the command tool to send commands to the launcher to control its behaviour.

CommandDescription
screensaver-command -resetReset the launcher timer.
screensaver-command -activateExpires the timer and activate the specified saver.

Savers

screensaver-digital-rain

screensaver-game-of-life