feat: add partition table, move pkglist, update clean alias
This commit is contained in:
@@ -8,15 +8,17 @@ config() {
|
||||
}
|
||||
|
||||
# ============================================================
|
||||
# Script de sauvegarde interactif (ordre corrigé)
|
||||
# Script de sauvegarde interactif
|
||||
# ============================================================
|
||||
cd ~
|
||||
|
||||
# 1. Stager TOUS les fichiers autorisés par la whitelist
|
||||
echo "🔄 Mise à jour des listes de paquets..."
|
||||
pacman -Qqe > ~/scripts/pkglist_officiel.txt
|
||||
pacman -Qqm > ~/scripts/pkglist_aur.txt
|
||||
|
||||
echo "⏳ Staging des fichiers autorisés..."
|
||||
config add .
|
||||
|
||||
# 2. Vérifier ce qui est EFFECTIVEMENT dans le stage (prêt à être commité)
|
||||
local staged_changes=$(config status -s)
|
||||
|
||||
if [[ -z "$staged_changes" ]]; then
|
||||
@@ -25,14 +27,12 @@ if [[ -z "$staged_changes" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# 3. Afficher le contenu du stage (ce qui va VRAIMENT partir)
|
||||
echo "📦 Voici les fichiers qui seront DANS le commit :"
|
||||
echo "-----------------------------------------------------"
|
||||
config status -s
|
||||
echo "-----------------------------------------------------"
|
||||
echo ""
|
||||
|
||||
# 4. Demander le message de commit
|
||||
echo -n "✏️ Entrez le message de commit (ou Entrée pour auto) : "
|
||||
read -r msg
|
||||
|
||||
@@ -41,10 +41,8 @@ if [[ -z "$msg" ]]; then
|
||||
echo "⏩ Message auto : \"$msg\""
|
||||
fi
|
||||
|
||||
# 5. Commiter
|
||||
config commit -m "$msg"
|
||||
|
||||
# 6. Pousser
|
||||
if config remote | grep -q origin; then
|
||||
echo "🚀 Push vers origin master..."
|
||||
config push origin master
|
||||
|
||||
16
scripts/partition_table_backup.txt
Normal file
16
scripts/partition_table_backup.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
label: gpt
|
||||
label-id: 3D8FF6B9-8FD6-461D-898D-F0D301092AB8
|
||||
device: /dev/nvme0n1
|
||||
unit: sectors
|
||||
first-lba: 34
|
||||
last-lba: 4000797326
|
||||
sector-size: 512
|
||||
|
||||
/dev/nvme0n1p1 : start= 2048, size= 409600, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=CA3D5834-57BB-44B3-811B-E379D2D3592F, name="EFI system partition"
|
||||
/dev/nvme0n1p2 : start= 411648, size= 262144, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=09A1469F-AC65-4B3B-8EE0-E86C3B2CC029, name="Microsoft reserved partition"
|
||||
/dev/nvme0n1p3 : start= 673792, size= 1966500905, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=B64E1752-8918-4748-9B75-56128D0E7476, name="Basic data partition"
|
||||
/dev/nvme0n1p4 : start= 3933675520, size= 2027520, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=4D5DF032-B596-463A-9813-65B70A858CCB, attrs="RequiredPartition GUID:63"
|
||||
/dev/nvme0n1p5 : start= 3935703040, size= 62029824, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=E968A205-AA7A-4538-9A3D-D9BF99C0633A, attrs="RequiredPartition GUID:63"
|
||||
/dev/nvme0n1p6 : start= 3997734912, size= 3041280, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=62DEC9AA-37D9-49A6-A4BC-37C122B72E62, attrs="RequiredPartition GUID:63"
|
||||
/dev/nvme0n1p7 : start= 1967175680, size= 1965031424, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=B664BCA2-13B2-4692-A454-DAA926B70D58
|
||||
/dev/nvme0n1p8 : start= 3932207104, size= 1468416, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=409CAB91-CC45-4ADD-9F37-A334E92F8552
|
||||
41
scripts/pkglist_aur.txt
Normal file
41
scripts/pkglist_aur.txt
Normal file
@@ -0,0 +1,41 @@
|
||||
adwaita-qt5-git
|
||||
adwaita-qt6-git
|
||||
android-studio
|
||||
appimagelauncher
|
||||
balena-etcher
|
||||
beeper-v4-bin
|
||||
bibata-cursor-theme-bin
|
||||
catppuccin-gtk-theme-mocha
|
||||
chirp-next
|
||||
chromium-widevine
|
||||
cnrdrvcups-lb-bin
|
||||
collabora-office
|
||||
dell-command-configure
|
||||
dupeguru
|
||||
electron40-bin
|
||||
gimp-plugin-resynthesizer
|
||||
google-chrome
|
||||
hyprdynamicmonitors-bin
|
||||
hyprgraphics-git
|
||||
hyprlang-git
|
||||
hyprutils-git
|
||||
hyprwayland-scanner-git
|
||||
kdeconnect-git
|
||||
libjpeg6-turbo
|
||||
log2ram
|
||||
networkmanager-dmenu-git
|
||||
onlyoffice-bin
|
||||
openssl-1.1
|
||||
orca-slicer-bin
|
||||
pinta
|
||||
python-yattag
|
||||
refind-theme-catppuccin-git
|
||||
rustdesk-bin
|
||||
sddm-theme-catppuccin-git
|
||||
ungoogled-chromium-bin
|
||||
ventoy-bin
|
||||
vesktop-bin
|
||||
vscodium-bin
|
||||
wlogout
|
||||
yay
|
||||
zsh-theme-powerlevel10k-git
|
||||
180
scripts/pkglist_officiel.txt
Normal file
180
scripts/pkglist_officiel.txt
Normal file
@@ -0,0 +1,180 @@
|
||||
adwaita-qt5-git
|
||||
adwaita-qt6-git
|
||||
alacritty
|
||||
android-studio
|
||||
appimagelauncher
|
||||
audacity
|
||||
balena-etcher
|
||||
base
|
||||
base-devel
|
||||
bc
|
||||
beeper-v4-bin
|
||||
bibata-cursor-theme-bin
|
||||
blender
|
||||
blueman
|
||||
bluez
|
||||
bluez-utils
|
||||
bolt
|
||||
brightnessctl
|
||||
btop
|
||||
catppuccin-gtk-theme-mocha
|
||||
chirp-next
|
||||
chromium-widevine
|
||||
cliphist
|
||||
cnrdrvcups-lb-bin
|
||||
collabora-office
|
||||
converseen
|
||||
cups
|
||||
dell-command-configure
|
||||
dex
|
||||
dnsmasq
|
||||
drawio-desktop
|
||||
dupeguru
|
||||
exfat-utils
|
||||
eza
|
||||
f3d
|
||||
file-roller
|
||||
firefox
|
||||
flatpak
|
||||
fwupd
|
||||
gamemode
|
||||
ghostscript
|
||||
gimp
|
||||
gimp-plugin-gmic
|
||||
gimp-plugin-resynthesizer
|
||||
git
|
||||
github-cli
|
||||
gnome-calculator
|
||||
gnome-characters
|
||||
gnome-keyring
|
||||
godot
|
||||
google-chrome
|
||||
gptfdisk
|
||||
grim
|
||||
gst-plugin-pipewire
|
||||
gvfs
|
||||
gvfs-afc
|
||||
gvfs-mtp
|
||||
gvfs-smb
|
||||
handbrake
|
||||
hyprdynamicmonitors-bin
|
||||
hypridle
|
||||
hyprland
|
||||
hyprlock
|
||||
inkscape
|
||||
intel-gpu-tools
|
||||
intel-media-driver
|
||||
intel-ucode
|
||||
iwd
|
||||
jq
|
||||
kasts
|
||||
kdeconnect-git
|
||||
kdenlive
|
||||
kid3-qt
|
||||
lib32-gamemode
|
||||
lib32-nvidia-utils
|
||||
libva-utils
|
||||
libvirt
|
||||
linux
|
||||
linux-firmware
|
||||
linux-headers
|
||||
log2ram
|
||||
mako
|
||||
man-db
|
||||
man-pages
|
||||
mesa-utils
|
||||
mixxx
|
||||
mpv
|
||||
mtools
|
||||
mumble
|
||||
nano
|
||||
ncdu
|
||||
ncspot
|
||||
network-manager-applet
|
||||
networkmanager
|
||||
networkmanager-dmenu-git
|
||||
nextcloud-client
|
||||
nm-connection-editor
|
||||
nmap
|
||||
noto-fonts-cjk
|
||||
nvidia-open-dkms
|
||||
nvidia-settings
|
||||
nvidia-utils
|
||||
nvtop
|
||||
nwg-look
|
||||
obs-studio
|
||||
obsidian
|
||||
onlyoffice-bin
|
||||
orca-slicer-bin
|
||||
pacman-contrib
|
||||
pamixer
|
||||
papirus-icon-theme
|
||||
pavucontrol
|
||||
pinta
|
||||
pipewire-alsa
|
||||
pipewire-pulse
|
||||
plymouth
|
||||
polkit-kde-agent
|
||||
power-profiles-daemon
|
||||
powertop
|
||||
python-build
|
||||
python-installer
|
||||
python-pipx
|
||||
qemu-full
|
||||
qt5-graphicaleffects
|
||||
qt5-quickcontrols2
|
||||
qt5-svg
|
||||
qt5-wayland
|
||||
qt6-5compat
|
||||
qt6-wayland
|
||||
refind
|
||||
refind-theme-catppuccin-git
|
||||
rofi
|
||||
rustdesk-bin
|
||||
sane-airscan
|
||||
sddm
|
||||
sddm-theme-catppuccin-git
|
||||
seahorse
|
||||
signal-desktop
|
||||
slurp
|
||||
sof-firmware
|
||||
steam
|
||||
swaybg
|
||||
syncthing
|
||||
system-config-printer
|
||||
texinfo
|
||||
thermald
|
||||
throttled
|
||||
thunar
|
||||
thunar-archive-plugin
|
||||
thunderbird
|
||||
timeshift
|
||||
tree
|
||||
ttf-jetbrains-mono-nerd
|
||||
tumbler
|
||||
ungoogled-chromium-bin
|
||||
unzip
|
||||
ventoy-bin
|
||||
vesktop-bin
|
||||
viewnior
|
||||
virt-manager
|
||||
vscodium-bin
|
||||
vulkan-intel
|
||||
waybar
|
||||
websocat
|
||||
wget
|
||||
wine
|
||||
wine-gecko
|
||||
wine-mono
|
||||
wireguard-tools
|
||||
wl-clipboard
|
||||
wlogout
|
||||
woff2-font-awesome
|
||||
wol
|
||||
xdg-desktop-portal-hyprland
|
||||
yay
|
||||
ydotool
|
||||
yt-dlp
|
||||
zram-generator
|
||||
zsh
|
||||
zsh-theme-powerlevel10k-git
|
||||
Reference in New Issue
Block a user