mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-24 10:20:24 +01:00
3e2162d366
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.
9 lines
142 B
GDScript
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)
|