Brought over hotfix from f_wmfixes where logic fired wm twice. My fault entirely trying to fix the dependant detectwm call.

This commit is contained in:
Adam Young
2011-04-24 21:17:09 -07:00
parent 724f98c3ea
commit 003aa69a31

View File

@@ -1120,9 +1120,9 @@ themeExport () {
for i in "${display[@]}"; do
if [[ $i == wmtheme ]]; then
detectwm
detectwmtheme
if [[ $i =~ wm ]]; then
! [[ $WM ]] && detectwm;
! [[ $Win_theme ]] && detectwmtheme;
else
[[ "${display[*]}" =~ "$i" ]] && detect${i}