Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Xrdb-merge breaks emojis #54

Open
orhnk opened this issue Aug 26, 2023 · 7 comments
Open

[BUG] Xrdb-merge breaks emojis #54

orhnk opened this issue Aug 26, 2023 · 7 comments

Comments

@orhnk
Copy link

orhnk commented Aug 26, 2023

Here is a quick DEMO:

satellite-nvim-showcase-2023-08-26_12.12.47.mp4

Why this is important?

I manipulate the terminal padding whenever I enter Neovim. Which requires a xrdb-merge ~/.Xresources



Xft.antialias:	1
Xft.hinting:	1
Xft.autohint:	0
Xft.hintstyle:	hintslight
Xft.rgba:	rgb
Xft.lcdfilter:	lcddefault

! window padding
st.borderpx: 20

!-- values between 0.1  - 1.0 --!

st.alpha: 1.0

#define fonts JetBrainsMono Nerd Font :pixelsize=15:antialias=true:autohint=true, \
                   JoyPixels:style:Regular, \

! Symbola:style:Regular, \
! Noto Color Emoji, \

*.font: fonts



#define base00 #282828
#define base01 #3c3836
#define base02 #504945
#define base03 #665c54
#define base04 #bdae93
#define base05 #d5c4a1
#define base06 #ebdbb2
#define base07 #fbf1c7
#define base08 #fb4934
#define base09 #fe8019
#define base0A #fabd2f
#define base0B #b8bb26
#define base0C #8ec07c
#define base0D #83a598
#define base0E #d3869b
#define base0F #d65d0e

*.foreground:   base05
#ifdef background_opacity
*.background:   [background_opacity]base00
#else
*.background:   base00
#endif
*.cursorColor:  base05


*color0:       base00
*color1:       base08
*color2:       base0B
*color3:       base0A
*color4:       base0D
*color5:       base0E
*color6:       base0C
*color7:       base05

*color8:       base03
*color9:       base08
*color10:      base0B
*color11:      base0A
*color12:      base0D
*color13:      base0E
*color14:      base0C
*color15:      base07

! just remove this if you dont use my tabbed

tabbed.selfgcolor:   #d6d8eb
tabbed.selbgcolor:   #1e222a

tabbed.normfgcolor:  #9294a8
tabbed.normbgcolor:  #282c34
@orhnk
Copy link
Author

orhnk commented Sep 3, 2023

Eureka!!!

@siduck I found an insane behavior on coincidence:

demo-2023-09-03_14.58.00.mp4

@siduck
Copy link
Owner

siduck commented Sep 29, 2023

i had no idea my st build supported emojis, i dont remember a patch for it

@orhnk
Copy link
Author

orhnk commented Sep 30, 2023

#14
#19

are about this, but The solutions I tried didn't work.

Maybe I just don't know what should I do with libxft-bgra other than installing it

@siduck
Copy link
Owner

siduck commented Sep 30, 2023

just dont use emojis in st! issue solved

@orhnk
Copy link
Author

orhnk commented Oct 9, 2023

But can you explain why It is actually working?

(M-g key)

@siduck
Copy link
Owner

siduck commented Oct 9, 2023

But can you explain why It is actually working?

(M-g key)

no idea, before we needed libxft-bgra instead of libxft package, but i'm assuming bgra PR stuff has been merged into libxft repo 🤔

@siduck
Copy link
Owner

siduck commented Oct 9, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants