Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

The custom colorschemes simply doesn't work #93

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

The custom colorschemes simply doesn't work #93

hrqmonteiro opened this issue Jan 15, 2019 · 10 comments

Comments

@hrqmonteiro
Copy link

Required information:

  • gotop version: 1.7.1
  • The output of uname -a: Linux motherbase 4.20.1-arch1-1-ARCH Increase height of sparkline to match widget height #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
Copy link
Author

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

It just doesn't work

@cjbassi
Copy link
Owner

cjbassi 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
Copy link
Author

Still not working here. Just tried.

@hrqmonteiro
Copy link
Author

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
Copy link
Owner

cjbassi 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
Copy link
Owner

cjbassi 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
Copy link
Author

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
Copy link
Owner

cjbassi 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
Copy link
Author

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

But thats ok

@cjbassi
Copy link
Owner

cjbassi 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants