From 3c22c86e38237737dd860d21592b547e033464a3 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 1 Apr 2016 11:33:14 +1100 Subject: [PATCH] Add support for more WMs --- neofetch | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 22775691..c95dbb18 100755 --- a/neofetch +++ b/neofetch @@ -813,11 +813,15 @@ getwmtheme () { [ -z "$wm" ] && getwm case "$wm" in - '2bwm') + 'BudgieWM') wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)" ;; + 'Cinnamon' | 'Muffin') + de_theme="$(gsettings get org.cinnamon.theme name)" + win_theme="$(gsettings get org.cinnamon.desktop.wm.preferences theme)" + Win_theme="${de_theme} (${win_theme})" ;; - esac + wmtheme="${wmtheme//\'}" } # }}}