Add desktop file

This commit is contained in:
Akbar Rahman 2021-08-30 14:07:47 +01:00
parent eca7e237ea
commit 5ab2941d46
Signed by: alvierahman90
GPG Key ID: 20609519444A1269
3 changed files with 14 additions and 0 deletions

View File

@ -45,6 +45,8 @@ dist: clean
install: st
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f st $(DESTDIR)$(PREFIX)/bin
cp -f st.desktop $(DESTDIR)/usr/share/applications/
cp -f st.svg $(DESTDIR)/usr/share/icons/
chmod 755 $(DESTDIR)$(PREFIX)/bin/st
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1

7
st.desktop Normal file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/usr/local/bin/st
Name=st
Icon=/usr/share/icons/st.svg

5
st.svg Normal file
View File

@ -0,0 +1,5 @@
<?xml version="1.0"?>
<!-- Copyright (c) 2014-2017, Laslo Hunhold <dev@frign.de> CC BY 4.0 -->
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="40">
<path d="m 0,32 8,0 0,-16 40,0 0,8 -8,0 0,16 -8,0 0,-16 -16,0 0,16 -16,0 z" fill="#222"/>
</svg>

After

Width:  |  Height:  |  Size: 256 B