Giter VIP home page Giter VIP logo

yadyn's Introduction

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.

yadyn's People

Contributors

winksplorer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.