qg: Add Nitrux

This commit is contained in:
zenobit 2023-12-15 19:21:48 +01:00 committed by zenobit
parent c734916939
commit bfee2e5921
2 changed files with 80 additions and 0 deletions

58
icons/nitrux.svg Normal file
View file

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="512"
height="512"
viewBox="0 0 512 512"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="nitrux.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
inkscape:document-units="px"
inkscape:zoom="2.34375"
inkscape:cx="255.78667"
inkscape:cy="256"
inkscape:window-width="1720"
inkscape:window-height="1400"
inkscape:window-x="0"
inkscape:window-y="20"
inkscape:window-maximized="0"
inkscape:current-layer="layer1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="display:inline;fill:#231f20;fill-opacity:1;stroke:none;stroke-width:3.83458"
id="rect5147"
width="513.83429"
height="513.83429"
x="-513.23907"
y="-0.4667291"
transform="scale(-1,1)"
inkscape:export-filename="/home/uri/nitrux_logomark_2_small.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<path
style="display:inline;fill:#fafafa;fill-opacity:1;stroke:none;stroke-width:3.8865"
d="m 88.541527,108.17444 v 18.59629 48.35036 234.31326 H 100.72534 V 219.75218 c 0,-11.1246 11.97133,-14.84203 20.22704,-4.83793 l 158.46891,194.5201 h 8.12254 v -59.50814 -44.20248 l 85.28669,103.71062 h 56.85787 L 301.23473,253.22551 c -5.48994,-6.67611 0.8642,-14.58875 1.0392,-14.8044 L 409.38204,108.17444 h -8.12255 l -109.65431,133.34849 -28.4289,34.57021 -18.1964,22.12668 z m 36.551443,0 123.86878,150.62995 28.4289,-34.5702 -95.43988,-116.05975 z m 142.85839,178.08127 c 2.1764,0.12647 4.59118,1.22818 7.0041,4.16238 l 4.46583,5.43361 v 44.20978 l -30.38022,-36.90204 10.47841,-12.74135 c 0,0 3.64384,-4.43976 8.43188,-4.16238 z"
id="rect5159"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -98,6 +98,7 @@ function pretty_name() {
mxlinux) PRETTY_NAME="MX Linux";;
netboot) PRETTY_NAME="netboot.xyz";;
netbsd) PRETTY_NAME="NetBSD";;
nitrux) PRETTY_NAME="Nitrux";;
nixos) PRETTY_NAME="NixOS";;
macos) PRETTY_NAME="macOS";;
openbsd) PRETTY_NAME="OpenBSD";;
@ -279,6 +280,7 @@ function os_support() {
mxlinux \
netboot \
netbsd \
nitrux \
nixos \
lubuntu \
macos \
@ -382,6 +384,7 @@ function os_homepages(){
miyo) HOMEPAGE="https://miyolinux.sourceforge.io/";;
netboot) HOMEPAGE="https://netboot.xyz/";;
netbsd) HOMEPAGE="https://www.netbsd.org/";;
nitrux) HOMEPAGE="https://nxos.org/";;
nixos) HOMEPAGE="https://nixos.org/";;
lubuntu) HOMEPAGE="https://lubuntu.me/";;
macos) HOMEPAGE="https://www.apple.com/macos/";;
@ -852,6 +855,10 @@ function releases_netbsd() {
echo ${NBSD_RELEASES}
}
function releases_nitrux() {
echo latest
}
function releases_nixos(){
echo 21.05 21.11 22.05 22.11 23.05 23.11
}
@ -2349,6 +2356,21 @@ function get_netbsd() {
echo "${URL}/${ISO} ${HASH}"
}
function get_nitrux() {
local HASH=""
local URLBASE=""
local URL=""
local ISONAME=""
local ISO=""
URLBASE="https://sourceforge.net/projects/nitruxos/files/Release"
URL="${URLBASE}/ISO"
ISONAME="nitrux-nx-desktop-plasma-fefc905b-amd64"
ISO="${ISONAME}.iso"
HASH=$(wget -q -O- "${URLBASE}/MD5/${ISONAME}.md5sum" | grep "${ISO}" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_nixos() {
local EDITION="${1:-}"
local HASH=""