#!/bin/bash
# desktop apps
cp ~/.linux-env/applications/*/*.desktop ~/.local/share/applications/
cp ~/.linux-env/applications/*/*.sh ~/.local/bin/
cp ~/.linux-env/applications/*/*.svg ~/.local/share/icons/

chmod +x ~/.local/share/applications/*.desktop
chmod +x ~/.local/bin/*.sh

update-desktop-database ~/.local/share/applications/
gtk-update-icon-cache ~/.local/share/icons/  # inutile sauf si tu fais un vrai thème d'icônes
