Add support for more WMs
This commit is contained in:
parent
dda8d6cb20
commit
3c22c86e38
8
neofetch
8
neofetch
|
@ -813,11 +813,15 @@ getwmtheme () {
|
||||||
[ -z "$wm" ] && getwm
|
[ -z "$wm" ] && getwm
|
||||||
|
|
||||||
case "$wm" in
|
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
|
esac
|
||||||
|
wmtheme="${wmtheme//\'}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Reference in New Issue