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.
This commit is contained in:
parent
a7305631cb
commit
819f8ea7c2
3
Makefile
3
Makefile
@ -51,9 +51,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)$(PREFIX)/share/applications
|
||||||
|
cp -f st.desktop $(DESTDIR)$(PREFIX)/share/applications
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/st
|
rm -f $(DESTDIR)$(PREFIX)/bin/st
|
||||||
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
|
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
|
||||||
|
rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop
|
||||||
|
|
||||||
.PHONY: all options clean dist install uninstall
|
.PHONY: all options clean dist install uninstall
|
||||||
|
8
st.desktop
Normal file
8
st.desktop
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user