Apply desktop entry patch
This commit is contained in:
parent
2de4dbde05
commit
6eb08bd614
4 changed files with 17 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -49,9 +49,12 @@ install: st
|
||||||
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
|
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
|
||||||
tic -sx st.info
|
tic -sx st.info
|
||||||
@echo Please see the README file regarding the terminfo entry of st.
|
@echo Please see the README file regarding the terminfo entry of st.
|
||||||
|
mkdir -p $(DESTDIR)$(APPPREFIX)
|
||||||
|
cp -f st.desktop $(DESTDIR)$(APPPREFIX)
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/st
|
rm -f $(DESTDIR)$(PREFIX)/bin/st
|
||||||
|
rm -f $(DESTDIR)$(APPPREFIX)/st.desktop
|
||||||
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
|
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
|
||||||
|
|
||||||
.PHONY: all options clean dist install uninstall
|
.PHONY: all options clean dist install uninstall
|
||||||
|
|
1
README
1
README
|
@ -38,3 +38,4 @@ Applied Patches
|
||||||
https://st.suckless.org/patches/scrollback/
|
https://st.suckless.org/patches/scrollback/
|
||||||
https://st.suckless.org/patches/alpha/
|
https://st.suckless.org/patches/alpha/
|
||||||
https://st.suckless.org/patches/w3m/
|
https://st.suckless.org/patches/w3m/
|
||||||
|
http://st.suckless.org/patches/desktopentry/
|
||||||
|
|
|
@ -5,6 +5,7 @@ VERSION = 0.8.5
|
||||||
|
|
||||||
# paths
|
# paths
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
|
APPPREFIX = $(PREFIX)/share/applications
|
||||||
MANPREFIX = $(PREFIX)/share/man
|
MANPREFIX = $(PREFIX)/share/man
|
||||||
|
|
||||||
X11INC = /usr/X11R6/include
|
X11INC = /usr/X11R6/include
|
||||||
|
|
12
st.desktop
Normal file
12
st.desktop
Normal 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
|
Loading…
Add table
Reference in a new issue