GithubHelp home page GithubHelp logo

art's Issues

Permission denied

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.

Missing shebang

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 #.

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.