From 3dacee5d1ecb51071207232e37b3ee07bf888ef4 Mon Sep 17 00:00:00 2001 From: aleks Date: Tue, 31 May 2022 00:33:38 +0200 Subject: Create a desktop-entry for st Enables to find st in a graphical menu and to display it with a nice icon. If some applications still are not displaying an icon for st try the patch [netwmicon](../netwmicon/). Programs like tint2 and alttab rely on a hardcoded icon which has to be stored by st in the \_NET\_WM\_ICON window-property. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 15db421..4158da2 100644 --- a/Makefile +++ b/Makefile @@ -43,9 +43,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 clean dist install uninstall -- cgit v1.2.3