aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico I <git@federicoigne.com>2020-03-21 13:38:40 +0000
committerFederico I <git@federicoigne.com>2020-03-21 13:38:40 +0000
commitd0275e8dcdb3224259582b4fea7aeb694d2fd944 (patch)
treefe1d013bd2a4c0838c570083d4803624e1850d9a
parent9b0126bab0a35159d421e73412c930b646651346 (diff)
downloadst-d0275e8dcdb3224259582b4fea7aeb694d2fd944.tar.gz
st-d0275e8dcdb3224259582b4fea7aeb694d2fd944.zip
Apply DesktopEntry patch
Patch Homepage: https://st.suckless.org/patches/desktopentry/ Patch Link: https://st.suckless.org/patches/desktopentry/st-desktopentry-0.8.2.diff Additional notes: patch applied manually
-rw-r--r--Makefile2
-rw-r--r--st.desktop7
2 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 470ac86..1b553fb 100644
--- a/Makefile
+++ b/Makefile
@@ -49,9 +49,11 @@ install: st
49 chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 49 chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
50 tic -sx st.info 50 tic -sx st.info
51 @echo Please see the README file regarding the terminfo entry of st. 51 @echo Please see the README file regarding the terminfo entry of st.
52 cp -f st.desktop /usr/share/applications
52 53
53uninstall: 54uninstall:
54 rm -f $(DESTDIR)$(PREFIX)/bin/st 55 rm -f $(DESTDIR)$(PREFIX)/bin/st
55 rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 56 rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
57 rm -f /usr/share/applications/st.desktop
56 58
57.PHONY: all options clean dist install uninstall 59.PHONY: all options clean dist install uninstall
diff --git a/st.desktop b/st.desktop
new file mode 100644
index 0000000..a1b5116
--- /dev/null
+++ b/st.desktop
@@ -0,0 +1,7 @@
1[Desktop Entry]
2Type=Application
3Name=st
4Comment=simple-terminal emulator for X
5Icon=utilities-terminal
6Exec=st
7Categories=System;TerminalEmulator