You are not logged in.

#1 2017-07-20 17:00:30

archfluke
Member
Registered: 2016-06-08
Posts: 39

how to install and use awesome-terminal-fonts pkg for custom bash p1

Hello. I just installed awesome-terminal-fonts, https://github.com/gabrielelana/awesome-terminal-fonts/,  from the offical arch repo, and was a bit confused what and how to configure such that I can start getting cool looking prompts in bash.  While I get that oh-my-zsh has become something of a standard for this kind of customization, I think this hits the spot and would appreciate any advice that doesn't deviate from the matter addressed in the question.

I assumed through the package's inclusion in the official repo that there would be a supplemental wiki entry for it. Unfortunately, I couldn't find one.  What I've done is as follows per some advice I got from folks on the irc channel:

1) check /etc/fonts/conf.d/10-symbols.conf, which shows:

<fontconfig>
  <alias>
    <family>PragmataPro</family>
    <prefer>
      <family>Pomodoro</family>
      <family>FontAwesome</family>
      <family>Octicons</family>
      <family>Icomoon</family>
    </prefer>
  </alias>
</fontconfig>

2) create ~/fontconfig/fonts.conf per https://wiki.archlinux.org/index.php/Fo … r_with_X11
3) paste the above snippet I got from 10-symbols.conf

fc-list | grep 'awesome' does show font-awesome.

I have a hunch that perhaps, installation of the package allows for me to forego the creation of a fonts.conf, but I have no documentation to either confirm or reject the above approach.  The one article that I read https://www.pcsuggest.com/trendy-bash-s … e-and-ps1/ regarding testing whether a terminal emulator picks up a font or not is through the use of the following:

echo -n [some illegible glyph like  ] | hexdump -C  // outputs ef 80 87

//injecting 'x' between each of the three hex pairs that get outputted, we use that as an argument....so, ef 80 87 => xefx80x87

echo -e 'xefx80x87' // this command should print out the glyph but I just get the string 'xefx80x87' back

Any help would be much appreciated.

Offline

#2 2017-07-20 17:52:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: how to install and use awesome-terminal-fonts pkg for custom bash p1

Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB