Farfi55 / dynamic-wallpaper-improved

A bash script to adapt your wallpaper to the time πŸ₯³

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


β•Ίβ”³β”“β•» ╻┏┓╻┏━┓┏┳┓╻┏━╸   β•» ╻┏━┓╻  β•»  ┏━┓┏━┓┏━┓┏━╸┏━┓
 ┃┃┗┳┛┃┗┫┣━┫┃┃┃┃┃     ┃╻┃┣━┫┃  ┃  ┣━┛┣━┫┣━┛┣╸ ┣┳┛
β•Ίβ”»β”› β•Ή β•Ή β•Ήβ•Ή β•Ήβ•Ή ╹╹┗━╸   β”—β”»β”›β•Ή ╹┗━╸┗━╸╹  β•Ή β•Ήβ•Ή  ┗━╸╹┗╸
[ I M P R O V E D ]

A bash script to adapt your wallpaper to the time

Sponsor the original creator, adi1090x:
Buy Me a Coffee | Ko-fi | PayPal | Patreon

Showcase with a timelapse of a desktop background changing throughout the day

DWI (Dynamic Wallpaper Improved)

Overview

  • 25+ different adaptive wallpapers included
  • Easy manual addition of custom wallpapers
  • Extensive Pywal support to adjust your program themes as well
  • Uses cronjobs to reliably refresh the wallpaper (e.g. every hour)
  • Tested on many setups (see the original repository for a list)
  • Extended support for GNOME theming
  • Many improvements (see below!)

System Requirements

Make sure your system fulfills the following requirements before using DWI:

  • GNU Operating System (required): DWI makes use of a lot of standard GNU utilities (such as bash, grep, xargs, etc.). If you're using a common "Linux" distribution, you're probably running the GNU Operating System. If you're on a BSD, Windows, macOS or a demanding Linux distribution (such as Alpine Linux), this script will not work without significant workarounds! One way to make sure you're on GNU is by checking the output of uname -o in a terminal.
  • feh (required): This is used to set the wallpaper in most environments
  • cron (semi-required): While not necessary for DWI to function, you probably want to run this script every hour or so to refresh your background wallpaper. This can preferrably be done by using a cronjob. A popular tool to manage cronjobs is Cronie. An instruction on how to set up a cronjob with Cronie can be found in the original Dynamic Wallpaper program by adi1090x.
  • xrandr (semi-required): Xrandr is only needed if you use the XFCE desktop environment
  • pywal (optional): If you use Pywal to theme your applications like your desktop wallpaper, DWI can do that for you automatically!

Improvements

  • General
    • Extended help message
    • Added script reinstall.sh to reinstall the dwall.sh script only, e.g. after an update (update via git pull --all --rebase or equivalent)
      Note: If you want to also receive new wallpapers from an update, you have to run install.sh and log in again (depending on your environment). You might be stuck with a black wallpaper until you reload your environment. If you want to avoid logging out, you can also first run uninstall.sh before installing everything again.
    • Removed seemingly unnecessary test.sh file
  • Options
    • Added option to copy the wallpaper to a file instead of setting it directly (Thanks Kagia001! πŸ’―)
  • Environments
  • Wallpapers
    • Added macOS Big Sur adaptive wallpaper (Thanks egemertdogan! πŸŽ‰)
  • Pywal
    • Added the option to pass in a different pywal backend using -b [BACKEND]
    • Added the option to create a light or dark theme based on
      • Forcing the light theme (using -l)
      • Automatically guessing day/night time by evaluating
        • The GNOME theme
        • The current time of day
  • GNOME
    • DWI also refreshes the lock screen image
    • Better Pywal integration (by taking the current GNOME theme into account)

Instructions

Make sure to follow the instructions included in the original Dynamic Wallpaper repository!

About

A bash script to adapt your wallpaper to the time πŸ₯³

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%