Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

  1. From 0ba2850930d2ef22a1774f3dc78884c978f2d8be Mon Sep 17 00:00:00 2001
  2. From: aleks <aleks.stier@icloud.com>
  3. Date: Wed, 27 May 2020 01:20:00 +0200
  4. Subject: [PATCH] Create a desktop-entry for st
  5. ---
  6. Makefile | 3 +++
  7. st.desktop | 7 +++++++
  8. 2 files changed, 10 insertions(+)
  9. create mode 100644 st.desktop
  10. diff --git a/Makefile b/Makefile
  11. index ed19e70..29e25b9 100644
  12. --- a/Makefile
  13. +++ b/Makefile
  14. @@ -50,9 +50,12 @@ install: st
  15. chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
  16. tic -sx st.info
  17. @echo Please see the README file regarding the terminfo entry of st.
  18. + mkdir -p $(DESTDIR)$(PREFIX)/share/applications
  19. + cp -f st.desktop $(DESTDIR)$(PREFIX)/share/applications
  20. uninstall:
  21. rm -f $(DESTDIR)$(PREFIX)/bin/st
  22. rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
  23. + rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop
  24. .PHONY: all options clean dist install uninstall
  25. diff --git a/st.desktop b/st.desktop
  26. new file mode 100644
  27. index 0000000..a1b5116
  28. --- /dev/null
  29. +++ b/st.desktop
  30. @@ -0,0 +1,7 @@
  31. +[Desktop Entry]
  32. +Type=Application
  33. +Name=st
  34. +Comment=simple-terminal emulator for X
  35. +Icon=utilities-terminal
  36. +Exec=st
  37. +Categories=System;TerminalEmulator
  38. --
  39. 2.26.2