drgarlic / art Goto Github PK
View Code? Open in Web Editor NEW:art: A smart theme generator
License: MIT License
:art: A smart theme generator
License: MIT License
Hi! I wanted to try out this on macOS. I know it's not supported, so feel free to tell me to figure this out myself.
I'm only concerned with the part of the script that figures out the values for the colors, not the actual updating, so I see no issue in this working correctly. All I did so far is changing line 69 in args
to path=$(${args[$i]})
because there's no realpath
in macOS. The way I did you have to specify the full path of the file, but that looks like a minor inconvenience.
However, I'm getting this in response:
xrandr: Failed to get size of gamma for output default
args: line 69: /Users/[my name]/Pictures/Wallpapers/hills.jpg: Permission denied
ERROR: The provided file doesn't exist
I feel like I can safely ignore both the first and last line, but naturally I can't get past the permission denied. The file in question is:
-rw-r--r--@ 1 [my name] staff 600903 17 Mar 22:38 hills.jpg
So I can't really figure out the issue. Any ideas?
EDIT: yeahhhh, it should have been path=${args[$i]}
. I'm sorry, it works now.
Small error at the top of art script prevents it from running where bash is not default system shell. Shebang at top should read #!
not #
.
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.