godot-xterm/addons/godot_xterm/resources/xrdb_theme.gd
Leroy Hopson 3e2162d366
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.
2021-07-19 00:10:16 +07:00

9 lines
142 B
GDScript

extends Theme
func get_class() -> String:
return "XrdbTheme"
func is_class(name) -> bool:
return name == get_class() or .is_class(name)