Desktop Shortcut

This commit is contained in:
fred 2022-10-28 02:27:26 +02:00
parent 08e026cc05
commit 013d250349
2 changed files with 12 additions and 0 deletions

7
astroport.desktop Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Astroport
Exec=/home/_USER_/.zen/Astroport.ONE/ajouter_video.sh
Icon=/home/_USER_/.zen/Astroport.ONE/logo96.png
Type=Application
Categories=Utility

View File

@ -247,6 +247,11 @@ echo "$USER ALL=(ALL) NOPASSWD:/bin/systemctl" | (sudo su -c 'EDITOR="tee" visud
echo "$USER ALL=(ALL) NOPASSWD:/usr/local/bin/brother_ql_print" | (sudo su -c 'EDITOR="tee" visudo -f /etc/sudoers.d/brother_ql_print')
# ADD DESKTOP SHORTCUT
[[ "$USER" != "xbian" && -d ~/Bureau ]] && sed "s/_USER_/$USER/g" ~/.zen/Astroport.ONE/astroport.desktop > ~/Bureau/astroport.desktop && chmod +x ~/Bureau/astroport.desktop
[[ "$USER" != "xbian" && -d ~/Desktop ]] && sed "s/_USER_/$USER/g" ~/.zen/Astroport.ONE/astroport.desktop > ~/Desktop/astroport.desktop && chmod +x ~/Desktop/astroport.desktop
# MAIN # -f ~/.zen/secret.june (ISOConfig déjà lancé) ##
else