jgwallpaperchanger

This commit is contained in:
Daniel Napora 2025-01-19 21:01:26 +01:00
parent 8df4cd83b2
commit 73a9a97f23

View File

@ -294,7 +294,6 @@ for i in 3 5 10 30 60 120 300 600 1800 3600; do out2+=("$(printf "<tt> %4s</tt>,
out+=("^sep(Desktop styling)")
out+=("<big></big> <b>OpenBox</b> Windows Decoration,^root(obox)")
out+=("<big></big> Mabox <b>Menus</b>,^root(jgmenus)")
out+=("<big></big> <b>Conky</b> widgets,^root(conky)")
case "$2" in
obox)option="--checkout=obox";;
@ -315,6 +314,9 @@ do
((n=n+1))
out1+=("<big><span bgcolor='${abg}' fgcolor='${afg}'><span bgcolor='${abgto}'> </span><small> <tt>$(printf '%-20s' "${scheme_name}")</tt> </small><span bgcolor='${abgto}'> </span></span> <span bgcolor='${nbgto}'> </span><span bgcolor='${nbg}' fgcolor='${nfg}'><small> <tt><i>in</i></tt> </small></span><span bgcolor='${nbgto}'> </span></big>,obtctl applytheme sys ${n};$me obox" "^sep()")
done < <(tail -n +2 "$OB_SYSTHEMES")
# OB User themes
if [ "$(grep -c ^ $OB_USERTHEMES)" -gt "1" ];then
out1+=("^sep($YOUR_THEMES)" "^sep()")
n=1
while IFS="|" read -r abg abgto afg aline nbg nbgto nfg nline grad txtjust pheight pwidth handle bord bevel buttons fsize fname ndslimc weight slant scheme_name
@ -322,6 +324,7 @@ do
((n=n+1))
out1+=("<big><span bgcolor='${abg}' fgcolor='${afg}'><span bgcolor='${abgto}'> </span><small> <tt>$(printf '%-20s' "${scheme_name}")</tt> </small><span bgcolor='${abgto}'> </span></span> <span bgcolor='${nbgto}'> </span><span bgcolor='${nbg}' fgcolor='${nfg}'><small> <tt><i>in</i></tt> </small></span><span bgcolor='${nbgto}'> </span></big>,obtctl applytheme usr ${n};$me obox" "^sep()")
done < <(tail -n +2 "$OB_USERTHEMES")
fi
out1+=("^sep($_GENERATE)")
out1+=("<big></big> $RANDOMIZE,obtctl randomizer;$me obox")
@ -351,9 +354,9 @@ out1+=("^tag(jgmenus)")
out1+=("^sep(Menu/Panels)")
out1+=("${arrow_string_left} ${arrow_string_left} ${arrow_string_left} $_GOBACK,^back()")
out1+=("^sep($_CHANGE_THEME)")
out1+=("<big></big> $SYSTEM_THEMES ($((JG_SYS_AMOUNT-1))),^checkout(jg_sys)")
out2+=("^tag(jg_sys)")
out2+=("^sep($_CLICK_TO_APPLY)")
#out1+=("<big></big> $SYSTEM_THEMES ($((JG_SYS_AMOUNT-1))),^checkout(jg_sys)")
#out2+=("^tag(jg_sys)")
#out2+=("^sep($_CLICK_TO_APPLY)")
n=1
while IFS="|" read -r mbg mbga mbgt mbgta mborder mbordera tbg tbga tfg tfga tborder tbordera normbg normbga nfg nfga sbg sbga sfg sfga sborder sbordera sepfg sepfga b r p ss ibor irad a al sephal grad scheme_name
@ -370,9 +373,12 @@ n=1
bottom_left)icon="";;
bottom_right)icon="";;
esac
out2+=("<big><span bgcolor='${mbg}' fgcolor='${nfg}'> <tt><small>$(printf '%-18s' "${scheme_name}")</small></tt><span bgcolor='${tbg}' fgcolor='${tfg}'> <small><b>title</b></small> </span> <span bgcolor='${sbg}' fgcolor='${sfg}'> <small>[ sel ]</small> </span> <span bgcolor='${mbgt}'> <small>${icon}</small> </span></span></big>,jgctl applyscheme sys $n;$me jgmenus" "^sep()")
out1+=("<big><span bgcolor='${mbg}' fgcolor='${nfg}'> <tt><small>$(printf '%-18s' "${scheme_name}")</small></tt><span bgcolor='${tbg}' fgcolor='${tfg}'> <small><b>title</b></small> </span> <span bgcolor='${sbg}' fgcolor='${sfg}'> <small>[ sel ]</small> </span> <span bgcolor='${mbgt}'> <small>${icon}</small> </span></span></big>,jgctl applyscheme sys $n;$me jgmenus" "^sep()")
done < <(tail -n +2 "$MENU_SYSSCHEMES")
# Menu User schemes
if [ "$(grep -c ^ $MENU_USERSCHEMES)" -gt "1" ];then
out1+=("^sep()")
out1+=("<big></big> $YOUR_THEMES ($((JG_USR_AMOUNT-1))),^checkout(jg_usr)")
out2+=("^tag(jg_usr)")
out2+=("^sep($_CLICK_TO_APPLY)")
@ -393,6 +399,7 @@ out2+=("^sep($_CLICK_TO_APPLY)")
esac
out2+=("<big><span bgcolor='${mbg}' fgcolor='${nfg}'> <small><tt>$(printf '%-18s' "${scheme_name}")</tt></small><span bgcolor='${tbg}' bgalpha='${tbga}%' fgcolor='${tfg}'> <small><b>title</b></small> </span> <span bgcolor='${sbg}' bgalpha='${sbga}%' fgcolor='${sfg}'> <small>[ sel ]</small> </span> <span bgcolor='${mbgt}'> <small>${icon}</small> </span></span></big>,jgctl applyscheme usr ${n};$me jgmenus" "^sep()")
done < <(tail -n +2 "$MENU_USERSCHEMES")
fi
out1+=("^sep($_GENERATE)")
out1+=("<big></big> $RANDOMIZE,jgctl randomscheme;$me jgmenus")
@ -414,13 +421,11 @@ out1+=("${arrow_string_left} ${arrow_string_left} ${arrow_string_left} $_GOBAC
## CONKIES
out1+=("^tag(conky)")
out1+=("${arrow_string_left} ${arrow_string_left} ${arrow_string_left} $_GOBACK,^back()")
out1+=("^sep(Conky)")
out1+=("^sep(<small><i>not implemented yet</i></small>)")
out1+=("$_COLORIZER_CONKY,colorizer-conky -s")
out1+=("^sep()")
out1+=("${arrow_string_left} ${arrow_string_left} ${arrow_string_left} $_GOBACK,^back()")
out+=("^sep()")
out+=("<big></big> $_COLORIZER_CONKY,colorizer-conky -s")
out+=("^sep()")
out+=("<big></big> $_COLORIZER_FONTS,colorizer-fonts -s")