fix desktop icon not appearing

This commit is contained in:
alfrix 2023-03-12 08:39:06 -06:00
parent 5f3827a2cb
commit 2d8419ca13
2 changed files with 2 additions and 1 deletions

View File

@ -168,6 +168,7 @@ add_desktop_file()
DESKTOP=$(<$SCRIPTPATH/KlipperScreen.desktop)
mkdir -p $HOME/.local/share/applications/
echo "$DESKTOP" | tee $HOME/.local/share/applications/KlipperScreen.desktop > /dev/null
sudo cp $SCRIPTPATH/../styles/icon.svg /usr/share/icons/hicolor/scalable/apps/KlipperScreen.svg
}
start_KlipperScreen()

View File

@ -1,7 +1,7 @@
[Desktop Entry]
Name=KlipperScreen
GenericName=Touch screen GUI for Klipper via Moonraker
Icon=$HOME/KlipperScreen/styles/icon.svg
Icon=KlipperScreen
Exec=sh -c "$HOME/.KlipperScreen-env/bin/python $HOME/KlipperScreen/screen.py"
Terminal=false
Type=Application