Skip to content

Commit

Permalink
Revert "Change icon back to png to avoid weirdness with svg"
Browse files Browse the repository at this point in the history
This reverts commit f205984.
  • Loading branch information
simoniz0r committed Apr 25, 2018
1 parent f205984 commit a3001e3
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -13,7 +13,7 @@ install:
@chmod +x yadshot.sh
@cp -p yadshot.sh $(DESTDIR)$(PREFIX)/bin/yadshot
@cp -p yadshot.desktop $(DESTDIR)$(PREFIX)/share/applications/yadshot.desktop
@cp -p yadshot.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps/yadshot.png
@cp -p yadshot.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/yadshot.svg
@echo 'yadshot installed!'

uninstall:
Expand Down
Binary file removed yadshot.png
Binary file not shown.
4 changes: 2 additions & 2 deletions yadshot.sh
Expand Up @@ -8,8 +8,8 @@
# export running directory variables for use later
export YADSHOT_PATH="$(readlink -f $0)"
export RUNNING_DIR="$(dirname $(readlink -f $0))"
if [ -f "/usr/share/icons/hicolor/64x64/apps/yadshot.png" ]; then
export ICON_PATH="/usr/share/icons/hicolor/64x64/apps/yadshot.png"
if [ -f "/usr/share/icons/hicolor/scalable/apps/yadshot.svg" ]; then
export ICON_PATH="/usr/share/icons/hicolor/scalable/apps/yadshot.svg"
else
export ICON_PATH="gtk-fullscreen"
fi
Expand Down
52 changes: 52 additions & 0 deletions yadshot.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a3001e3

Please sign in to comment.