tulir / gomuks

A Matrix client written in Go.
https://maunium.net/go/gomuks
GNU Affero General Public License v3.0
1.38k stars 123 forks source link

Configurable colors #23

Open tulir opened 6 years ago

tulir commented 6 years ago

Allowing users to configure how to color things would be nice.

abrahimladha commented 6 years ago

How would you prefer something like this is implemented? A config file in ~/.config or something? or the weechat method where itd be something like /set color.title=green or whatever?

Nevermind. I found .cache/gomuks/preferences.yaml

tulir commented 6 years ago

Probably best to put it with other preferences in Matrix account data, which is cached to .cache/gomuks/preferences.yaml as you noticed.

vonshednob commented 5 years ago

I would like to bump this issue a bit, because in my case (solarized light color scheme) without configurable colors (or sane defaults) gomuks is pretty much unusable:

gomuks

abrahimladha commented 5 years ago

I just grepped through and changed every instance of green to blue and recompiled and then forgot about it. I had something loaded through config.go, but I couldn't get the colors to change from the first colors on reloading the config or program.

ejiektpobehuk commented 4 years ago

I'd say .cache is not a good place to put your config in. XDG_CONFIG_HOME is a good place to start

tulir commented 4 years ago

gomuks already uses the XDG spec mostly correctly, .cache is the correct place for data cached from the server.

ejiektpobehuk commented 4 years ago

Agreed.

My point is that it's client configuration and probably should not be related to the server

tulir commented 4 years ago

User preferences are stored on the server in account data so they persist and are synced nicely

ejiektpobehuk commented 4 years ago

That's awesome!

I'm sorry for blowing this issue up, but what's the flow to have two differently configured machines?

tulir commented 4 years ago

Currently that's not supported, might add some option for local preference overrides eventually.

piegamesde commented 4 years ago

In the meantime waiting for an implementation, how about a CLI switch that at least force paints a dark background? My screen looks like @vonshednob's and it's totally unusable.

octoshrimpy commented 2 years ago

any update on this?

apprehensions commented 1 year ago

my ansi colors...

foxyseta commented 1 year ago

Any updates on this?

saygo-png commented 1 year ago

bump