How can I change the background color of al window?

64 views
Skip to first unread message

Saif Resun

unread,
Mar 17, 2022, 6:07:31 AM3/17/22
to plan9p...@googlegroups.com

Hello there!

how can I  change the background color of the terminal window and other window in plan9?

Thank you.

 

_resun

 

Petter Rodhelind

unread,
Mar 17, 2022, 8:15:38 AM3/17/22
to saif....@outlook.com, plan9p...@googlegroups.com
To my knowledge, there is no configuration for it. And that is by design.

It has been a while since I last looked into it, but I think this still holds true: https://github.com/prodhe/acme-setup/blob/master/acme-colors.md

Short answer, look into plan9port/include/draw.h:31,59 for the hex codes and allocimage(3) man page for an understanding of how they mix together.

This is how I changed the 9term coloring to match acme for example: https://github.com/9fans/plan9port/commit/911dcfd317786043c1f3d406207d4aba50891970

Regards,
Petter



-- 

--- 
You received this message because you are subscribed to the Google Groups "plan9port-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plan9port-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plan9port-dev/SI2PR03MB5689B77BAA66BA734AA9418890129%40SI2PR03MB5689.apcprd03.prod.outlook.com.

Reply all
Reply to author
Forward
0 new messages