Шаблон:Conky/aclock
Инструменты
Общие
Печать/экспорт
В других проектах
Внешний вид
Материал из Викиучебника — открытых книг для открытого мира
Аналоговые часы
###############################################
#Аналоговые часы
#Используется три шрифта для диска и для стрелок
$color1${font clockfaces:size=40}P${font}
$color2${offset 3}${voffset -42}\
${if_match ${time %I}==12}\
${if_match ${time %M}>48}${font zoraclockH:size=40}E${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}D${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}C${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}B${font}${else}\
${font zoraclockH:size=40}A${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==01}\
${if_match ${time %M}>48}${font zoraclockH:size=40}J${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}I${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}H${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}G${font}${else}\
${font zoraclockH:size=40}F${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==02}\
${if_match ${time %M}>48}${font zoraclockH:size=40}O${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}N${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}M${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}L${font}${else}\
${font zoraclockH:size=40}K${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==03}\
${if_match ${time %M}>48}${font zoraclockH:size=40}T${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}S${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}R${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}Q${font}${else}\
${font zoraclockH:size=40}P${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==04}\
${if_match ${time %M}>48}${font zoraclockH:size=40}Y${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}X${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}W${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}V${font}${else}\
${font zoraclockH:size=40}U${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==05}\
${if_match ${time %M}>48}${font zoraclockH:size=40}d${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}c${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}b${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}a${font}${else}\
${font zoraclockH:size=40}Z${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==06}\
${if_match ${time %M}>48}${font zoraclockH:size=40}i${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}h${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}g${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}f${font}${else}\
${font zoraclockH:size=40}e${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==07}\
${if_match ${time %M}>48}${font zoraclockH:size=40}n${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}m${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}l${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}k${font}${else}\
${font zoraclockH:size=40}j${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==08}\
${if_match ${time %M}>48}${font zoraclockH:size=40}s${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}r${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}q${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}p${font}${else}\
${font zoraclockH:size=40}o${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==09}\
${if_match ${time %M}>48}${font zoraclockH:size=40}x${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}w${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}v${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}u${font}${else}\
${font zoraclockH:size=40}t${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==10}\
${if_match ${time %M}>48}${font zoraclockH:size=40}3${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}2${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}1${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}z${font}${else}\
${font zoraclockH:size=40}y${font}${endif}${endif}${endif}${endif}\
${else}\
${if_match ${time %I}==11}\
${if_match ${time %M}>48}${font zoraclockH:size=40}8${font}${else}\
${if_match ${time %M}>36}${font zoraclockH:size=40}7${font}${else}\
${if_match ${time %M}>24}${font zoraclockH:size=40}6${font}${else}\
${if_match ${time %M}>12}${font zoraclockH:size=40}5${font}${else}\
${font zoraclockH:size=40}4${font}${endif}${endif}${endif}${endif}\
${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}\
${offset -53}${voffset -27}\
${if_match ${time %M}==00}${font zoraclockM:size=40}A${font}${else}\
${if_match ${time %M}==01}${font zoraclockM:size=40}B${font}${else}\
${if_match ${time %M}==02}${font zoraclockM:size=40}C${font}${else}\
${if_match ${time %M}==03}${font zoraclockM:size=40}D${font}${else}\
${if_match ${time %M}==04}${font zoraclockM:size=40}E${font}${else}\
${if_match ${time %M}==05}${font zoraclockM:size=40}F${font}${else}\
${if_match ${time %M}==06}${font zoraclockM:size=40}G${font}${else}\
${if_match ${time %M}==07}${font zoraclockM:size=40}H${font}${else}\
${if_match ${time %M}==08}${font zoraclockM:size=40}I${font}${else}\
${if_match ${time %M}==09}${font zoraclockM:size=40}J${font}${else}\
${if_match ${time %M}==10}${font zoraclockM:size=40}K${font}${else}\
${if_match ${time %M}==11}${font zoraclockM:size=40}L${font}${else}\
${if_match ${time %M}==12}${font zoraclockM:size=40}M${font}${else}\
${if_match ${time %M}==13}${font zoraclockM:size=40}N${font}${else}\
${if_match ${time %M}==14}${font zoraclockM:size=40}O${font}${else}\
${if_match ${time %M}==15}${font zoraclockM:size=40}P${font}${else}\
${if_match ${time %M}==16}${font zoraclockM:size=40}Q${font}${else}\
${if_match ${time %M}==17}${font zoraclockM:size=40}R${font}${else}\
${if_match ${time %M}==18}${font zoraclockM:size=40}S${font}${else}\
${if_match ${time %M}==19}${font zoraclockM:size=40}T${font}${else}\
${if_match ${time %M}==20}${font zoraclockM:size=40}U${font}${else}\
${if_match ${time %M}==21}${font zoraclockM:size=40}V${font}${else}\
${if_match ${time %M}==22}${font zoraclockM:size=40}W${font}${else}\
${if_match ${time %M}==23}${font zoraclockM:size=40}X${font}${else}\
${if_match ${time %M}==24}${font zoraclockM:size=40}Y${font}${else}\
${if_match ${time %M}==25}${font zoraclockM:size=40}Z${font}${else}\
${if_match ${time %M}==26}${font zoraclockM:size=40}a${font}${else}\
${if_match ${time %M}==27}${font zoraclockM:size=40}b${font}${else}\
${if_match ${time %M}==28}${font zoraclockM:size=40}c${font}${else}\
${if_match ${time %M}==29}${font zoraclockM:size=40}d${font}${else}\
${if_match ${time %M}==30}${font zoraclockM:size=40}e${font}${else}\
${if_match ${time %M}==31}${font zoraclockM:size=40}f${font}${else}\
${if_match ${time %M}==32}${font zoraclockM:size=40}g${font}${else}\
${if_match ${time %M}==33}${font zoraclockM:size=40}h${font}${else}\
${if_match ${time %M}==34}${font zoraclockM:size=40}i${font}${else}\
${if_match ${time %M}==35}${font zoraclockM:size=40}j${font}${else}\
${if_match ${time %M}==36}${font zoraclockM:size=40}k${font}${else}\
${if_match ${time %M}==37}${font zoraclockM:size=40}l${font}${else}\
${if_match ${time %M}==38}${font zoraclockM:size=40}m${font}${else}\
${if_match ${time %M}==39}${font zoraclockM:size=40}n${font}${else}\
${if_match ${time %M}==40}${font zoraclockM:size=40}o${font}${else}\
${if_match ${time %M}==41}${font zoraclockM:size=40}p${font}${else}\
${if_match ${time %M}==42}${font zoraclockM:size=40}q${font}${else}\
${if_match ${time %M}==43}${font zoraclockM:size=40}r${font}${else}\
${if_match ${time %M}==44}${font zoraclockM:size=40}s${font}${else}\
${if_match ${time %M}==45}${font zoraclockM:size=40}t${font}${else}\
${if_match ${time %M}==46}${font zoraclockM:size=40}u${font}${else}\
${if_match ${time %M}==47}${font zoraclockM:size=40}v${font}${else}\
${if_match ${time %M}==48}${font zoraclockM:size=40}w${font}${else}\
${if_match ${time %M}==49}${font zoraclockM:size=40}x${font}${else}\
${if_match ${time %M}==50}${font zoraclockM:size=40}y${font}${else}\
${if_match ${time %M}==51}${font zoraclockM:size=40}z${font}${else}\
${if_match ${time %M}==52}${font zoraclockM:size=40}1${font}${else}\
${if_match ${time %M}==53}${font zoraclockM:size=40}2${font}${else}\
${if_match ${time %M}==54}${font zoraclockM:size=40}3${font}${else}\
${if_match ${time %M}==55}${font zoraclockM:size=40}4${font}${else}\
${if_match ${time %M}==56}${font zoraclockM:size=40}5${font}${else}\
${if_match ${time %M}==57}${font zoraclockM:size=40}6${font}${else}\
${if_match ${time %M}==58}${font zoraclockM:size=40}7${font}${else}\
${if_match ${time %M}==59}${font zoraclockM:size=40}8${font}${else}\
${font zoraclockM:size=40}A${font}\
${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}\
${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}\
${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}\
${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}\
${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}\
${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}