├── README.md ├── gengnuplotconfig ├── gplot └── install.sh /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ![alt text](https://i.imgur.com/4Bv9Nhf.png) 4 | ![alt text](https://i.imgur.com/dho7Kj8.png) 5 | ![alt text](https://i.imgur.com/G4mbqw9.png) 6 | 7 | 8 | # Gnuplot-Pywal 9 | 10 | Gnuplot-Pywal is a set of helper scripts that dynamically theme gnuplot based on colors set by [pywal](https://github.com/dylanaraps/pywal). 11 | 12 | 13 | ## Installation 14 | 15 | To install, simply move into the clone directory and run `sudo ./install.sh` 16 | 17 | ## Usage 18 | 19 | `gplot filename` 20 | 21 | Instead of running `gnuplot`, you can now run `gplot`, or whatever you want to alias it to. Every time it is run, it will execute the gengnuplotconfig script, which will populate your configuration file based on your current colorscheme. 22 | 23 | ### WARNING: 24 | By default, this script overwrites your current config. If you had anything special in that config, add it to the script so it is always in you config. 25 | 26 | -------------------------------------------------------------------------------- /gengnuplotconfig: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Generates gnuplot configuration file 4 | 5 | . $HOME/.cache/wal/colors.sh 6 | 7 | cat < $HOME/.gnuplot 3 | gnuplot 4 | -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Run as root, this will add the scripts to your path 4 | 5 | chmod +x gengnuplotconfig 6 | chmod +x gplot 7 | cp gengnuplotconfig /usr/bin/ 8 | cp gplot /usr/bin/ 9 | --------------------------------------------------------------------------------