summaryrefslogtreecommitdiff
path: root/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_foot_font.diff
blob: 9ad4bf37889740f467ecba2f0c59aacfd82b9a12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/neofetch	2026-04-19 16:47:39.498756455 -0400
+++ b/neofetch	2026-04-21 10:36:27.841486287 -0400
@@ -3306,6 +3306,11 @@
             term_font="$(kitty +runpy ''"$term_font"'')"
         ;;
 
+        "foot"*)
+            term_font="$(awk -F ':' '/^font=/ {print substr($1, 6, length($1)) " " substr($2, 6, length($2))}' \
+                         $HOME/.config/foot/foot.ini)"
+        ;;
+
         "konsole" | "yakuake")
             # Get Process ID of current konsole window / tab
             child="$(get_ppid "$$")"