Add desktop file
This commit is contained in:
parent
eca7e237ea
commit
5ab2941d46
2
Makefile
2
Makefile
@ -45,6 +45,8 @@ dist: clean
|
|||||||
install: st
|
install: st
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||||
cp -f st $(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
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/st
|
||||||
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||||
sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1
|
sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1
|
||||||
|
7
st.desktop
Normal file
7
st.desktop
Normal 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
5
st.svg
Normal 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 |
Loading…
Reference in New Issue
Block a user