From 0848d6c89defb95966deeecd1c61352deccbeaec Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Sat, 25 Apr 2026 14:28:02 -0400 Subject: New CPU + Cleanup --- .../app-misc/neofetch/neofetch_sway_version.diff | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_sway_version.diff (limited to 'hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_sway_version.diff') 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 && { -- cgit v1.2.3-101-g0448