Skip to content

z-izz/yadyn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yadyn

A dynamic wallpaper manager, written in Ruby.

How to install & use

  1. Download the .deb from the releases tab.
  2. Install the .deb with sudo dpkg -i ~/Downloads/yadyn.deb.
  3. Get or make a dynamic wallpaper
  4. Add yadyn to cron to run every hour

cron

  1. Start crontab -e, it lets you edit what cron does.
  2. Append the following line. This line runs yadyn every hour at minute 0. Replace [theme] with the path to the yadyn.cfg of the theme you want.
0 * * * * /usr/bin/yadyn [theme] > ~/yadyn-cron.log

Making wallpapers

  1. Gather 5 versions of your image.

one for midnight, another for morning, another for afternoon, another for evening, and another for night.

  1. Name them in this naming scheme: image_%.png - % is the stage of the day.

0 = midnight, 1 = morning, 2 = afternoon, 3 = evening, 4 = night.

  1. Create a yadyn.cfg file. This is an example yadyn.cfg.
# Configuration file for yadyn.

[bg]
# the image format for the names. % is replaced with the stage of day
# 0 = midnight, 1 = morning, 2 = afternoon, 3 = evening, 4 = night.
format=/path/to/wallpaper/folder/image_%.png

[stage]
# which hour will be the stage of day
midnight=00
morning=06
afternoon=13
evening=18
night=21

Change it as you please.