Fix bug in WM Theme detection

This commit is contained in:
Dylan 2016-04-03 11:57:10 +10:00
parent e37d5c61c7
commit a295181a5b
1 changed files with 2 additions and 1 deletions

View File

@ -828,10 +828,11 @@ getwm () {
getwmtheme () {
[ -z "$wm" ] && getwm
[ -z "$de" ] && getde
case "$wm" in
'BudgieWM') wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)" ;;
'E16') wmtheme="$(awk -F"= " '/theme.name/ {print $2}' "$HOME/.e16/e_config--0.0.cfg")";;
'E16') wmtheme="$(awk -F "= " '/theme.name/ {print $2}' "$HOME/.e16/e_config--0.0.cfg")";;
'Sawfish') wmtheme="$(awk -F ")" '/\(quote default-frame-style/ {print $2}' "$HOME/.sawfish/custom")" ;;
'Cinnamon' | 'Muffin' | 'Mutter (Muffin)')