mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-03 12:04:24 +02:00
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:
parent
7b63079594
commit
3e2162d366
11 changed files with 369 additions and 1 deletions
9
addons/godot_xterm/resources/xrdb_theme.gd
Normal file
9
addons/godot_xterm/resources/xrdb_theme.gd
Normal file
|
@ -0,0 +1,9 @@
|
|||
extends Theme
|
||||
|
||||
|
||||
func get_class() -> String:
|
||||
return "XrdbTheme"
|
||||
|
||||
|
||||
func is_class(name) -> bool:
|
||||
return name == get_class() or .is_class(name)
|
Loading…
Add table
Add a link
Reference in a new issue