1
0
Fork 0
mirror of synced 2024-11-21 17:45:36 -05:00

feat(garuda-inxi): Add grub-customizer check

This commit is contained in:
TNE 2024-04-17 07:26:20 +00:00
parent 8c2074e7f0
commit 94f97528af

View file

@ -37,7 +37,7 @@ detect_snapshots() {
generate_relevant_software() {
local RELEVANT=()
local packages
packages="$(pacman -Qq garuda-dracut-support mkinitcpio dracut nvidia-dkms 2> /dev/null | xargs || true)"
packages="$(pacman -Qq garuda-dracut-support mkinitcpio dracut nvidia-dkms grub-customizer 2> /dev/null | xargs || true)"
systemctl is-enabled tlp &> /dev/null && RELEVANT+=("tlp")
systemctl is-active NetworkManager &> /dev/null && RELEVANT+=("NetworkManager")
@ -50,6 +50,7 @@ generate_relevant_software() {
fi
[[ "$packages" =~ (^| )mkinitcpio($| ) ]] && RELEVANT+=("mkinitcpio")
[[ "$packages" =~ (^| )nvidia-dkms($| ) ]] && RELEVANT+=("nvidia-dkms")
[[ "$packages" =~ (^| )grub-customizer($| ) ]] && RELEVANT+=("grub-customizer")
detect_snapshots