Add support for more WMs

This commit is contained in:
Dylan 2016-04-01 11:33:14 +11:00
parent dda8d6cb20
commit 3c22c86e38
1 changed files with 6 additions and 2 deletions

View File

@ -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//\'}"
}
# }}}