LukeSmithxyz / st

Luke's fork of the suckless simple terminal (st) with vim bindings and Xresource compatibility.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pywal now working

golam71 opened this issue · comments

according to pywal docs
printf "%b" "\033]11;#ff0000\007"
should make my terminal background red but it does not make it red

If you check https://github.com/LukeSmithxyz/st/blob/master/st.c#L1933 you'll see OSC escape code ]11 (set background) is not defined, while OSC escape code ]4 (set color) is defined. If you check https://github.com/LukeSmithxyz/st/blob/master/config.h#L146 you'll see the background is color number 258.

Therefore, use "\033]4;258;#ff0000\007" instead.