mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-13 16:28:04 -05:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user