fix obtheme from wp dark and light

This commit is contained in:
Daniel Napora 2022-12-28 12:43:26 +01:00
parent 1398be067c
commit 05ca4a7fea

View File

@ -23,8 +23,8 @@ case "$LANG" in
pl*) pl*)
OBTHEME_LBL="Motyw OpenBox" OBTHEME_LBL="Motyw OpenBox"
GENERATEFROMWP="Generuj z kolorów tapety..." GENERATEFROMWP="Generuj z kolorów tapety..."
LIGHTBG="Jasne tło" LIGHTBG="Jasne"
DARKBG="Ciemne tło" DARKBG="Ciemne"
TITLEBAR="Pasek tytułowy" TITLEBAR="Pasek tytułowy"
ACTIVE_BG="Tło aktywnego okna" ACTIVE_BG="Tło aktywnego okna"
INACTIVE_BG="Tło nieaktywnego okna" INACTIVE_BG="Tło nieaktywnego okna"
@ -78,8 +78,8 @@ case "$LANG" in
*) *)
OBTHEME_LBL="OpenBox theme" OBTHEME_LBL="OpenBox theme"
GENERATEFROMWP="Generate from wallpaper colors..." GENERATEFROMWP="Generate from wallpaper colors..."
LIGHTBG="Light Background" LIGHTBG="Light"
DARKBG="Dark Background" DARKBG="Dark"
TITLEBAR="Title Bar" TITLEBAR="Title Bar"
ACTIVE_BG="Active Background" ACTIVE_BG="Active Background"
INACTIVE_BG="Inactive Background" INACTIVE_BG="Inactive Background"
@ -190,8 +190,8 @@ getvalues
out+=("^sep($OBTHEME_LBL: <i>$OBTHEME</i>)") out+=("^sep($OBTHEME_LBL: <i>$OBTHEME</i>)")
out+=("^sep(<i>$GENERATEFROMWP</i>)") out+=("^sep(<i>$GENERATEFROMWP</i>)")
out+=("$LIGHTBG,w2theme pyradio light;$me") out+=("$LIGHTBG,w2theme ob light;$me")
out+=("$DARKBG,w2theme pyradio dark;$me") out+=("$DARKBG,w2theme ob dark;$me")
out+=("^sep($TITLEBAR)") out+=("^sep($TITLEBAR)")
out+=("<tt><span bgcolor='$ABG'> </span></tt> $ACTIVE_BG,^pipe(mbclr '$ABG' obtctl clractivebg '${ACTIVE_BG}' '$me')") out+=("<tt><span bgcolor='$ABG'> </span></tt> $ACTIVE_BG,^pipe(mbclr '$ABG' obtctl clractivebg '${ACTIVE_BG}' '$me')")
[[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$ABG'> </span><span bgcolor='$ABGTO'> </span></tt> $ACTIVE_BG_TO,^pipe(mbclr '$ABGTO' obtctl clractivebgto '${ACTIVE_BG_TO}' '$me')") [[ ! -z "$ABGTO" ]] && out+=("<tt><span bgcolor='$ABG'> </span><span bgcolor='$ABGTO'> </span></tt> $ACTIVE_BG_TO,^pipe(mbclr '$ABGTO' obtctl clractivebgto '${ACTIVE_BG_TO}' '$me')")