From ba28674f9b9b93a18b1fcdcc045995a35e68d505 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 14 Jul 2021 17:33:19 +0200 Subject: [PATCH] Revert "polybar: tentative to use Material Icons" This reverts commit 4e152f0466db9a9110e40525bb552f2d98631ecd. Not worth it currently. --- bin/i3-companion | 5 ++--- dotfiles/polybar.conf | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/i3-companion b/bin/i3-companion index 1cbdc71..2433f85 100755 --- a/bin/i3-companion +++ b/bin/i3-companion @@ -30,7 +30,6 @@ 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) @@ -63,8 +62,8 @@ icons = { "wifi-medium": icon(2, ""), "wifi-high": icon(2, ""), "wired": icon(2, ""), - "notifications-enabled": icon(4, "\ue7f4"), - "notifications-disabled": icon(4, "\ue7f8"), + "notifications-enabled": icon(2, ""), + "notifications-disabled": icon(2, "🔕"), } application_icons_nomatch = icon(2, "") application_icons_alone = {application_icons[k] for k in {"vbeterm"}} diff --git a/dotfiles/polybar.conf b/dotfiles/polybar.conf index 9c525f2..8eef94b 100644 --- a/dotfiles/polybar.conf +++ b/dotfiles/polybar.conf @@ -28,7 +28,6 @@ foreground = ${colors.foreground} font-0 = Iosevka:style=Regular:size=10;2 font-1 = Font Awesome 6 Pro:style=Solid:size=10;2 font-2 = Font Awesome 6 Brands:style=Regular:size=10;2 -font-3 = Material Icons:style=Regular:size=12;4 modules-left = i3 modules-center = date