wtfutil / wtf

The personal information dashboard for your terminal
http://wtfutil.com
Mozilla Public License 2.0
15.74k stars 799 forks source link

Cannot find config.yml file #351

Closed EnigmaTechx closed 5 years ago

EnigmaTechx commented 5 years ago

What problem are you having and how can we help?

I have tried searching but I can't seem to find the config.yml file as stated in the configuration guidelines (~/.config/wtf/config.yml). Is it hidden in a particular directory?

senorprogrammer commented 5 years ago

The first time you run it, it should create that directory and config.yml file for you. Do you have a .config/ directory in your home directory? If so, in that is there a wtf/ directory?

EnigmaTechx commented 5 years ago

It's actually a github.com/ directory, which contains the wtf/ directory. In the wtf/ directory I can't find any config.yml file

senorprogrammer commented 5 years ago

I'm not clear on what you mean about a github.com directory. The compiled wtf binary should be writing its default config file into ~/.config/wtf/config.yml, which is the one you want to edit. In the go/src/github.com/wtfutil/wtf/ directory in your GOPATH, there's no config.yml because that's just the source (if I understand correctly what you're implying above; apologies if I've confused that).

EnigmaTechx commented 5 years ago

You are right; I do have the go/src/github.com/wtfutil/wtf/ path, in which the config.yml file is not found. I see the ~/.config/wtf/config.yml path in terminal after I run make install and make run, but I cannot find it when I open the wtf/ directory. So now I want to know how I can obtain the config.yml file?

senorprogrammer commented 5 years ago

I think we're going a bit in circles here. Can I ask what it is you're trying to do, specifically?

EnigmaTechx commented 5 years ago

I want to customize the terminal; add new grid elements, add my github dashboard, etc. I thought I would be able to do that using the config.yml file, which according to the docs was found in the wtf/ directory. The problem is that I cannot find that file in order to customize the dashboard to my needs

senorprogrammer commented 5 years ago

You can do that of course, lots of people have. It's in your ~/.config/wtf/config.yml. To get there, in a new terminal window, do the following:

$> cd
$> cd .config/wtf
$> vi config.yml

I believe you're confusing the wtf Go project directory with the wtf configuration directory. These are not the same thing. The difference will be something like this:

Go directory:     ~/go/github.com/wtfutil/wtf/
Config directory: ~/.config/wtf/

Makes sense?

senorprogrammer commented 5 years ago

Gonna close this as a solved issue. If you have any other questions about config, feel free to ask.

EnigmaTechx commented 5 years ago

Thank you for helping me. I found the config file at long last