This commit is contained in:
Vince 2021-05-09 21:21:29 +08:00
parent 6590280eb8
commit 1ccc78c7a0
25 changed files with 5124 additions and 955 deletions

View File

@ -76,3 +76,7 @@ _If no options are used, a user interface `dialog` will show up instead_
### Slaze grub theme:
![Slaze](screenshots/grub-theme-slaze.jpg?raw=true)
## Documents
http://wiki.rosalab.ru/en/index.php/Grub2_theme_/_reference
http://wiki.rosalab.ru/en/index.php/Grub2_theme_tutorial

Binary file not shown.

Before

Width:  |  Height:  |  Size: 900 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 905 B

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 831 B

View File

@ -23,7 +23,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@ -39,16 +39,16 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="706"
inkscape:window-width="1024"
inkscape:window-height="523"
id="namedview373"
showgrid="false"
inkscape:zoom="1.4142136"
inkscape:cx="96.568807"
inkscape:cy="238.23102"
inkscape:window-x="0"
inkscape:window-y="28"
inkscape:window-maximized="1"
inkscape:zoom="5.6568542"
inkscape:cx="-29.887724"
inkscape:cy="149.4913"
inkscape:window-x="480"
inkscape:window-y="326"
inkscape:window-maximized="0"
inkscape:current-layer="svg371"
inkscape:document-rotation="0">
<inkscape:grid
@ -1767,4 +1767,17 @@
d="m 274,256 -4.23047,8.46094 12.07227,7.22265 z M 268.4082,267.18555 262,280 l 12,-4 7.98438,-2.66211 z m 14.66211,6.95507 -6.01562,2.87696 L 286,280 Z"
transform="scale(0.26458334)" />
</g>
<g
id="kernel">
<path
id="path28-3"
style="fill:#33aaff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.21706"
d="m -8.2211442,35.740849 c -2.3369738,0 -4.2315758,1.893693 -4.2333628,4.230441 v 3.276108 c 0.0014,0.530379 0.431492,0.960118 0.962402,0.960118 0.0014,0 0.0033,-1.63e-4 0.0046,-1.63e-4 v 1.63e-4 h 3.2678518 c 2.33724,-0.0012 4.231863,-1.895806 4.231863,-4.233277 0,-2.337995 -1.895332,-4.233333 -4.233365,-4.233333 z"
sodipodi:nodetypes="cccscccscc" />
<path
id="path1177"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.216912"
d="m -7.3629752,37.480299 v 5.5e-5 c 0.710929,0 1.382292,0.54438 1.382292,1.294142 0,0.06955 -7.37e-4,0.138688 -0.0119,0.217805 -0.01967,0.199407 -0.202052,0.342316 -0.400747,0.314152 -0.198892,-0.02844 -0.333952,-0.216527 -0.296994,-0.413622 0.0031,-0.02222 0.0045,-0.05766 0.0045,-0.118335 0,-0.425021 -0.347692,-0.589319 -0.677259,-0.589319 -0.32937,0 -0.626267,0.275866 -0.627393,0.588519 v 1.082291 l 0.611093,-0.0044 c 0.477063,-0.01 0.481944,0.7082 0.0049,0.704822 l -0.615973,0.0033 -0.0044,1.009641 c -0.07372,0.792426 -0.749297,1.426197 -1.560897,1.426197 -0.8602128,0 -1.5698508,-0.702744 -1.5698508,-1.563897 0.0259,-0.885885 0.734759,-1.582485 1.6252388,-1.574141 l 0.496028,-0.0033 v 0.703755 l -0.500157,0.0044 c -0.489515,0.01445 -0.9080588,0.345939 -0.9160768,0.869375 0,0.477206 0.386234,0.859086 0.8650858,0.859086 0.478389,0 0.860313,-0.347528 0.860313,-0.858065 v -2.66212 c 2.29e-4,-0.04933 0.0026,-0.08888 0.0082,-0.143377 0.0804,-0.651347 0.663587,-1.147708 1.323847,-1.147708 z"
sodipodi:nodetypes="ccscccssccccccsccccccsscccc" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 156 KiB

View File

