sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit d29e396541affe644b3235b1bf11fc46beb81200
parent f7f5f6a67264d4a522a0126cf0305c2f7087ee03
Author: aleks <aleks.stier@icloud.com>
Date:   Mon, 29 Mar 2021 15:02:05 +0200

[st][patch][desktopentry] fix broken icon and update

Diffstat:
Mst.suckless.org/patches/desktopentry/index.md | 5+++--
Dst.suckless.org/patches/desktopentry/st-desktopentry-0.8.2.diff | 44--------------------------------------------
Ast.suckless.org/patches/desktopentry/st-desktopentry-0.8.4.diff | 48++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 51 insertions(+), 46 deletions(-)

diff --git a/st.suckless.org/patches/desktopentry/index.md b/st.suckless.org/patches/desktopentry/index.md @@ -3,11 +3,12 @@ desktopentry Description ----------- -Creates a desktop-entry for st. This enables to find st in a graphical menu and to display it with a nice icon. +Creates a desktop-entry for st. This enables to find st in a graphical menu and +to display it with a nice icon. Download -------- -* [st-desktopentry-0.8.2.diff](st-desktopentry-0.8.2.diff) +* [st-desktopentry-0.8.4.diff](st-desktopentry-0.8.4.diff) Authors ------- diff --git a/st.suckless.org/patches/desktopentry/st-desktopentry-0.8.2.diff b/st.suckless.org/patches/desktopentry/st-desktopentry-0.8.2.diff @@ -1,44 +0,0 @@ -From 0ba2850930d2ef22a1774f3dc78884c978f2d8be Mon Sep 17 00:00:00 2001 -From: aleks <aleks.stier@icloud.com> -Date: Wed, 27 May 2020 01:20:00 +0200 -Subject: [PATCH] Create a desktop-entry for st - ---- - Makefile | 3 +++ - st.desktop | 7 +++++++ - 2 files changed, 10 insertions(+) - create mode 100644 st.desktop - -diff --git a/Makefile b/Makefile -index ed19e70..29e25b9 100644 ---- a/Makefile -+++ b/Makefile -@@ -50,9 +50,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)$(PREFIX)/share/applications -+ cp -f st.desktop $(DESTDIR)$(PREFIX)/share/applications - - uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/st - rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 -+ rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop - - .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 @@ -+[Desktop Entry] -+Type=Application -+Name=st -+Comment=simple-terminal emulator for X -+Icon=utilities-terminal -+Exec=st -+Categories=System;TerminalEmulator --- -2.26.2 - diff --git a/st.suckless.org/patches/desktopentry/st-desktopentry-0.8.4.diff b/st.suckless.org/patches/desktopentry/st-desktopentry-0.8.4.diff @@ -0,0 +1,48 @@ +From b9ce8f6df1d2318d2aa8ec9668ec227cfe327e5c Mon Sep 17 00:00:00 2001 +From: aleks <aleks.stier@icloud.com> +Date: Wed, 27 May 2020 01:35:15 +0200 +Subject: [PATCH] Apply desktopentry-0.8.4 + +Creates a desktop-entry for st. This enables to find st in a graphical +menu and to display it with a nice icon. + +--- + Makefile | 3 +++ + st.desktop | 8 ++++++++ + 2 files changed, 11 insertions(+) + create mode 100644 st.desktop + +diff --git a/Makefile b/Makefile +index fd1321e..6e79a1c 100644 +--- a/Makefile ++++ b/Makefile +@@ -49,9 +49,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)$(PREFIX)/share/applications ++ cp -f st.desktop $(DESTDIR)$(PREFIX)/share/applications + + uninstall: + rm -f $(DESTDIR)$(PREFIX)/bin/st + rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 ++ rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop + + .PHONY: all options clean dist install uninstall +diff --git a/st.desktop b/st.desktop +new file mode 100644 +index 0000000..e4e0714 +--- /dev/null ++++ b/st.desktop +@@ -0,0 +1,8 @@ ++[Desktop Entry] ++Name=st ++Comment=st is a simple terminal implementation for X ++Exec=st ++Icon=terminal ++Terminal=false ++Type=Application ++Categories=System;TerminalEmulator; +-- +2.31.0 +