thejandroman / bing-wallpaper Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ktmud/bing-wallpaper
Bing.com wallpaper for OS X, and any Unix like desktop (eg. Ubuntu).
License: GNU General Public License v3.0
This project forked from ktmud/bing-wallpaper
Bing.com wallpaper for OS X, and any Unix like desktop (eg. Ubuntu).
License: GNU General Public License v3.0
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.
You should also add a method to get the specific resolution image.
Steps to reproduce:
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.
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:
Hi,
./bing-wallpaper.sh -w, fails to set wallpaper on multiple monitors
It does a good job for 1 monitor
OS: Mac 10.13
Version: 0.4.0
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.
Have you thought about publishing this as a homebrew package for even easier install and updates?
Would you mind if someone else did?
run bing-wallpaper.sh will get:
curl: (3) URL using bad/illegal format or missing URL
When running on MacOS 10.15.7, I'm getting an error when constructing urls. This is an example:
Workaround: insert grep -v '"'
after sed in parsing urls.
Now download files not correct, has:
th?id=OHR.SeptimiusSeverus_ROW8081151443_1920x1080.jpg&rf=NorthMale_1920x1080.jpg&pid=hp
I've recently upgraded to Big Sur and the script no longer works. Suggestions accepted :)
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 | \'
Bing wallpapers are now available in UHD 5935 × 3338 (e.g. https://www.bing.com/th?id=OHR.HogwartsExpress_EN-GB7641570883_UHD.jpg) and also 3840x2160.
ImageFilePath=$PICTURE_DIR/$filename
osascript -e 'set theUnixPath to POSIX file "'$ImageFilePath'" as text
tell application "Finder"
set desktop picture to {{theUnixPath}} as alias
end tell'
It download only a 2kb file with the correct name (I guess)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.