Compare commits

...

2 Commits

Author SHA1 Message Date
d2acee51ff
Reduce opacity 2021-08-30 14:08:36 +01:00
5ab2941d46
Add desktop file 2021-08-30 14:08:16 +01:00
4 changed files with 15 additions and 1 deletions

View File

@ -45,6 +45,8 @@ dist: clean
install: st
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f st $(DESTDIR)$(PREFIX)/bin
cp -f st.desktop $(DESTDIR)/usr/share/applications/
cp -f st.svg $(DESTDIR)/usr/share/icons/
chmod 755 $(DESTDIR)$(PREFIX)/bin/st
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1

View File

@ -94,7 +94,7 @@ char *termname = "st-256color";
unsigned int tabspaces = 8;
/* bg opacity */
float alpha = 0.95;
float alpha = 0.90;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {

7
st.desktop Normal file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/usr/local/bin/st
Name=st
Icon=/usr/share/icons/st.svg

5
st.svg Normal file
View File

@ -0,0 +1,5 @@
<?xml version="1.0"?>
<!-- Copyright (c) 2014-2017, Laslo Hunhold <dev@frign.de> CC BY 4.0 -->
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="40">
<path d="m 0,32 8,0 0,-16 40,0 0,8 -8,0 0,16 -8,0 0,-16 -16,0 0,16 -16,0 z" fill="#222"/>
</svg>

After

Width:  |  Height:  |  Size: 256 B