Giter VIP home page Giter VIP logo

Comments (3)

evertdespiegeleer avatar evertdespiegeleer commented on July 16, 2024 1

@akramsaouri Fixed this. Thanks!

from prettyearth.

evertdespiegeleer avatar evertdespiegeleer commented on July 16, 2024

Thanks! That's great to hear.

I have thought about this during development, but there are a few reasons I haven't implemented it:

  • It's surprisingly difficult and hacky to reliably change the wallpaper on a Mac programatically. Here's the code that does that. As you can see it doesn't actually happen reliably. The code doesn't (and can't) check if the wallpaper really changes, it just throws the command at the computer and assumes it works. I tested it a lot and it never failed so it seems to work, but to my knowledge there's no check/callback possible. I tried other ways than AppleScript to do to the switching but this turned out to be the best one, and it's still pretty ugly code. It seemed to always work this way so I just carefully left it there and never touched it again.
  • I actually incorrectly assumed it changed the wallpaper on all the screens, but I should have checked that
  • I only have 1 screen which makes testing pretty difficult

However, I've read your feature request a few times on multiple platforms, so I will look into it.
I'm trying not to deviate from the AppleScript-solution, but I do think it can be done with AppleScript.

Thanks for the feedback!

from prettyearth.

mjot avatar mjot commented on July 16, 2024

Could you create a new release? :)

from prettyearth.

Related Issues (2)

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.