From 287695126280932435b9c1349b3425e05bdf82bd Mon Sep 17 00:00:00 2001 From: bakkeby Date: Sat, 8 May 2021 14:24:42 +0200 Subject: [PATCH] Adding desktop patch ref. #21 --- Makefile | 3 +++ st.desktop | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 st.desktop diff --git a/Makefile b/Makefile index 73f2ed0..67da114 100644 --- a/Makefile +++ b/Makefile @@ -60,10 +60,13 @@ install: st sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1 chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 tic -sx st.info + mkdir -p $(DESTDIR)$(PREFIX)/share/applications # desktop-entry patch + cp -n st.desktop $(DESTDIR)$(PREFIX)/share/applications # desktop-entry patch @echo Please see the README file regarding the terminfo entry of st. uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/st rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 + rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop # desktop-entry patch .PHONY: all options clean dist install uninstall diff --git a/st.desktop b/st.desktop new file mode 100644 index 0000000..14a389a --- /dev/null +++ b/st.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=st +Comment=st is a simple terminal implementation for X +Exec=st +Icon=utilities-terminal +Terminal=false +Type=Application +Categories=System;TerminalEmulator; \ No newline at end of file