client for 'slideshow-api'
Find a file
2023-11-21 14:38:41 +01:00
.vscode optimized color palette generation 2023-11-21 14:38:41 +01:00
images initial commit 2023-11-16 15:26:24 +01:00
internal optimized color palette generation 2023-11-21 14:38:41 +01:00
.gitignore fixed .gitignore 2023-11-16 15:29:55 +01:00
go.mod pipe scaled image to feh's stdin instead of writing to a file 2023-11-17 13:09:17 +01:00
go.sum fixed some minor bugs and added basic color palette functionality 2023-11-16 16:13:01 +01:00
LICENSE.md initial commit 2023-11-16 15:26:24 +01:00
main.go initial commit 2023-11-16 15:26:24 +01:00
README.md export color palette to a file 2023-11-20 16:48:18 +01:00
slideshow.service added new environment variable to service 2023-11-20 16:50:41 +01:00

slideshow

a simple cli application to start a background image slideshow using 'feh'.

requirements

configuration

configuration is entirely done via environment variables.

variable default description
SLIDESHOW_INTERVAL 60 the interval of the slideshow in seconds
SLIDESHOW_DIRECTORY "$HOME" path to a directory containing images
SLIDESHOW_RESOLUTION the resolution to which images are scaled (i.e. 1920x1080)
SLIDESHOW_PALETTE path to a file where the color palette will be stored
SLIDESHOW_LOGLEVEL "info" the log level

note:
if no resolution is set the images will be displayed as they are (without any scaling).

available log levels:

  • debug
  • info
  • warning
  • error
  • fatal