x opacity

2022-01-06 Thread Paum B.
Hi, I don't know where I should ask.

I want to achieve:  vim in terminal, with possibility to put 100% opacity
to everything besides text I am writing, so that all terminal window,
except my text is transparent.

I am sorry if I am asking on wrong place.

best
Fray


Re: x opacity

2022-01-10 Thread Paum B.
Thank you all! I figured it out, exactly what I need.

best

On Thu, Jan 6, 2022 at 3:24 PM Carsten Haitzler 
wrote:

> On Thu, 6 Jan 2022 01:11:48 +0100 "Paum B."  said:
>
> > Hi, I don't know where I should ask.
> >
> > I want to achieve:  vim in terminal, with possibility to put 100% opacity
> > to everything besides text I am writing, so that all terminal window,
> > except my text is transparent.
> >
> > I am sorry if I am asking on wrong place.
>
> Thaat's uop to your terminal emulator program to do that.
>
> FYI This is exactly what Terminology does - the background of the terminal
> can
> be transparent (slider to select how much) with the text (and bg backing
> behind
> text if the terinal app requests a background  color rather than no
> background)
> will be solid. Like this:
>
> http://www.enlightenment.org/ss/e-61d6fb29dd8db0.62354864.png
>
> (80% translucency settings - ie mostly solid):
>
> http://www.enlightenment.org/ss/e-61d6fb6550c9e5.09200548.png
>
> --
> - Codito, ergo sum - "I code, therefore I am" --
> Carsten Haitzler - ras...@rasterman.com
>
>


change font size in terminal remotely fails.

2022-01-10 Thread Paum B.
Hi,

I have forked the suckless st terminal (because of simplicity) for my
artistic needs. I do some livecoding stuff with kinda ascii art in it. (
vimeo )

I have added OSC  control
to be able to change some parameters on the fly (characters printed,
speed,  colors etc.)

My problem:
st terminal has implemented functionality to change its font size on some
keyboard shortcut and it works (ctrl + shift + {PgUp, PgDown}). When I bind
the same function to my custom OSC hook (to be able remotely change font
size) it fails with error msg:

X Error of failed request:  RenderBadGlyphSet (invalid GlyphSet parameter)
  Major opcode of failed request:  139 (RENDER)
  Minor opcode of failed request:  20 (RenderAddGlyphs)
  GlyphSet id in failed request: 0x4400031
  Serial number of failed request:  25116
  Current serial number in output stream:  25143

What is strange is that it fails on cca 90% times. Sometimes, really
sometimes it works. I think I am missing something of X innards. Do you
anybody know where I should look ?

Thanx