conky tweaks

This commit is contained in:
2026-04-01 19:40:10 +02:00
parent bcb4e858f6
commit b18a2874f2
4 changed files with 11 additions and 12 deletions

View File

@@ -382,7 +382,7 @@ if pgrep -u $USER -af "conky.*mbcolor" >/dev/null; then
out2+=("<big>󰧴</big> $INCREASE <b>$((FONTSIZE+1)) px</b>,conkyctl basefont_inc_all;$me")
out2+=("<big>󰧳</big> $DECREASE <b>$((FONTSIZE-1)) px</b>,conkyctl basefont_dec_all;$me")
out2+=("^sep()")
sizes=(14 13 12 11 10 9 8 7 6)
sizes=(12 11 10 9 8)
for i in "${sizes[@]}"
do
[[ "$FONTSIZE" == "$i" ]] && out2+=("<big>綠</big> <b>$i px</b>,conkyctl basefont_size_all $i;$me") || out2+=("<big>祿</big> $i px,conkyctl basefont_size_all $i;$me")
@@ -417,7 +417,7 @@ if pgrep -u $USER -af "conky.*mbcolor" >/dev/null; then
out2+=("^sep($_BORDER_WIDTH)")
[[ "${BWIDTH}" == "1" ]] && out2+=("<big>綠</big> <b>1 px</b> ${_OLD_STYLE}") || out2+=("<big>祿</big> 1 px ${_OLD_STYLE},conkyctl border_width_all 1")
for i in 2 4 6 8 10 12;do
for i in 2 4 6 8 10;do
[[ "${BWIDTH}" == "${i}" ]] && out2+=("<big>綠</big> <b>${i} px</b>") || out2+=("<big>祿</big> ${i} px,conkyctl border_width_all ${i}")
done