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

@ -219,10 +219,14 @@ jobs:
with:
run: godot_executable/${{ env.GODOT }} --no-window -s plug.gd install
# Use export to force re-import of files, even though it will fail if we
# don't have any export templates installed it should still import the
# files first.
- name: Import files
uses: GabrielBB/xvfb-action@v1
with:
run: ./godot_executable/${{ env.GODOT }} --editor --quit
run: ./godot_executable/${{ env.GODOT }} --export HTML5
continue-on-error: true
- name: Run tests
uses: GabrielBB/xvfb-action@v1