aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraleks <aleks.stier@icloud.com>2020-05-27 01:35:15 +0200
committerShivesh Mandalia <mail@shivesh.org>2021-09-22 16:29:06 +0100
commit1a3df3652fcb24aa33467a0a6c2fdb6f3c43d63b (patch)
treeb77dd07cd80d819e5c53f25c87f3a395553b47db
parent2f6e597ed871cff91c627850d03152cae5f45779 (diff)
downloadst-1a3df3652fcb24aa33467a0a6c2fdb6f3c43d63b.tar.gz
st-1a3df3652fcb24aa33467a0a6c2fdb6f3c43d63b.zip
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.
-rw-r--r--Makefile3
-rw-r--r--st.desktop8
2 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 470ac86..5152b8b 100644
--- a/Makefile
+++ b/Makefile
@@ -49,9 +49,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;