Comments (5)
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.
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.
Done.
from dynamic-wallpaper.
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.
Nevermind, found the file ~/.cache/dwall_current
from dynamic-wallpaper.
Related Issues (20)
- Wallpaper not changing on ARCH HOT 1
- Change wallpaper on wake
- No hourly change echo "$DESKTOP_SESSION" plasma HOT 2
- pop!OS No wallpaper in "Darkmode" HOT 1
- remake/port for python using argparse
- Debian 12 Xfce 4.18 +compiz ./test.sh -s xxxx Does not do anything.
- Permission denied error HOT 4
- Complain about oguri and swaybg on Gnome 46 HOT 3
- Wallpaper Not Changing, Result of -> echo $DESKTOP_SESSION : /usr/share/xsessions/plasmax11 HOT 1
- Instructions not clear
- Wallpaper not changing: Output of "echo $DESKTOP_SESSION" is "zorin" HOT 3
- Will there be a version of this for any other distros than Arch(-based)/Ubuntu(-based) and Debian(-based) ones? HOT 1
- Why isn't the wallpaper watching the time? ~$ echo $DESKTOP_SESSION pantheon HOT 2
- Wallpaper not changing on budgie-desktop HOT 1
- Wallpaper not changing after Pop OS upgrade HOT 3
- cost too much memory HOT 1
- Invalid style of all default implemented styles HOT 1
- [Ubuntu 20.04] Wallpaper not change HOT 18
- It's not working on my manjaro distro HOT 1
- How to use this with Archcraft Wayfire? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamic-wallpaper.