From 8d8b1349a729070054ba29f6e530b1be4b6b8d1e Mon Sep 17 00:00:00 2001 From: wilou Date: Wed, 22 Mar 2023 23:04:38 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'install.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 51ecc57..a8efb2e 100644 --- a/install.sh +++ b/install.sh @@ -68,7 +68,7 @@ sed -i 's/InhibitDelayMaxSec=30/InhibitDelayMaxSec=1800/g' /usr/lib/systemd/logi nala install caja-share caja-nextcloud celluloid clementine gparted hugin kazam lightdm-settings mate-desktop-environment-extras metadata-cleaner numlockx peek printer-driver-all redshift-gtk shutter tilix tlp smtube variety xscreensaver-gl -y # Installation des paquets utilitaires -nala install curl flatpak figlet htop libnotify-bin neofetch nethogs nmap nwipe speedtest-cli stress s-tui swaks testdisk vim wmctrl -y +nala install curl flatpak figlet htop libnotify-bin neofetch nethogs nmap nwipe speedtest-cli stress s-tui swaks testdisk xdotool vim wmctrl -y # Installation des thèmes wibian-light et wibian-dark nala install greybird-gtk-theme papirus-icon-theme -y @@ -117,13 +117,19 @@ rm /home/$username/.config/dconf/user mkdir -p /home/$username/.config/variety cp $builddir/variety/* /home/$username/.config/variety/ chown -R $username:$username /home/$username/.config/variety/ +nohup variety &>/dev/null & +sleep 3 +wmctrl -a "Variety" && sleep 0.5s && xdotool key KP_Enter +sleep 2 +wmctrl -a "Variety - Privacy Notice" && sleep 0.5s && xdotool key KP_Enter # Restauration des pramètres de Shutter mkdir -p /home/$username/.shutter/profiles cp $builddir/shutter/* /home/$username/.shutter/profiles/ chown -R $username:$username /home/$username/.shutter/ nohup shutter &>/dev/null & -pkill shutter +wmctrl -c " Shutter" +pkill shutter nohup shutter -p=wibian --min_at_startup &>/dev/null & # Désinstallation des paquets non désirés @@ -137,7 +143,7 @@ echo "Bisous" | figlet -f big echo -ne "\n" # Décompte avant redémarrage -i=30 +i=10 while [ $i -ge 0 ]; do printf "Redémarrage dans $i \r"; sleep 1; ((i--)); done # redémarrage du système