From 003aa69a31a4c9727db703d1f4e3c859de3b231f Mon Sep 17 00:00:00 2001 From: Adam Young Date: Sun, 24 Apr 2011 21:17:09 -0700 Subject: [PATCH] Brought over hotfix from f_wmfixes where logic fired wm twice. My fault entirely trying to fix the dependant detectwm call. --- screenfetch-dev | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/screenfetch-dev b/screenfetch-dev index 4b7c8a8..cf908a8 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -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}