Remove README reccomanded icons

This commit is contained in:
Mylloon 2021-12-28 16:52:19 +01:00
parent 623144c950
commit d6245781b9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 14 additions and 11 deletions

View file

@ -157,14 +157,3 @@ Mon guide à suivre lors d'une réinstallation d'Ubuntu
```bash ```bash
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installSignal.sh -O tmp.sh && bash tmp.sh; rm tmp.sh wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installSignal.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
``` ```
<details>
<summary>Mémo de commande utile peu de temps après une réinstallation/mise à jour</summary>
-
- Désactive des éléments du "Bureau" dans Ubuntu
```bash
sudo mv /usr/share/applications/debian-xterm.desktop /usr/share/applications/debian-xterm.desktop.bak
sudo mv /usr/share/applications/debian-uxterm.desktop usr/share/applications/debian-uxterm.desktop.bak
```
</details>

View file

@ -35,5 +35,19 @@ echo "Window are now minimized when clicked in te dock!"
gsettings set org.gnome.desktop.interface show-battery-percentage true gsettings set org.gnome.desktop.interface show-battery-percentage true
echo "Battery pourcentage now displayed!" echo "Battery pourcentage now displayed!"
# Icons
# Path where icons are saved
pathicons='/usr/share/applications'
apps=("debian-xterm" "debian-uxterm")
# We remove the Ubuntu desktop shortcut only if it already exists
for app in ${apps[@]}
do
if [ -f $pathicons/$app.desktop ]
then
sudo mv $pathicons/$app.desktop $pathicons/$app.desktop.bak
echo "$app's icon removed!"
fi
done
echo -e "\nGlobal Ubuntu modifications applied! 🎉" echo -e "\nGlobal Ubuntu modifications applied! 🎉"