Apply desktop entry patch

This commit is contained in:
Oshgnacknak 2022-06-03 10:33:15 +02:00
parent 2de4dbde05
commit 6eb08bd614
Signed by: Oshgnacknak
GPG key ID: 8CB7375654585956
4 changed files with 17 additions and 0 deletions

View file

@ -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)$(APPPREFIX)
cp -f st.desktop $(DESTDIR)$(APPPREFIX)
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
rm -f $(DESTDIR)$(APPPREFIX)/st.desktop
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
.PHONY: all options clean dist install uninstall

1
README
View file

@ -38,3 +38,4 @@ Applied Patches
https://st.suckless.org/patches/scrollback/
https://st.suckless.org/patches/alpha/
https://st.suckless.org/patches/w3m/
http://st.suckless.org/patches/desktopentry/

View file

@ -5,6 +5,7 @@ VERSION = 0.8.5
# paths
PREFIX = /usr/local
APPPREFIX = $(PREFIX)/share/applications
MANPREFIX = $(PREFIX)/share/man
X11INC = /usr/X11R6/include

12
st.desktop Normal file
View file

@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Exec=st
TryExec=st
Icon=utilities-terminal
Terminal=false
Categories=System;TerminalEmulator;
Name=st
GenericName=Terminal
Comment=st is a simple terminal implementation for X
StartupWMClass=st-256color