Last active
March 25, 2017 16:59
-
-
Save hagiyat/05bd581ab3f3d9f337aa652c337a4dcc to your computer and use it in GitHub Desktop.
Converts the color scheme of Xresources defined in iTerm2-Color-Schemes to the termite color definition.
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
#!/usr/bin/env bash | |
IFS=$'\n'; | |
for file in `ls ./iTerm2-Color-Schemes/Xresources`; do | |
cat "./iTerm2-Color-Schemes/Xresources/${file}" \ | |
| sed -e 's/^\!/#/g' -e 's/^\*\.//g' -e 's/: / = /g' \ | |
> "./termite-colors/${file}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment