Code Monkey home page Code Monkey logo

bing-wallpaper's People

Contributors

bitdeli-chef avatar kirtangajjar avatar ktmud avatar microdog avatar thejandroman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bing-wallpaper's Issues

error code 127 on launchctl

On my mac (macOS Mojave), the launch job returns an error code 127 (which a generic error).

My manual fix was the editing the following:

		<key>ProgramArguments</key>
		<array>
			<string>/Users/<my username>/bin/bing-wallpaper.sh</string>
			<string>-w</string>
		</array>

Not sure this works on all versions, though.

Syntax error on macOS High Sierra 10.13.6

Steps to reproduce:

  1. run bing-wallpaper.sh on terminal

Current behaviour:
Syntax Error Appears,

bing-wallpaper.sh: line 108: syntax error near unexpected token `<'
bing-wallpaper.sh: line 108: `read -ra urls < <(curl -sL $PROTO://www.bing.com | \'

Expected behaviour:
Downloading the images and display the downloaded images to the terminal.

Script fails on MacOS Monterey (12.4) because grep does not support -P option

The current version of this script (0.5.0) does not work on macOS Monterey because it fails with the following error:

grep: invalid option -- P
usage: grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C[num]]
            [-e pattern] [-f file] [--binary-files=value] [--color=when]
            [--context[=num]] [--directories=action] [--label] [--line-buffered]
            [--null] [pattern] [file ...]

I checked the man pages of grep and there seems to be no option that does something similar.

So in my mind there are 3 options:

  1. replace the grep -Po with the previously used grep -Eo
  2. provide a tutorial how to update/change grep on macOS
  3. drop macOS support for this script

Wallpaper not set in Catalina 10.15.2

I upgraded to Catalina 10.15.2 and I can't put the saved image as wallpaper anymore.
If I place the image manually, when running the script it returns the default image of the system.

Brew Package

Have you thought about publishing this as a homebrew package for even easier install and updates?

Would you mind if someone else did?

File result incorrect

Now download files not correct, has:
th?id=OHR.SeptimiusSeverus_ROW8081151443_1920x1080.jpg&rf=NorthMale_1920x1080.jpg&pid=hp

macOS Big Sur

I've recently upgraded to Big Sur and the script no longer works. Suggestions accepted :)

errror launch on macos 10.13.4

error is below:

bing-wallpaper.sh: line 97: syntax error near unexpected token `('
bing-wallpaper.sh: line 97: `read -ra urls <<(curl -sL $PROTO://www.bing.com | \'

Problem setting wallpaper.

Hi, the program downloads the picture perfect, but in the process of setting the wallpaper it crashes and ends up with a gray part. Do you know why it happens?

Screen Shot 2020-03-23 at 07 48 53
LenticularVideo_ROW7518624350_1920x1080

wrong download

It download only a 2kb file with the correct name (I guess)

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.