diff --git a/.gitignore b/.gitignore index 0438df2..3b2e03d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ patches/ *.o st *.orig +Makefile.rej diff --git a/Makefile b/Makefile index e21d60c..03df121 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ install: st uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/st - rm -f $(DESTDIR)$(APPPREFIX )/st.desktop + rm -f $(DESTDIR)$(APPPREFIX)/st.desktop rm -f $(DESTDIR)$(PREFIX)/bin/st-copyout rm -f $(DESTDIR)$(PREFIX)/bin/st-urlhandler rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 diff --git a/config.h b/config.h index a4cb817..c86daa3 100644 --- a/config.h +++ b/config.h @@ -5,7 +5,7 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "FiraCode Nerd Font:pixelsize=14:antialias=true:autohint=true"; +static char *font = "mono:pixelsize=12:antialias=true:autohint=true"; static char *font2[] = { "NotoColorEmoji:pixelsize=10:antialias=true:autohint=true" }; static int borderpx = 2; @@ -17,7 +17,7 @@ static int borderpx = 2; * 4: value of shell in /etc/passwd * 5: value of shell in config.h */ -static char *shell = "/bin/zsh"; +static char *shell = "/bin/sh"; char *utmp = NULL; /* scroll program: to enable use a string like "scroll" */ char *scroll = NULL; @@ -87,7 +87,7 @@ const int boxdraw_braille = 0; static int bellvolume = 0; /* default TERM value */ -char *termname = "xterm-256color"; +char *termname = "st-256color"; /* * spaces per tab @@ -107,7 +107,7 @@ char *termname = "xterm-256color"; unsigned int tabspaces = 8; /* bg opacity */ -float alpha = 1; +float alpha = 0.8; float alphaOffset = 0.0; float alphaUnfocus; diff --git a/st.desktop b/st.desktop index d238fb8..814797e 100644 --- a/st.desktop +++ b/st.desktop @@ -8,4 +8,4 @@ Categories=System;TerminalEmulator; Name=st GenericName=Terminal Comment=st is a simple terminal implementation for X -StartupWMClass=xterm-256color +StartupWMClass=st-256color