From 0d7a101b99933fdbb0244b422de9be3865a3f3df Mon Sep 17 00:00:00 2001 From: anon47 Date: Thu, 1 Feb 2024 11:01:42 -0700 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e072184..ababc1f 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,21 @@ ## autobudilnik a program on ruby for windows that turns on alarm after N times when you are not using the keyboard (the computer) without any third-party gems +###warning: +for some reason system(audiofilepath) doesn't always work + ### syntax: ruby autobudilnik.rb [-a \] [-t \] [-c \] -time in seconds +supports 's', 'm', 'h' and 'd' (24 hours) suffixes for time ### configuration file: waittime seconds configfilepath path/to/config ### TODO -1. suffixes 'm', 's' and 'h' for time -2. UI -2. automatic a config file creation +1. UI +2. automatic a config file creation? ## НА РУССКОМ @@ -22,9 +24,14 @@ configfilepath path/to/config ### СИНТАКСИС: ruby autobudilnik.rb [-a \] [-t \] [-c \] -### ПРИМЕЧАНИЯ -ВРЕМЯ НУЖНО УКАЗАТЬ В СЕКУНДАХ +МОЖНО ИСПОЛЬЗОВАТЬ СУФФИКСЫ (ПРИСТАВКИ) ДЛЯ ВРЕМЕНИ: +'s' ДЛЯ СЕКУНД (АВТОМАТИЧЕСКИЙ) +'m' ДЛЯ МИНУТ +'h' ДЛЯ ЧАСОВ +'d' ДЛЯ ДНЕЙ(24 ЧАСОВ(СУТКИ) А НЕ 12 ЧАСОВ) +### ПРИМЕЧАНИЯ +ЧЁТ system(audiofilepath) НЕ ВСЕГДА РАБОТАЕТ ПАРАМЕНТЫ ОПРЕДЕЛЯЮТСЯ В ЭТИХ ПРИОРИТЕТАХ: АРГУМЕНТЫ > СВОЙ КОНФИГ > КОНФИГ > ВСТРОЕННЫЕ ПАРАМЕТРЫ @@ -35,6 +42,5 @@ ruby autobudilnik.rb [-a \] [-t \] [-c \ configfilepath ПУТЬ/К/КОНФИГУ ### ЗАДАЧИ -1. ПОДДЕРЖКА ПРИСТАВОК 'm' 's' И 'h' В КОНЦЕ ДЛЯ ВРЕМЕНИ -2. ПОЛЬЗОВАТСКИЙ ИНТЕРФЕЙС -3. АВТОМАТИЧЕСКОЕ СОЗДАНИЕ ФАЙЛА КОНФИГА \ No newline at end of file +1. ПОЛЬЗОВАТСКИЙ ИНТЕРФЕЙС +2. АВТОМАТИЧЕСКОЕ СОЗДАНИЕ ФАЙЛА КОНФИГА? \ No newline at end of file