diff options
Diffstat (limited to 'hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_sway_version.diff')
| -rw-r--r-- | hosts/iroha/gentoo/patches/app-misc/neofetch/neofetch_sway_version.diff | 20 |
1 files changed, 20 insertions, 0 deletions
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 && { |