Skip to content

Conversation

@Zerogiven
Copy link
Contributor

Cause i'm using the only one! ;-D

Only thing which should be done here is that you can set inside terminator to use the system font. If this is true the value from "Font" should be displayed.

Terminator example config

[global_config]
[profiles]
  [[default]]
    font = MesloLGSDZ Nerd Font Mono 10
    use_system_font = False

@LinusDierheimer
Copy link
Collaborator

Only thing which should be done here is that you can set inside terminator to use the system font. If this is true the value from "Font" should be displayed.

U can use this: https://github.com/LinusDierheimer/fastfetch/blob/dev/src/detection/font/font.h

@LinusDierheimer
Copy link
Collaborator

Please also update README.md and CHANGELOG.md

@LinusDierheimer
Copy link
Collaborator

I'll merge it and do the rest. Thanks for your contribution!

@LinusDierheimer LinusDierheimer merged commit 6e5e785 into fastfetch-cli:dev Feb 2, 2023
@LinusDierheimer
Copy link
Collaborator

Did some changes, can you please test it?

@Zerogiven
Copy link
Contributor Author

Thanks at all 😄 Hope i could help at least a bit 😉 i definitely should do some more C things again 🤣

Tested with:

  1. config "font" set
  2. config "use_system_font" set
  3. no config set
  4. config file do not exist
             ...-:::::-...                  Terminal Font: MesloLGSDZ Nerd Font Mono (10pt)
          .-MMMMMMMMMMMMMMM-.    
      .-MMMM`..-:::::::-..`MMMM-.    
    .:MMMM.:MMMMMMMMMMMMMMM:.MMMM:.    
   -MMM-M---MMMMMMMMMMMMMMMMMMM.MMM-    
 `:MMM:MM`  :MMMM:....::-...-MMMM:MMM:`    
 :MMM:MMM`  :MM:`  ``    ``  `:MMM:MMM:    
.MMM.MMMM`  :MM.  -MM.  .MM-  `MMMM.MMM.    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM:MMM:    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:    
.MMM.MMMM`  :MM:--:MM:--:MM:  `MMMM.MMM.    
 :MMM:MMM-  `-MMMMMMMMMMMM-`  -MMM-MMM:    
  :MMM:MMM:`                `:MMM:MMM:    
   .MMM.MMMM:--------------:MMMM.MMM.    
     '-MMMM.-MMMMMMMMMMMMMMM-.MMMM-'    
       '.-MMMM``--:::::--``MMMM-.'    
            '-MMMMMMMMMMMMM-'    
               ``-:::::-``    
❯ ./fastfetch --structure TerminalFont
             ...-:::::-...                  Terminal Font: System
          .-MMMMMMMMMMMMMMM-.    
      .-MMMM`..-:::::::-..`MMMM-.    
    .:MMMM.:MMMMMMMMMMMMMMM:.MMMM:.    
   -MMM-M---MMMMMMMMMMMMMMMMMMM.MMM-    
 `:MMM:MM`  :MMMM:....::-...-MMMM:MMM:`    
 :MMM:MMM`  :MM:`  ``    ``  `:MMM:MMM:    
.MMM.MMMM`  :MM.  -MM.  .MM-  `MMMM.MMM.    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM:MMM:    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:    
.MMM.MMMM`  :MM:--:MM:--:MM:  `MMMM.MMM.    
 :MMM:MMM-  `-MMMMMMMMMMMM-`  -MMM-MMM:    
  :MMM:MMM:`                `:MMM:MMM:    
   .MMM.MMMM:--------------:MMMM.MMM.    
     '-MMMM.-MMMMMMMMMMMMMMM-.MMMM-'    
       '.-MMMM``--:::::--``MMMM-.'    
            '-MMMMMMMMMMMMM-'    
               ``-:::::-``    
❯ ./fastfetch --structure TerminalFont
             ...-:::::-...                  Terminal Font: mono (8pt)
          .-MMMMMMMMMMMMMMM-.    
      .-MMMM`..-:::::::-..`MMMM-.    
    .:MMMM.:MMMMMMMMMMMMMMM:.MMMM:.    
   -MMM-M---MMMMMMMMMMMMMMMMMMM.MMM-    
 `:MMM:MM`  :MMMM:....::-...-MMMM:MMM:`    
 :MMM:MMM`  :MM:`  ``    ``  `:MMM:MMM:    
.MMM.MMMM`  :MM.  -MM.  .MM-  `MMMM.MMM.    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM:MMM:    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:    
.MMM.MMMM`  :MM:--:MM:--:MM:  `MMMM.MMM.    
 :MMM:MMM-  `-MMMMMMMMMMMM-`  -MMM-MMM:    
  :MMM:MMM:`                `:MMM:MMM:    
   .MMM.MMMM:--------------:MMMM.MMM.    
     '-MMMM.-MMMMMMMMMMMMMMM-.MMMM-'    
       '.-MMMM``--:::::--``MMMM-.'    
            '-MMMMMMMMMMMMM-'    
               ``-:::::-``    
❯ ./fastfetch --structure TerminalFont
             ...-:::::-...    
          .-MMMMMMMMMMMMMMM-.    
      .-MMMM`..-:::::::-..`MMMM-.    
    .:MMMM.:MMMMMMMMMMMMMMM:.MMMM:.    
   -MMM-M---MMMMMMMMMMMMMMMMMMM.MMM-    
 `:MMM:MM`  :MMMM:....::-...-MMMM:MMM:`    
 :MMM:MMM`  :MM:`  ``    ``  `:MMM:MMM:    
.MMM.MMMM`  :MM.  -MM.  .MM-  `MMMM.MMM.    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM:MMM:    
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:    
.MMM.MMMM`  :MM:--:MM:--:MM:  `MMMM.MMM.    
 :MMM:MMM-  `-MMMMMMMMMMMM-`  -MMM-MMM:    
  :MMM:MMM:`                `:MMM:MMM:    
   .MMM.MMMM:--------------:MMMM.MMM.    
     '-MMMM.-MMMMMMMMMMMMMMM-.MMMM-'    
       '.-MMMM``--:::::--``MMMM-.'    
            '-MMMMMMMMMMMMM-'    
               ``-:::::-``    

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

Successfully merging this pull request may close these issues.

2 participants