Giter VIP home page Giter VIP logo

Comments (5)

das-s avatar das-s commented on July 17, 2024

As far as I'm aware this is not really possible in the current state. I'm currently testing a fork where the path of the currently used wallpaper is written into a cache file. That path could be fed into pywal. You'd still need to run dwall via cron job though to get hourly updates.

To achieve this functionality get the aforementioned fork from github and make the dwall script in that repo executable. Copy paste the following script into a file and place it somewhere in your home dir (e.g. /home/samsa283/bin/my-script.sh):

#!/usr/bin/env bash
export DISPLAY=:0 # This is ensuring the display is properly set
/path/to/dwall-script -o firewatch3 & wal --backend wal -i "$(cat ~/.cache/dwall/currentimage)"

Change the path for the dwall script (the forked one) and make the new script executable with chmod +x /home/samsa283/bin/my-script.sh. Install a cron job utility then use crontab -e to insert the following:

0 * * * * /home/samsa283/bin/my-script.sh

You can test it if its working properly by replacing the 0 * * * * with * * * * * to make it run on every minute (Have a look at the arch wiki).

Hope that helps.

from dynamic-wallpaper.

hixan avatar hixan commented on July 17, 2024

I ended up creating my own script that will change wallpapers according to the time in python and calling pywal from that script (with some checks to make sure the process doesnt get started multiple times) I can share if there is any interest

from dynamic-wallpaper.

adi1090x avatar adi1090x commented on July 17, 2024

Done.

from dynamic-wallpaper.

pnchinmay avatar pnchinmay commented on July 17, 2024

I ended up creating my own script that will change wallpapers according to the time in python and calling pywal from that script (with some checks to make sure the process doesnt get started multiple times) I can share if there is any interest

Hi @hixan, could you share your script ?

from dynamic-wallpaper.

pnchinmay avatar pnchinmay commented on July 17, 2024

Nevermind, found the file ~/.cache/dwall_current

from dynamic-wallpaper.

Related Issues (20)

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.