Getting terminal color scheme from an image. - Printable Version +- nixers (https://nixers.net) +-- Forum: Desktop Customization, Efficiency, and Aesthetics (https://nixers.net/Forum-Desktop-Customization-Efficiency-and-Aesthetics) +--- Forum: Desktop Customization & Workflow (https://nixers.net/Forum-Desktop-Customization-Workflow) +--- Thread: Getting terminal color scheme from an image. (/Thread-Getting-terminal-color-scheme-from-an-image) |
Getting terminal color scheme from an image. - Giacobbe - 28-05-2015 Alright, so I've been trying to use the follow script https://github.com/everett1992/wp to generate a color scheme from my current background, but I'm having some trouble. If I CD in the scripts directory, and run Code: ./wp add /home/jake/Pictures/wallpapers/UfCjC8q.jpg The following comes up Code: :: Generating ./home/jake/Pictures/wallpapers/UfCjC8q.jpg.colors and ./home/jake/Pictures/wallpapers/UfCjC8q.jpg.Xres in /home/jake/Pictures/wallpapers /home/jake/Pictures/wallpapers/UfCjC8q.jpg :: is not a recognised directive Then nothing else happens, anyone have any ideas? RE: Getting terminal color scheme from an image. - Webtm - 28-05-2015 Does the picture exist? RE: Getting terminal color scheme from an image. - fayesafe - 28-05-2015 Try to change line 19: "while test $# -gt 0; do" to "while test $# -gt 1; do" and you should not get that error anymore. The script should work as expected i guess, so regardless of the error message it should generate a colorscheme for you. RE: Getting terminal color scheme from an image. - venam - 29-05-2015 If you are interested in trying another program you should give gpick a try. Just quoting the features: Quote: Magnification and mouse pointer control with keyboard. RE: Getting terminal color scheme from an image. - Wildefyr - 29-05-2015 +1 for gpick, very useful when using other tools alongside it. |