forked from Aloxaf/silicon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More theme & syntax & Linux clipboard support
- Loading branch information
Showing
69 changed files
with
37,105 additions
and
80 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Assets | ||
|
||
Silicon uses [bat](https://github.com/sharkdp/bat/tree/master/assets)'s syntax and theme resources. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env python | ||
# Sync themes and syntaxes from [bat](https://github.com/sharkdp/bat/tree/master/assets) | ||
|
||
import os | ||
from glob import glob | ||
from shutil import copy | ||
|
||
if not os.path.exists('../../bat'): | ||
os.system('git clone https://github.com/sharkdp/bat ../../bat') | ||
else: | ||
os.system('git -C ../../bat pull') | ||
|
||
for syntax_file in glob('../../bat/assets/syntaxes/**/*.sublime-syntax'): | ||
copy(syntax_file, './syntaxes/') | ||
|
||
for theme_file in glob('../../bat/assets/themes/**/*.tmTheme'): | ||
copy(theme_file, './themes/') | ||
|
||
print('Finished.') |
Oops, something went wrong.