You are not logged in.

#1 2015-07-05 13:04:39

marttt
Member
Registered: 2013-05-21
Posts: 22

[SOLVED] changing bg/fg colors for Wily editor (Acme clone)?

After a years of Vim and Emacs, I started to look into Wily, an unix rewrite of Rob Pike's Acme.

I really like its philosophy and simplicity (no plan9 install needed, among other things). But I would prefer to modify the foreground and background colors according to the Solarized scheme. However, not being a coder, I can't seem to sort out the relevant parts in the C source. Can anybody please help me with this? Post a patch or give some hints?

Wily is available in the AUR: https://aur.archlinux.org/packages/wily/
Also here: http://www.cs.yorku.ca/~oz/wily/

Many thanks!

Last edited by marttt (2015-07-05 14:06:01)

Offline

#2 2015-07-05 13:33:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: [SOLVED] changing bg/fg colors for Wily editor (Acme clone)?

There is no need to change the source - just put the settings you want in the xresources:

wily*background: blue
wily*foreground: red

That is ugly, but it will show that the changes are being made.  Put those in your Xdefaults or Xresources and merge them in with xrdb.

You can similarly set the fonts.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-07-05 14:04:18

marttt
Member
Registered: 2013-05-21
Posts: 22

Re: [SOLVED] changing bg/fg colors for Wily editor (Acme clone)?

Oh, this is kind of embarrassing. I used to use urxvt, so I should've figured that out myself. smile Very informative, thanks!

Offline

Board footer

Powered by FluxBB