Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The custom colorschemes simply doesn't work #93

Closed
hrqmonteiro opened this issue Jan 15, 2019 · 10 comments

Comments

Projects
None yet
2 participants
@hrqmonteiro
Copy link

commented Jan 15, 2019

Required information:

  • gotop version: 1.7.1
  • The output of uname -a: Linux motherbase 4.20.1-arch1-1-ARCH #1 SMP PREEMPT Wed Jan 9 20:25:43 UTC 2019 x86_64 GNU/Linux
  • Terminal shell (e.g. zsh or bash): Bash
  • Terminal emulator (e.g. iTerm or gnome terminal): urxvt and Termine

The custom colorscheme doesnt work. I use the default.json as a base and save a file .json on .config/gotop and ok, if i run gotop -c name.json it opens gotop, but then it doesnt matter if i edit the values, ANYTHING i change on the numbers on fg, bars or anything it simply does no effect, it remains the same, the same colors as if i just type gotop on the terminal

@hrqmonteiro

This comment has been minimized.

Copy link
Author

commented Jan 15, 2019

2019-01-15-010614_1580x843_scrot
2019-01-15-010630_1727x902_scrot

It just doesn't work

@cjbassi cjbassi closed this in c1d7aad Jan 15, 2019

@cjbassi

This comment has been minimized.

Copy link
Owner

commented Jan 15, 2019

Should be working now. Was just a simple logic error. Surprised it's taken this long for someone to notice XD

@hrqmonteiro

This comment has been minimized.

Copy link
Author

commented Jan 15, 2019

Still not working here. Just tried.

@hrqmonteiro

This comment has been minimized.

Copy link
Author

commented Jan 15, 2019

I even searched on Unixporn and stuff to see if someone provided a .json file of a custom theme just for me to see if something went wrong with mine, but couldnt find it

But i pretty much just edited the file as is said on the tutorial and it doesnt matter how many i change the colors it just remains default

@cjbassi

This comment has been minimized.

Copy link
Owner

commented Jan 15, 2019

Did you update gotop? And has the filename been changed from default.json to something else?

edit: cause it wasn't working for me and now it is after the commit.

@cjbassi

This comment has been minimized.

Copy link
Owner

commented Jan 15, 2019

Also, there's currently some issues installing gotop. I'm not sure what platform you're on but the most reliable way is to git clone https://github.com/cjbassi/gotop && cd gotop && go install, at least to get the latest master version.

edit: Regular installing should be working now.

@hrqmonteiro

This comment has been minimized.

Copy link
Author

commented Jan 15, 2019

I'm on arch, i tried to git clone but when i moved the gotop to path it didnt worked, i would try to install through AUR but then you said is not reliable enough..

@cjbassi

This comment has been minimized.

Copy link
Owner

commented Jan 15, 2019

Hmm, I would try git cloning, then running go run main.go -c ... to make sure there isn't any issues with your path.

@hrqmonteiro

This comment has been minimized.

Copy link
Author

commented Jan 15, 2019

This works, it runs gotop, but i'm unable to run it just by typing gotop, then

But thats ok

@cjbassi

This comment has been minimized.

Copy link
Owner

commented Jan 15, 2019

Glad it works! And installing should be working now. So either go get -u github.com/cjbassi/gotop or installing gotop-git from the AUR depending on how you originally installed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.