mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-02 17:24:27 +02:00
polybar: tentative to use Material Icons
This commit is contained in:
parent
113efb421f
commit
4e152f0466
2 changed files with 4 additions and 2 deletions
|
@ -30,6 +30,7 @@ def icon(font_number, char):
|
|||
# Font number is from Polybar configuration.
|
||||
# 2: https://fontawesome.com/v6.0/icons?s=solid
|
||||
# 3: https://fontawesome.com/v6.0/icons?s=brands
|
||||
# 4: https://fonts.google.com/icons?selected=Material+Icons:home
|
||||
return "%%{T%d}%s%%{T-}" % (font_number, char)
|
||||
|
||||
|
||||
|
@ -62,8 +63,8 @@ icons = {
|
|||
"wifi-medium": icon(2, ""),
|
||||
"wifi-high": icon(2, ""),
|
||||
"wired": icon(2, ""),
|
||||
"notifications-enabled": icon(2, ""),
|
||||
"notifications-disabled": icon(2, "🔕"),
|
||||
"notifications-enabled": icon(4, "\ue7f4"),
|
||||
"notifications-disabled": icon(4, "\ue7f8"),
|
||||
}
|
||||
application_icons_nomatch = icon(2, "")
|
||||
application_icons_alone = {application_icons[k] for k in {"vbeterm"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue