Skip to content

macOS-like dynamic wallpapers for Linux and Windows.

License

Notifications You must be signed in to change notification settings

Pitasi/dyn-wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emulate macOS Mojave's dynamic wallpaper

What you get

Dyn Wallpaper

Why

Yeah, since the first time I looked at Mojave's dynamic wallpaper I fell in love with them.

I wrote this little utility to periodically change wallpaper while blending the images together based on the current time, relative to sunrise/sunset.

I tested this on Arch Linux and Windows 10. Mac OS support has not been tested yet.

Requirements

Download the source Mojave images (I'm not going to upload them in this repository in order to avoid copyright problems) from the internet.

Extract the images in a folder, i.e. ~/Images/Wallpapers.

How to use this

From the release page download the latest binary for your platform (Linux, Mac OS, or Windows).

You can specify which command should be executed to change your wallpaper. By default, dyn-wallpaper uses feh, for Gnome that's not ideal and I'm providing an example below.

Run it from a terminal (or command prompt if you prefer):

# using feh
$ ./dyn-wallpaper "Rome" "~/Images/Wallpapers"

# using Gnome
$ ./dyn-wallpaper "Rome" "~/Images/Wallpapers" "gsettings set org.gnome.desktop.background picture-uri {path}"

# using contractor from Elementary OS 5.1.2 "Hera"
$ ./dyn-wallpaper "Rome" "~/Images/Wallpapers" "/usr/lib/x86_64-linux-gnu/io.elementary.contract.set-wallpaper {path}"

# using swaybg for swaywm
$ ./dyn-wallpaper "Rome" "~/Images/Wallpapers" "swaybg -o '*' -i {path} -m fill"

# please submit PRs with other DE if you can make them work!

You can find a list of valid city names here.

Contributing

Issues and PRs are welcome. Go ahead!

You're gonna need Rust (with Cargo) to easily edit and build the sources.

Build the project

$ git clone https://github.com/Pitasi/dyn-wallpaper

# Test it
$ cargo run "Rome" "~/Images/Wallpapers"

# Build it
$ cargo build --release

About

macOS-like dynamic wallpapers for Linux and Windows.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages