diff options
| author | Federico I <git@federicoigne.com> | 2020-03-21 13:38:40 +0000 |
|---|---|---|
| committer | Federico I <git@federicoigne.com> | 2020-03-21 13:38:40 +0000 |
| commit | d0275e8dcdb3224259582b4fea7aeb694d2fd944 (patch) | |
| tree | fe1d013bd2a4c0838c570083d4803624e1850d9a | |
| parent | 9b0126bab0a35159d421e73412c930b646651346 (diff) | |
| download | st-d0275e8dcdb3224259582b4fea7aeb694d2fd944.tar.gz st-d0275e8dcdb3224259582b4fea7aeb694d2fd944.zip | |
Apply DesktopEntry patch
Patch Homepage: https://st.suckless.org/patches/desktopentry/
Patch Link: https://st.suckless.org/patches/desktopentry/st-desktopentry-0.8.2.diff
Additional notes: patch applied manually
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | st.desktop | 7 |
2 files changed, 9 insertions, 0 deletions
| @@ -49,9 +49,11 @@ install: st | |||
| 49 | chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 | 49 | chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 |
| 50 | tic -sx st.info | 50 | tic -sx st.info |
| 51 | @echo Please see the README file regarding the terminfo entry of st. | 51 | @echo Please see the README file regarding the terminfo entry of st. |
| 52 | cp -f st.desktop /usr/share/applications | ||
| 52 | 53 | ||
| 53 | uninstall: | 54 | uninstall: |
| 54 | rm -f $(DESTDIR)$(PREFIX)/bin/st | 55 | rm -f $(DESTDIR)$(PREFIX)/bin/st |
| 55 | rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 | 56 | rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 |
| 57 | rm -f /usr/share/applications/st.desktop | ||
| 56 | 58 | ||
| 57 | .PHONY: all options clean dist install uninstall | 59 | .PHONY: all options clean dist install uninstall |
diff --git a/st.desktop b/st.desktop new file mode 100644 index 0000000..a1b5116 --- /dev/null +++ b/st.desktop | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Type=Application | ||
| 3 | Name=st | ||
| 4 | Comment=simple-terminal emulator for X | ||
| 5 | Icon=utilities-terminal | ||
| 6 | Exec=st | ||
| 7 | Categories=System;TerminalEmulator | ||
