diff options
| author | 2026-04-25 14:28:02 -0400 | |
|---|---|---|
| committer | 2026-04-25 14:46:39 -0400 | |
| commit | 0848d6c89defb95966deeecd1c61352deccbeaec (patch) | |
| tree | 21a2e74fcabb85c02fda8959badc08b0f7de0261 /hosts/iroha/gentoo/patches/app-misc/neofetch | |
| parent | ef40a5119a77280863c21ba67397818514714ccc (diff) | |
| download | dotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.tar.gz dotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.tar.bz2 dotfiles-0848d6c89defb95966deeecd1c61352deccbeaec.zip | |
New CPU + Cleanup
Diffstat (limited to 'hosts/iroha/gentoo/patches/app-misc/neofetch')
| -rw-r--r-- | hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_foot_font.diff | 14 | ||||
| -rw-r--r-- | hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_sway_version.diff | 20 |
2 files changed, 34 insertions, 0 deletions
diff --git a/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_foot_font.diff b/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_foot_font.diff new file mode 100644 index 0000000..9ad4bf3 --- /dev/null +++ b/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_foot_font.diff @@ -0,0 +1,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 "$$")" diff --git a/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_sway_version.diff b/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_sway_version.diff new file mode 100644 index 0000000..9d414b5 --- /dev/null +++ b/hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_sway_version.diff @@ -0,0 +1,20 @@ +--- a/neofetch 2026-04-21 10:38:18.495596158 -0400 ++++ b/neofetch 2026-04-25 10:42:58.968282990 -0400 +@@ -1751,6 +1751,7 @@ + *mate*) de=MATE ;; + *GNOME*) de=GNOME ;; + *MUFFIN*) de=Cinnamon ;; ++ *sway*) unset de ;; + esac + + ((${KDE_SESSION_VERSION:-0} >= 4)) && de=${de/KDE/Plasma} +@@ -1822,6 +1823,9 @@ + -e westeros \ + -e westford \ + -e weston) ++ case $wm in ++ *sway*) wm="Sway $(sway --version | awk -F ' ' '{ print $3 }')" ;; ++ esac + + elif [[ $DISPLAY && $os != "Mac OS X" && $os != "macOS" && $os != FreeMiNT ]]; then + type -p xprop &>/dev/null && { |