st

my customized st build
git clone git://git.hanetzok.net/st
Log | Files | Refs | README | LICENSE

commit 35b5fd4cf406f9f3e9704c6c5eed980dbd48371d
parent 7e7ca1d565bf21c825f96caf60e863dd496e2b42
Author: Markus Hanetzok <markus@hanetzok.net>
Date:   Tue, 28 Oct 2025 10:38:25 +0100

apply desktopentry patch

Diffstat:
MMakefile | 3+++
Mconfig.mk | 1+
Ast.desktop | 12++++++++++++
3 files changed, 16 insertions(+), 0 deletions(-)

diff --git 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 diff --git a/config.mk b/config.mk @@ -5,6 +5,7 @@ VERSION = 0.9.3 # paths PREFIX = /usr/local +APPPREFIX = $(PREFIX)/share/applications MANPREFIX = $(PREFIX)/share/man X11INC = /usr/X11R6/include diff --git a/st.desktop b/st.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Application +Exec=st +TryExec=st +Icon=utilities-terminal +Terminal=false +Categories=System;TerminalEmulator; + +Name=st +GenericName=Terminal +Comment=st is a simple terminal implementation for X +StartupWMClass=st-256color