mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-24 16:05:47 +01:00
font and opacity changes
This commit is contained in:
parent
36d225d71d
commit
967effbc24
5 changed files with 34 additions and 5 deletions
3
Makefile
3
Makefile
|
@ -44,6 +44,8 @@ install: st
|
|||
cp -f st $(DESTDIR)$(PREFIX)/bin
|
||||
cp -f st-copyout $(DESTDIR)$(PREFIX)/bin
|
||||
cp -f st-urlhandler $(DESTDIR)$(PREFIX)/bin
|
||||
mkdir -p $(DESTDIR)$(APPPREFIX)
|
||||
cp -f st.desktop $(DESTDIR)$(APPPREFIX)
|
||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/st
|
||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/st-copyout
|
||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/st-urlhandler
|
||||
|
@ -55,6 +57,7 @@ install: st
|
|||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/st
|
||||
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
|
||||
|
|
15
Makefile.rej
Normal file
15
Makefile.rej
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -49,12 +49,9 @@ 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 options clean dist install uninstall
|
8
config.h
8
config.h
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
||||
*/
|
||||
static char *font = "mono:pixelsize=12:antialias=true:autohint=true";
|
||||
static char *font = "FiraCode Nerd Font:pixelsize=14: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/sh";
|
||||
static char *shell = "/bin/zsh";
|
||||
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 = "st-256color";
|
||||
char *termname = "xterm-256color";
|
||||
|
||||
/*
|
||||
* spaces per tab
|
||||
|
@ -107,7 +107,7 @@ char *termname = "st-256color";
|
|||
unsigned int tabspaces = 8;
|
||||
|
||||
/* bg opacity */
|
||||
float alpha = 0.8;
|
||||
float alpha = 0.9;
|
||||
float alphaOffset = 0.0;
|
||||
float alphaUnfocus;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ VERSION = 0.8.5
|
|||
# paths
|
||||
PREFIX = /usr/local
|
||||
MANPREFIX = $(PREFIX)/share/man
|
||||
|
||||
APPPREFIX = $(PREFIX)/share/applications
|
||||
X11INC = /usr/X11R6/include
|
||||
X11LIB = /usr/X11R6/lib
|
||||
|
||||
|
|
11
st.desktop
Normal file
11
st.desktop
Normal file
|
@ -0,0 +1,11 @@
|
|||
[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=xterm-256color
|
Loading…
Reference in a new issue