----------------------- Заполнить персональными настройками -------------------- template0 = '/run/timeshift/backup/timeshift/snapshots', --каталог снапшотов таймшифт, если нет оставить как е template1 = '/run/media/kostya/manjarousb', --каталог устройства хранения, template2 = '/dev/sdb2', -- устройство хранения, если нет оставить как есть, template3 = '/dev/sdb2', -- устройство с root дистрибутива, template4 = 'FAFA04', --цвет графа io дисков read #--------------------------------------------- ${alignr}${offset -6}${color}Timeshift ─┤ ${alignr}${offset -6}${color}Последний бэкап: ${texeci 600 ls -d /run/timeshift/backup/timeshift/snapshots/*/ | cut -c43-52 | tail -n1} ─┘ ${voffset 4}${goto 10}${font Cadillac Sans:size=9}${goto 250}${color #fff}Read${font}${if_match ${texeci 600 test -e ${template0};echo $?}==0}${goto 230}${texeci 600 find ${template0} -mindepth 1 -maxdepth 1 -name $(date --date='2 days ago' +%F)* -type d -printf '%P\n' | sort -r | head -n 1}${endif}${color}${goto 240}${font}${voffset -7}${diskiograph_read ${template3} 15,100 00ff1a ${template4} -t}${goto 350}${diskiograph_read ${template2} 15,100 00ff1a ${template4} -t}${voffset -10}${offset -6} ${voffset 7}${goto 100}${font Cadillac Sans:size=9}${goto 250}Write${font}${if_match ${texeci 600 test -e ${template0};echo $?}==0}${goto 230}${texeci 600 find ${template0} -mindepth 1 -maxdepth 1 -name $(date --date='1 days ago' +%F)* -type d -printf '%P\n' | sort -r | head -n 1}${endif}${color}${goto 240}${font}${voffset -7}${diskiograph_write ${template3} 15,100 00ff1a ${template4} -t}${goto 350}${diskiograph_write ${template2} 15,100 00ff1a ${template4} -t} #---------------------------------------------