Votre Nom il y a 2 ans
Parent
commit
f4693659c6
1 fichiers modifiés avec 23 ajouts et 1 suppressions
  1. 23 1
      build/build_linux.sh

+ 23 - 1
build/build_linux.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-echo -e "linux config v2.1 wareck@gmail.com"
+echo -e "Linux config v2.2 wareck@gmail.com"
 echo -e ""
 PS3='Please enter your choice: '
 options=("NVIDIA-RTX" "NVIDIA-GTX" "AMD" "Quit")
@@ -190,6 +190,28 @@ sudo systemctl start liquidcfg
 sudo systemctl enable liquidcfg
 gsettings set org.gnome.desktop.background picture-uri /home/wareck/Images/wallpaperNvidia.jpg
 gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 32
+
+cat <<'EOF'>> zap
+#!/bin/bash
+dconf load /org/gnome/terminal/ < /usr/local/bin/zap2
+EOF
+sed -i "s/XXX/$zip/g" zap
+UUID=$(gsettings get org.gnome.Terminal.ProfilesList default | tr -d \')
+cat <<'EOF'>> zap2
+[legacy/profiles:/:XXX]
+default-size-columns=110
+font='Monospace 9'
+use-system-font=false
+use-theme-colors=false
+background-color='rgb(0,0,0)'
+EOF
+sed -i "s/XXX/$UUID/g" zap2
+chmod +x zap
+sudo cp zap /usr/local/bin
+sudo cp zap2 /usr/local/bin
+sudo rm zap
+sudo rm zap2
+bash -c /usr/local/bin/zap
 fi
 
 if [ $Mode = "NVIDIARTX" ]