fix obtheme from wp dark and light

master 0.9.19
Daniel Napora 2022-12-28 12:43:26 +01:00
parent 1398be067c
commit 05ca4a7fea
1 changed files with 6 additions and 6 deletions

View File

@ -23,8 +23,8 @@ case "$LANG" in
pl*)
OBTHEME_LBL="Motyw OpenBox"
GENERATEFROMWP="Generuj z kolorów tapety..."
LIGHTBG="Jasne tło"
DARKBG="Ciemne tło"
LIGHTBG="Jasne"
DARKBG="Ciemne"
TITLEBAR="Pasek tytułowy"
ACTIVE_BG="Tło aktywnego okna"
INACTIVE_BG="Tło nieaktywnego okna"
@ -78,8 +78,8 @@ case "$LANG" in
*)
OBTHEME_LBL="OpenBox theme"
GENERATEFROMWP="Generate from wallpaper colors..."
LIGHTBG="Light Background"
DARKBG="Dark Background"
LIGHTBG="Light"
DARKBG="Dark"
TITLEBAR="Title Bar"
ACTIVE_BG="Active Background"
INACTIVE_BG="Inactive Background"
@ -190,8 +190,8 @@ getvalues
out+=("^sep($OBTHEME_LBL: <i>$OBTHEME</i>)")
out+=("^sep(<i>$GENERATEFROMWP</i>)")
out+=("$LIGHTBG,w2theme pyradio light;$me")
out+=("$DARKBG,w2theme pyradio dark;$me")
out+=("$LIGHTBG,w2theme ob light;$me")
out+=("$DARKBG,w2theme ob dark;$me")
out+=("^sep($TITLEBAR)")
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')")