diff --git a/README.md b/README.md index 7571c68..69a6f09 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ The supported `boot/iso/` sub-directories (in alphabetical order) are : * [`grml`](https://grml.org/) * [`ipxe`](https://ipxe.org/) - _.iso or .efi_ * [`kali`](https://www.kali.org/) +* [`kdeneon`](https://neon.kde.org/) * [`kubuntu`](https://kubuntu.org/) * [`libreelec`](https://libreelec.tv/) * [`linuxmint`](https://linuxmint.com/) diff --git a/grub2/grub.cfg b/grub2/grub.cfg index c8908b4..b887c0c 100644 --- a/grub2/grub.cfg +++ b/grub2/grub.cfg @@ -241,6 +241,12 @@ if any_exists ${isopath}/kali/kali-*.iso; then } fi +if any_exists ${isopath}/kdeneon/neon-*.iso; then + menuentry "KDE neon >" --class kdeneon { + configfile "${prefix}/inc-kdeneon.cfg" + } +fi + if any_exists ${isopath}/kubuntu/kubuntu-*.iso; then menuentry "Kubuntu >" --class kubuntu { configfile "${prefix}/inc-kubuntu.cfg" diff --git a/grub2/inc-kdeneon.cfg b/grub2/inc-kdeneon.cfg new file mode 100644 index 0000000..4e53fe0 --- /dev/null +++ b/grub2/inc-kdeneon.cfg @@ -0,0 +1,20 @@ +# KDE neon +function add_menu { + isofile="$1" + + regexp \ + --set 1:isoname \ + --set 2:edition \ + --set 3:date \ + "^${isopath}/kdeneon/(neon-(.+)-([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])-[0-9][0-9][0-9][0-9]\.iso)\$" "${isofile}" + menuentry "KDE neon ${edition} ${date}" "${isofile}" "${isoname}" --class kdeneon { + set isofile=$2 + set isoname=$3 + use "${isoname}" + loop $isofile + linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} fsck.mode=skip quiet splash + initrd (loop)/casper/initrd* + } +} + +for_each_sorted add_menu "$isopath"/kdeneon/neon-*.iso diff --git a/grub2/themes/invader/icons/kdeneon.png b/grub2/themes/invader/icons/kdeneon.png new file mode 100644 index 0000000..feaf156 Binary files /dev/null and b/grub2/themes/invader/icons/kdeneon.png differ diff --git a/icons-original/invader/kdeneon.svg b/icons-original/invader/kdeneon.svg new file mode 100644 index 0000000..8381a51 --- /dev/null +++ b/icons-original/invader/kdeneon.svg @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + +