aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-09 21:38:02 +0200
committerMateja <mail@matejamaric.com>2021-04-09 21:38:02 +0200
commit4811685780bc7595949344b0b167da20fbcae9e9 (patch)
treef28b4d40e62045224aa90d7ac04c497b79113cd1
parentdc273f41c5d548026b4bea766c919f1e4e8a04ac (diff)
downloadst-1.2.1.tar.gz
st-1.2.1.zip
Applied `desktopentry` patch.v1.2.1
-rw-r--r--Makefile3
-rw-r--r--README.md1
-rw-r--r--st.desktop8
3 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6dfa212..be32361 100644
--- a/Makefile
+++ b/Makefile
@@ -50,9 +50,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/README.md b/README.md
index ae379d2..dfba750 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,7 @@ This is my fork of [st][stterm] terminal with following patches applied:
- alpha
- boxdraw
- newterm
+- desktopentry
## Dependencies:
diff --git a/st.desktop b/st.desktop
new file mode 100644
index 0000000..e4e0714
--- /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=terminal
+Terminal=false
+Type=Application
+Categories=System;TerminalEmulator;