tangled
alpha
login
or
join now
pdewey.com
/
darkearth-nvim
0
fork
atom
A dark and earthy colorscheme for Neovim. (mirror)
github.com/ptdewey/darkearth-nvim
neovim
neovim-colorscheme
fennel
0
fork
atom
overview
issues
pulls
pipelines
chore: added color bar generation script
ptdewey
2 years ago
3a6545aa
5802ba67
+31
1 changed file
expand all
collapse all
unified
split
assets
colorbar.sh
+31
assets/colorbar.sh
···
1
1
+
#!/bin/bash
2
2
+
3
3
+
if ! command -v convert &> /dev/null
4
4
+
then
5
5
+
echo "ImageMagick could not be found, please install it to use this script."
6
6
+
exit
7
7
+
fi
8
8
+
9
9
+
color00="24211E" # bg
10
10
+
color01="AC987D" # darker tan
11
11
+
color02="5F865F" # teal
12
12
+
color03="77824A" # green
13
13
+
color04="B3664D" # red
14
14
+
color05="B36B42" # main orange
15
15
+
color06="BB7844" # light orange
16
16
+
color07="C9A654" # yellow
17
17
+
color08="D7C484" # fg
18
18
+
19
19
+
convert -size 18x4 xc:none \
20
20
+
-fill "#$color00" -draw "rectangle 0,0 1,1" \
21
21
+
-fill "#$color01" -draw "rectangle 2,0 3,1" \
22
22
+
-fill "#$color02" -draw "rectangle 4,0 5,1" \
23
23
+
-fill "#$color03" -draw "rectangle 6,0 7,1" \
24
24
+
-fill "#$color04" -draw "rectangle 8,0 9,1" \
25
25
+
-fill "#$color05" -draw "rectangle 10,0 11,1" \
26
26
+
-fill "#$color06" -draw "rectangle 12,0 13,1" \
27
27
+
-fill "#$color07" -draw "rectangle 14,0 15,1" \
28
28
+
-fill "#$color08" -draw "rectangle 16,0 17,1" \
29
29
+
-scale 1600% color_bar.png
30
30
+
31
31
+
echo "Color bar saved as color_bar.png"