Ticket #3145: mc-skin-solarized-to-rgb.sh

File mc-skin-solarized-to-rgb.sh, 601 bytes (added by egmont, 3 years ago)

Converts 16-color solarized skins to rgb

Line 
1#!/bin/sh
2
3sed -e '/\[skin\]/a\
4    truecolors = true' \
5    -e 's/white/#fdf6e3/g' \
6    -e 's/lightgray/#eee8d5/g' \
7    -e 's/brightcyan/#93a1a1/g' \
8    -e 's/cyan/#2aa198/g' \
9    -e 's/brightmagenta/#6c71c4/g' \
10    -e 's/magenta/#d33682/g' \
11    -e 's/brightblue/#839496/g' \
12    -e 's/blue/#268bd2/g' \
13    -e 's/yellow/#657b83/g' \
14    -e 's/brown/#b58900/g' \
15    -e 's/brightgreen/#586e75/g' \
16    -e 's/green/#859900/g' \
17    -e 's/brightred/#cb4b16/g' \
18    -e 's/red/#dc322f/g' \
19    -e 's/gray/#002b36/g' \
20    -e 's/black/#073642/g' \
21    -e 's/edit#fdf6e3space/editwhitespace/'  # :P