1
0
Fork 0
mirror of synced 2024-06-03 07:41:09 -04:00

Compare commits

...

2 commits

Author SHA1 Message Date
TNE 94f97528af feat(garuda-inxi): Add grub-customizer check 2024-04-17 07:26:20 +00:00
BluishHumility 8c2074e7f0
feat(pacseek): use -R instead of -Rns for pacman remove
Use -R instead of -Rns for Pacman remove. Leaving the "s" out of it seems
like a more prudent option, which I think we should opt for if users are
going to be using this tool to remove packages. The advanced users who
prefer the more aggressive behavior can change the config on their own.

The "n" option shouldn't be part if it either way; I feel like a lot of
people do not understand what this flag actually is.
2024-04-08 22:25:31 -04:00
2 changed files with 3 additions and 2 deletions

View file

@ -10,7 +10,7 @@
"PacmanDbPath": "/var/lib/pacman/",
"PacmanConfigPath": "/etc/pacman.conf",
"InstallCommand": "paru -S",
"UninstallCommand": "paru -Rs",
"UninstallCommand": "paru -R",
"SysUpgradeCommand": "paru",
"SearchMode": "Contains",
"SearchBy": "Name",

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