@ -35,18 +35,26 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1550"
inkscape:window-height="974"
inkscape:window-width="1366"
inkscape:window-height="708"
id="namedview455"
showgrid="false"
inkscape:zoom="1.2993087"
inkscape:cx="284.46505"
inkscape:cy="173.67381"
showgrid="true"
inkscape:zoom="3.675"
inkscape:cx="41.009638"
inkscape:cy="187.98203"
inkscape:window-x="0"
inkscape:window-y="31"
inkscape:window-maximized="0"
inkscape:window-y="28"
inkscape:window-maximized="1"
inkscape:current-layer="svg453"
inkscape:document-rotation="0" />
inkscape:document-rotation="0"
inkscape:snap-bbox="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-nodes="false">
<inkscape:grid
type="xygrid"
id="grid1090" />
</sodipodi:namedview>
<defs
id="defs30">
<style
@ -1377,4 +1385,19 @@
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccccc" />
</g>
<g
id="kernel"
transform="translate(1.0583336,-1.058334)">
<rect
style="fill:none;stroke-width:1.08086;stroke-linecap:round;stroke-linejoin:round"
id="rect1093"
width="8.4666662"
height="8.4666662"
x="-11.90625"
y="44.712917" />
<path
id="path28-3"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.135661"
d="m -7.6729268,46.300417 c -1.4605768,0 -2.6446752,1.183558 -2.6457932,2.644026 v 2.047566 c 8.76e-4,0.331487 0.269677,0.600075 0.6014876,0.600075 8.75e-4,0 0.0021,-1.02e-4 0.0029,-1.02e-4 v 1.02e-4 h 2.0423621 c 1.4607432,-7.51e-4 2.6448568,-1.184879 2.6448568,-2.645799 0,-1.461245 -1.1845567,-2.645832 -2.6457955,-2.645832 z m 0.536344,1.088638 v 3.4e-5 c 0.444321,0 0.8639137,0.340701 0.8639137,0.809941 0,0.04352 -4.606e-4,0.0868 -0.00744,0.136313 -0.012293,0.124799 -0.1262797,0.21424 -0.2504614,0.196613 -0.1243048,-0.01779 -0.2087155,-0.135514 -0.1856172,-0.258866 0.00194,-0.01391 0.00281,-0.03609 0.00281,-0.07405 0,-0.265999 -0.2173028,-0.368825 -0.4232777,-0.368825 -0.2058518,0 -0.3914084,0.17265 -0.3921121,0.368326 v 0.677353 l 0.3819248,-0.0027 c 0.2981579,-0.0063 0.3012085,0.443228 0.00306,0.441114 l -0.3849747,0.0021 -0.00275,0.631886 c -0.046074,0.495941 -0.4683004,0.892587 -0.9755393,0.892587 -0.5376214,0 -0.9811347,-0.439813 -0.9811347,-0.978767 0.01619,-0.554432 0.4592136,-0.990401 1.0157514,-0.985178 l 0.3100107,-0.0021 v 0.440445 l -0.3125913,0.0027 c -0.3059402,0.009 -0.5675244,0.216506 -0.5725355,0.5441 0,0.29866 0.241391,0.53766 0.5406668,0.53766 0.2989866,0 0.5376839,-0.217501 0.5376839,-0.537021 v -1.666092 c 1.432e-4,-0.03087 0.00163,-0.05562 0.00513,-0.08973 0.050248,-0.407647 0.4147328,-0.718296 0.8273864,-0.718296 z" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 107 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 499 KiB

After

Width:  |  Height:  |  Size: 560 KiB

View File

@ -40,6 +40,7 @@ SystemRescueCD
regolith
neon
artix
kernel
recovery
restart

View File

@ -1,7 +1,6 @@
#!/bin/bash
INKSCAPE="/usr/bin/inkscape"
OPTIPNG="/usr/bin/optipng"
if [[ "$1" == "select" ]]; then
EXPORT_TYPE="select"
@ -40,7 +39,6 @@ while read -r i; do
"--export-dpi=$EXPORT_DPI" \
"--export-id-only" \
"--export-filename=$ASSETS_DIR/$i.png" "$SRC_FILE" >/dev/null
$OPTIPNG -o7 --quiet "$ASSETS_DIR/$i.png"
fi
done < "$INDEX"

View File

@ -127,8 +127,8 @@ install() {
else
#Append GRUB_FONT
echo "GRUB_FONT=/boot/efi/EFI/fedora/fonts/unicode.pf2" >> /etc/default/grub
fi
fi
fi
fi
if grep "GRUB_THEME=" /etc/default/grub 2>&1 >/dev/null; then
#Replace GRUB_THEME
@ -555,4 +555,4 @@ elif [[ "${remove:-}" == 'true' ]]; then
done
fi
exit 0
exit 1