diff --git a/install.sh b/install.sh index 43704cd..8900700 100644 --- a/install.sh +++ b/install.sh @@ -120,19 +120,20 @@ 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 -#sleep 2 -#wmctrl -c "Préférences de 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 +sleep 2 +wmctrl -c "Préférences de Variety" # 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 -p=wibian --min_at_startup &>/dev/null & +nohup shutter -p=wibian &>/dev/null & +wmctrl -c "Shutter" # Suppression des sources d'installation du répértoire utilisateur rm -r $builddir