helmuthdu / conky_colors

CONKY-colors is an easier way to configure Conky
GNU General Public License v3.0
123 stars 39 forks source link

Alternative system dir #62

Closed jesustorresdev closed 8 years ago

jesustorresdev commented 9 years ago

First, this patch add the variable PREFIX to Makefile as GNU project recommends and set it to /usr/local. The default Conly Colors system directory will be /usr/local, which is much better than /usr to avoid the pollution of the operating system directory tree.

Second, this patch fix the places where a path to /usr/ is hardcoded and change it with a query to conky-colors --systemdir. Now the theme should work no matter where is installed.

It includes a fix introduced in #61 when I'm preparing the pull request. I'm sorry.