diff options
| author | aleks <aleks.stier@icloud.com> | 2022-05-31 00:33:38 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-02-06 03:23:18 +0100 |
| commit | 3dacee5d1ecb51071207232e37b3ee07bf888ef4 (patch) | |
| tree | e6a19a166cc653c4333e7c19e095ec5bfc2ecec1 /Makefile | |
| parent | copy text on selection (diff) | |
| download | st-3dacee5d1ecb51071207232e37b3ee07bf888ef4.tar.gz st-3dacee5d1ecb51071207232e37b3ee07bf888ef4.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -43,9 +43,12 @@ install: st | |||
| 43 | chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 | 43 | chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 |
| 44 | tic -sx st.info | 44 | tic -sx st.info |
| 45 | @echo Please see the README file regarding the terminfo entry of st. | 45 | @echo Please see the README file regarding the terminfo entry of st. |
| 46 | mkdir -p $(DESTDIR)$(APPPREFIX) | ||
| 47 | cp -f st.desktop $(DESTDIR)$(APPPREFIX) | ||
| 46 | 48 | ||
| 47 | uninstall: | 49 | uninstall: |
| 48 | rm -f $(DESTDIR)$(PREFIX)/bin/st | 50 | rm -f $(DESTDIR)$(PREFIX)/bin/st |
| 51 | rm -f $(DESTDIR)$(APPPREFIX)/st.desktop | ||
| 49 | rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 | 52 | rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 |
| 50 | 53 | ||
| 51 | .PHONY: all clean dist install uninstall | 54 | .PHONY: all clean dist install uninstall |
