Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Font Awesome and i3bar [closed]

I want to add fontawesome icons to my i3bar. I installed the package "ttf-font-awesome" via yaourt and added the necessary unicode characters to my i3status config and added the font pango as "FontAwesome" to my i3bar config. The icons should be displaying but all that shows are the unicode characters. Is there a specific package I need to install or did I edit the configs improperly?

like image 550
Duncan Agee Avatar asked Sep 15 '15 22:09

Duncan Agee


People also ask

Is Font Awesome no longer free?

Font Awesome Free is free, open source, and GPL friendly. You can use it for commercial projects, open source projects, or really almost whatever you want.

Why is Font Awesome not working?

Make sure you're using the latest and greatest by updating your CDN code reference, updating your Font Awesome package via npm, or downloading a fresh copy of Font Awesome. You can check with version an icon was added to on its detail page (e.g. question-circle was added in Verion 1 but last updated in 5.0.

Is Font Awesome Cdn free?

A Font Awesome account is free to have, but a valid email account is required to set up an account.

What is difference between FA and FAS in Font Awesome?

fas - solid icons are usually filled with transparent outlines. far regular and fal light are similar. These icons are different than fas solid because they are mostly outlines and differ only in outline width. fal light icons have thinner outline compared to far regular.


2 Answers

Funny thing is that i came over this thread while searching for the same. Anyways, according to Arch Wiki you load FontAwesome like this font pango:DejaVu Sans Mono, FontAwesome 8, and the icons according to the cheatsheet. For example  for the terminal icon.

edit: as mentioned below, you copy/paste the icon itself from the cheatsheet. I recommend you try out either one, and stick with the one that is working.

Mini example below.

# set $ws2  "2:"  # With the icon code from the cheasheet set $ws2 "1 "           # With the icon copy/pasted from the cheatsheet  bar {     ...     font pango:DejaVu Sans Mono, FontAwesome 8     ... } 
like image 123
David Kristiansen Avatar answered Sep 23 '22 20:09

David Kristiansen


Change in your bar {:

font pango:monospace 8, FontAwesome 8 
like image 26
luminousmen Avatar answered Sep 19 '22 20:09

luminousmen