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

29
scripts/hdm-audit.sh Executable file
View File

@@ -0,0 +1,29 @@
for f in \
~/.config/hypr/hyprland.lua \
~/.config/hypr/monitors.lua \
~/.config/hypr/scripts/autostart.sh \
~/.config/hypr/scripts/hypridle-launch.sh \
~/.config/hypr/scripts/monitors-setup.sh \
~/.config/hyprdynamicmonitors/config.toml \
~/.config/hyprdynamicmonitors/config-eco.toml \
~/.config/hyprdynamicmonitors/config-power.toml \
~/.config/hyprdynamicmonitors/hyprconfigs/dual.go.tmpl \
~/.config/hyprdynamicmonitors/hyprconfigs/dual-eco.go.tmpl \
~/.config/hyprdynamicmonitors/hyprconfigs/solo.go.tmpl \
~/.config/hyprdynamicmonitors/hyprconfigs/solo-eco.go.tmpl \
~/.config/hyprdynamicmonitors/hyprconfigs/fallback.go.tmpl \
~/.config/hyprdynamicmonitors/hyprconfigs/fallback-eco.go.tmpl \
~/.config/hyprdynamicmonitors/scripts/display-manager.sh \
~/.config/hyprdynamicmonitors/scripts/display-toggle.sh \
; do
echo "===== $f ====="
if [ -L "$f" ]; then
echo "(symlink -> $(readlink -f "$f"))"
fi
if [ -f "$f" ]; then
cat "$f"
else
echo "[fichier absent]"
fi
echo
done > hdm-audit.txt

View File

@@ -149,6 +149,7 @@ qt6-5compat
qt6-wayland
refind
refind-theme-catppuccin-git
reflector
rofi
rsgain
rtpmidid-bin
@@ -184,6 +185,7 @@ ventoy-bin
vesktop-bin
vibe-audio-visualizer-git
viewnior
vim
virt-manager
vscodium-bin
vulkan-intel

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'