From 819f8ea7c2a18aa3ebf666dd459b9ae6260cca14 Mon Sep 17 00:00:00 2001 From: aleks Date: Wed, 7 Jul 2021 11:27:52 +0200 Subject: [PATCH] Create a desktop-entry for st Creates a desktop-entry for st. This enables to find st in a graphical menu and to display it with a nice icon. --- Makefile | 3 +++ st.desktop | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 st.desktop diff --git a/Makefile b/Makefile index f6860c0..d9f2025 100644 --- a/Makefile +++ b/Makefile @@ -51,9 +51,12 @@ 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. + mkdir -p $(DESTDIR)$(PREFIX)/share/applications + cp -f st.desktop $(DESTDIR)$(PREFIX)/share/applications uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/st rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 + rm -f $(DESTDIR)$(PREFIX)/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..49029d8 --- /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;