aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--config.def.h4
-rw-r--r--readme.md1
-rwxr-xr-xstbin106736 -> 106800 bytes
-rw-r--r--st.desktop7
5 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 38240da..eacc2ef 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/config.def.h b/config.def.h
index 452205d..d9c48cd 100644
--- a/config.def.h
+++ b/config.def.h
@@ -5,7 +5,7 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char *font = "JetBrainsMono NF:size=10";
+static char *font = "";
static int borderpx = 0;
/*
@@ -94,7 +94,7 @@ char *termname = "st-256color";
unsigned int tabspaces = 4;
/* bg opacity */
-float alpha = 0.92;
+float alpha = 1.00;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
diff --git a/readme.md b/readme.md
index fb3526d..490af4d 100644
--- a/readme.md
+++ b/readme.md
@@ -8,4 +8,5 @@ This is my custom build of st, including the following patches:
- st-scrollback
- st-scrollback-mouse
- st-xresources
+- st-desktopentry
diff --git a/st b/st
index cefcd18..d6fb7ec 100755
--- a/st
+++ b/st
Binary files differ
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