Add basic .xrdb/.Xresources import plugin

Adds basic support for importing .Xresources and .xrdb files as Theme
resources.

Examples of terminal color schemes in .xrdb format can be found here:
https://github.com/mbadolato/iTerm2-Color-Schemes/tree/master/xrdb

Examples of terminal themes in .Xresources format can be found here:
https://github.com/mbadolato/iTerm2-Color-Schemes/tree/master/Xresources

https://terminal.sexy also supports exporting themes is Xresources
format.
This commit is contained in:
Leroy Hopson 2021-07-18 23:11:31 +07:00
parent 7b63079594
commit 3e2162d366
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
11 changed files with 369 additions and 1 deletions

View file

@ -0,0 +1,20 @@
#define Background_Color #100000
#define Foreground_Color #200000
#define Cursor_Color #300000
#define Cursor_Text_Color #400000
#define Ansi_0_Color #000000
#define Ansi_8_Color #000008
#define Ansi_1_Color #000001
#define Ansi_9_Color #000009
#define Ansi_2_Color #000002
#define Ansi_10_Color #000010
#define Ansi_3_Color #000003
#define Ansi_11_Color #000011
#define Ansi_4_Color #000004
#define Ansi_12_Color #000012
#define Ansi_5_Color #000005
#define Ansi_13_Color #000013
#define Ansi_6_Color #000006
#define Ansi_14_Color #000014
#define Ansi_7_Color #000007
#define Ansi_15_Color #000015