Finally working display toggle

This commit is contained in:
2026-08-29 13:54:04 +02:00
parent be4de88d1a
commit 659cbf0145
19 changed files with 120 additions and 117 deletions

30
scripts/update/checkup.sh Executable file
View File

@@ -0,0 +1,30 @@
#!/bin/sh
# Inspection manuelle. Ne modifie rien.
s() { printf '\n=== %s ===\n' "$1"; }
s "Espace"
df -h / /home /boot 2>/dev/null
paccache -dk1 2>&1 | tail -1
journalctl --disk-usage
du -sh ~/.cache/* 2>/dev/null | sort -h | tail -5
s "Paquets"
printf 'installés: %s (explicites: %s)\n' "$(pacman -Qq | wc -l)" "$(pacman -Qqe | wc -l)"
echo "-- orphelins --"; pacman -Qtdq
echo "-- AUR passés en dépôt officiel --"
comm -12 "$(pacman -Qqm | sort > /tmp/.ck1; echo /tmp/.ck1)" \
"$(pacman -Slq | sort > /tmp/.ck2; echo /tmp/.ck2)"
rm -f /tmp/.ck1 /tmp/.ck2
s "Configs en attente"
pacdiff -o
s "Services"
systemctl --failed --no-legend
systemctl --user --failed --no-legend
systemd-analyze blame 2>/dev/null | head -5
s "Disque"
systemctl is-enabled fstrim.timer
lsblk -Dnro NAME,TYPE,DISC-GRAN | awk '$2=="crypt"'
sudo nvme smart-log /dev/nvme0n1 2>/dev/null | grep -E 'percentage_used|media_errors|unsafe'