replaced st-no-bold-colors with st-disable-bold-italic-fonts

This commit is contained in:
Ryan 2018-09-09 22:32:33 +02:00
parent 9d3d78b08d
commit ca0023db70
2 changed files with 11 additions and 3 deletions

View file

@ -15,7 +15,7 @@ _patches=("https://st.suckless.org/patches/clipboard/st-clipboard-0.8.1.diff"
"https://st.suckless.org/patches/scrollback/st-scrollback-mouse-0.8.diff"
"https://st.suckless.org/patches/vertcenter/st-vertcenter-20180320-6ac8c8a.diff"
"https://st.suckless.org/patches/alpha/st-alpha-0.8.1.diff"
"https://st.suckless.org/patches/solarized/st-no_bold_colors-20170623-b331da5.diff"
"https://st.suckless.org/patches/disable_bold_italic_fonts/st-disable-bold-italic-fonts.diff"
"https://st.suckless.org/patches/solarized/st-solarized-dark-20180411-041912a.diff")
source=("http://dl.suckless.org/st/$pkgname-$pkgver.tar.gz"
@ -23,13 +23,13 @@ source=("http://dl.suckless.org/st/$pkgname-$pkgver.tar.gz"
"${_patches[@]}")
sha256sums=('c4fb0fe2b8d2d3bd5e72763e80a8ae05b7d44dbac8f8e3bb18ef0161c7266926'
'51ed89228ed099192379e3c90f8ff83ebe5bdeb45ae47723ddc5d94de05f0ad0'
'0bcd30e21468848432e490899932a1779c342f52f03917331acbabb7e0123d9d'
'f22e0165aacb2bc86d000728c81f68022abcc601dbfd09e516e1ba772225d7e6'
'8279d347c70bc9b36f450ba15e1fd9ff62eedf49ce9258c35d7f1cfe38cca226'
'3fb38940cc3bad3f9cd1e2a0796ebd0e48950a07860ecf8523a5afd0cd1b5a44'
'04e6a4696293f668260b2f54a7240e379dbfabbc209de07bd5d4d57e9f513360'
'7bf61cb8a505891574f3ad0a5420334d3e965b9f7d0067df3819eeef72ce1358'
'71e1211189d9e11da93ee49388379c5f8469fcd3e1f48bb4d791ddaf161f5845'
'206ac98601adead3139eac64a23e28202879b94d6cf61e71e5bf457bde34ed18'
'b2d5e88a2616eafb82b2fefb63eecb0f9d71f839349ef40f9f69c1953444f88c')
prepare() {
@ -39,6 +39,8 @@ prepare() {
# Modify alpha patch to prevent conflicts
sed -i 's/size_t colornamelen/unsigned int tabspaces/g' "$srcdir/$(basename ${_patches[4]})"
sed -i '7,7d' "$srcdir/$(basename ${_patches[5]})"
sed -i '10,26d' "$srcdir/$(basename ${_patches[5]})"
sed -i '1,68d' "$srcdir/$(basename ${_patches[6]})"
for patch in "${_patches[@]}"; do

View file

@ -471,3 +471,9 @@ static char ascii_printable[] =
" !\"#$%&'()*+,-./0123456789:;<=>?"
"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
"`abcdefghijklmnopqrstuvwxyz{|}~";
/* disable bold, italic and roman fonts globally */
int disablebold = 0;
int disableitalic = 0;
int disableroman = 0;