项目作者: nan0s7

项目描述 :
A Bash script to allow automatic profile creation of colour schemes computed by GVCCI via Gogh.
高级语言: Shell
项目地址: git://github.com/nan0s7/ngvccixgogh.git
创建时间: 2017-10-26T07:15:13Z
项目社区:https://github.com/nan0s7/ngvccixgogh

开源协议:MIT License

下载


ngvccixgogh

A Bash script to allow automatic profile creation of colour schemes computed by GVCCI via Gogh.

Please check out each respective project used here; Gogh and GVCCI!

Dependencies

  • Bash (I’m sure >v3 will work well)
  • git
  • The non-urxvt version uses Gogh to apply the colours
  • Everything you need for GVCCI to work (python3 and modules)

  • Thinking about adding the xdtool package to easily get the current window if the terminal isn’t shell-based like urxvt.

You will also need to be using a supported Terminal emulator unless you plan on helping someone add support, of course!

Setup

  • Make sure nlinker.sh and ngoghbase.sh are executable: chmod +x <file_name>
  • cd to a directory to place everything
  • Run git clone https://github.com/FabriceCastel/gvcci
  • Run ./install_dependencies.sh to set it up properly
  • Run git clone https://github.com/nan0s7/ngvccixgogh
  • cd into ngvccixgogh
  • Run nlinker.sh with desired arguments (see below)

Usage

nlinker.sh accepts two arguments, the path to the image you want to get the colours from, and the name of the profile to be created from those colours.

./nlinker.sh </path/to/image> <name>

nlinker_urxvt uses a different format:

./nlinker_urxvt.sh </path/to/image> </path/to/.Xresources>

If no .Xresources file is specified, it will default to /home/$user/.Xresources.

Please know this is an experiment and functionality may change at any time.