mcaimi / st

Suckless Terminal -- WIP Fork

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.Xresources not load with -n

GutsyHeart opened this issue · comments


Left default st / Right st -n test

Can you please detail this issue a little more? What do you expect to see?
If I understood correctly, Xresources are not applied when you start st with the '-n' switch.

That is to be expected, as you are basically adding a new WM_CLASS item to the terminal window.
Xresources from Xrdb are expected to be named WM_NAME.RESOURCE_NAME: by default WM_NAME is 'st'.

For example, for property 'color0' you have to set 'st.color0'. If you change the window name with '-n' as per your example, the property that needs to be set is 'test.color0'

I hope I understood this issue. If not, please give me some more details, thanks :)

Yes, you understood the problem correctly.

Thanks. I understood. '*.color0' is works.

Ok, good. I'm closing the issue.
Thanks!