Skip to main content

exclock is a cui extended timer.

Project description

https://gitlab.com/yassu/exclock/badges/master/pipeline.svg https://gitlab.com/yassu/exclock/badges/master/coverage.svg

exclock is a cui extended timer.

Required

  • vlc

  • notify for

    • Windows 10

    • MaxOS 10 >= 10.10

    • Linux with libnotify

Usage

$ exclock {json5-filename}

Example

{
  "message": "Pomodoro",
  "sounds": {
    "0": {
      "message": "Begin Working! {count}-1",
      "sound_filename": "silent.mp3",
    },
    "25m":{
    "message": "It's time to finish work. Let's time a break.",
    "sound_filename": "warning.mp3",
  },
    "30m":{
    "message": "It's time to finish the break. Let's start work. {count}-2",
    "sound_filename": "warning.mp3",
  },
    "55m":{
    "message": "It's time to finish work. Let's time a break.",
    "sound_filename": "warning.mp3",
  },
  "60m": {
    "message": "It's time to finish the break. Let's start work. {count}-3",
    "sound_filename": "warning.mp3",
  },
  "85m": {
    "message": "It's time to finish work. Let's time a break.",
    "sound_filename": "warning.mp3",
  },
  "90m": {
    "message": "It's time to finish the break. Let's start work. {count}-4",
    "sound_filename": "warning.mp3",
  },
  "115m": {
    "message": "It's time to finish work. Let's time a long break.",
    "sound_filename": "warning.mp3",
  },
  "145m": {
    "message": "",
    "sound_filename": "silent.mp3",
  },
 },
  "loop": 2
}

LICENSE

Apache 2.0

Todo

  • Icon作成

    • [ ] アイコン作成

    • [ ] プロジェクトのアイコンをそれにする

    • [ ] notifyのデフォルトのアイコンもそれにして 変更できるようにする

  • [x] 環境にあるclock一覧を表示するコマンドを追加

  • Exception対応

    • [ ] ‘Error: No available formula with the name “vlc“‘対応

  • [x] 指定された時間になったらタイマーを発火させるコマンドを追加

  • [x] 0病後にSoundが指定されていた場合 そのSoundのとき tqdmを使わない

  • [x] プログレスバーの出力をいい感じにする

  • [ ] Add n variable

  • [x] secの変数名を_secというようにする

  • [x] KeyboardInteraptのエラー処理を書く

  • [ ] is_bgm flag

  • [ ] poetry導入

  • [ ] setup.pyでPipenvのpackagesを使うようにする

  • [ ] 真面目にdocumentを書く

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exclock-0.1.7.tar.gz (71.2 kB view hashes)

Uploaded Source

Built Distribution

exclock-0.1.7-py3-none-any.whl (180.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page