From d0275e8dcdb3224259582b4fea7aeb694d2fd944 Mon Sep 17 00:00:00 2001 From: Federico I Date: Sat, 21 Mar 2020 13:38:40 +0000 Subject: 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 --- Makefile | 2 ++ st.desktop | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 st.desktop diff --git a/Makefile b/Makefile index 470ac86..1b553fb 100644 --- a/Makefile +++ b/Makefile @@ -49,9 +49,11 @@ install: st chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 tic -sx st.info @echo Please see the README file regarding the terminfo entry of st. + cp -f st.desktop /usr/share/applications uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/st rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 + rm -f /usr/share/applications/st.desktop .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 @@ +[Desktop Entry] +Type=Application +Name=st +Comment=simple-terminal emulator for X +Icon=utilities-terminal +Exec=st +Categories=System;TerminalEmulator -- cgit v1.2.3