Skip to content

The terminal font of Konsole displays emoji font #127

@cubercsl

Description

@cubercsl

Describe the bug

The terminal font of Konsole displays multiple fonts, and the emoji font is displayed first.

  • Does this issue still occur in the master branch? (Required)

Expected behavior

The terminal font of konsole should not display the emoji font or should not be displayed in front.

Screenshots

image

Config file

conf.txt

Verbose log

neofetch.log

Additional context

  • My konsole profile
[Appearance]
ColorScheme=Dracula
EmojiFont=Noto Color Emoji,12,-1,5,50,0,0,0,0,0
Font=Monospace,10,-1,5,50,0,0,0,0,0
WordMode=true
WordModeAscii=false

[General]
Command=/bin/zsh
LocalTabTitleFormat=%w
Name=Dracula
Parent=FALLBACK/
RemoteTabTitleFormat=%w
  • Suggest change
diff --git a/neofetch b/neofetch
index e7e8881f..5b353607 100755
--- a/neofetch
+++ b/neofetch
@@ -4404,7 +4404,7 @@ END
             profile_filename="${profile_filename/$'\n'*}"
 
             [[ $profile_filename ]] && \
-                term_font="$(awk -F '=|,' '/Font=/ {print $2,$3}' "$profile_filename")"
+                term_font="$(awk -F '=|,' '/^Font=/ {print $2,$3}' "$profile_filename")"
         ;;
 
         "lxterminal"*)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions