small fixes

This commit is contained in:
Daniel Napora 2022-09-26 10:02:47 +02:00
parent 4fb6e64b10
commit 6666e1dc50
2 changed files with 4 additions and 2 deletions

View File

@ -58,7 +58,7 @@ source "$CNF_FILE"
case "$LANG" in case "$LANG" in
pl*) pl*)
REGENERATE="(Re)Generuj..." REGENERATE="(Re)Generuj z kolorów tapety..."
REGENERATEALL="Regeneruj wszystko" REGENERATEALL="Regeneruj wszystko"
ASCONFIGURED="wg konfiguracji" ASCONFIGURED="wg konfiguracji"
REVERSE="odwrotnie" REVERSE="odwrotnie"
@ -143,7 +143,7 @@ case "$LANG" in
HELP="Pomoc" HELP="Pomoc"
;; ;;
*) *)
REGENERATE="(Re)Generate..." REGENERATE="(Re)Generate from wallpaper colors..."
REGENERATEALL="Regenerate all" REGENERATEALL="Regenerate all"
ASCONFIGURED="as configured" ASCONFIGURED="as configured"
REVERSE="reverse" REVERSE="reverse"

View File

@ -33,6 +33,7 @@ win_bgcolor () {
} }
draw_borders_all () { draw_borders_all () {
sd "draw_borders.*$" "draw_borders = ${1}," ${CONKYDIR}/*mbcolor.conkyrc sd "draw_borders.*$" "draw_borders = ${1}," ${CONKYDIR}/*mbcolor.conkyrc
sd "draw_borders.*$" "draw_borders = false," ${CONKYDIR}/logo_mbcolor.conkyrc
} }
draw_borders () { draw_borders () {
sd "draw_borders.*$" "draw_borders = ${1}," ${2} sd "draw_borders.*$" "draw_borders = ${1}," ${2}
@ -40,6 +41,7 @@ draw_borders () {
stippled_borders_all () { stippled_borders_all () {
sd "stippled_borders.*$" "stippled_borders = ${1}," ${CONKYDIR}/*mbcolor.conkyrc sd "stippled_borders.*$" "stippled_borders = ${1}," ${CONKYDIR}/*mbcolor.conkyrc
sd "draw_borders.*$" "draw_borders = true," ${CONKYDIR}/*mbcolor.conkyrc sd "draw_borders.*$" "draw_borders = true," ${CONKYDIR}/*mbcolor.conkyrc
sd "draw_borders.*$" "draw_borders = false," ${CONKYDIR}/logo_mbcolor.conkyrc
} }
stippled_borders () { stippled_borders () {
sd "stippled_borders.*$" "stippled_borders = ${1}," ${2} sd "stippled_borders.*$" "stippled_borders = ${1}," ${2}