feat(garuda-inxi): Add grub-customizer check
This commit is contained in:
parent
8c2074e7f0
commit
94f97528af
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,7 @@ detect_snapshots() {
|
||||||
generate_relevant_software() {
|
generate_relevant_software() {
|
||||||
local RELEVANT=()
|
local RELEVANT=()
|
||||||
local packages
|
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-enabled tlp &> /dev/null && RELEVANT+=("tlp")
|
||||||
systemctl is-active NetworkManager &> /dev/null && RELEVANT+=("NetworkManager")
|
systemctl is-active NetworkManager &> /dev/null && RELEVANT+=("NetworkManager")
|
||||||
|
@ -50,6 +50,7 @@ generate_relevant_software() {
|
||||||
fi
|
fi
|
||||||
[[ "$packages" =~ (^| )mkinitcpio($| ) ]] && RELEVANT+=("mkinitcpio")
|
[[ "$packages" =~ (^| )mkinitcpio($| ) ]] && RELEVANT+=("mkinitcpio")
|
||||||
[[ "$packages" =~ (^| )nvidia-dkms($| ) ]] && RELEVANT+=("nvidia-dkms")
|
[[ "$packages" =~ (^| )nvidia-dkms($| ) ]] && RELEVANT+=("nvidia-dkms")
|
||||||
|
[[ "$packages" =~ (^| )grub-customizer($| ) ]] && RELEVANT+=("grub-customizer")
|
||||||
|
|
||||||
detect_snapshots
|
detect_snapshots
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue