Code Monkey home page Code Monkey logo

countdown's Introduction

countdown's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

countdown's Issues

Add keybinding to skip countdown and run next command

There is already exists keybinding (Esc or Ctrl-C) to stop countdown w/o running next command. It is will be helpful to add keybinding (e.g. q, s or n) to skip countdown (exit with 0 code) and run next command.

Terminal resizing

It doesn't handle resizing the terminal window, It accommodates the terminal size in the beginning and then doesn't care about the window resizing.

P.S. I suggest starting the timer from zero and increasing when the countdown is started without any argument.

Ability to pause?

Thanks so much for this terminal timer. Any plans to add the ability to pause?

Install

Hello,
I cloned the repo, but How can I install it, or run it?
Im new at Linux, I have Kali linux installed.
Many thanks

I dont know what to "say"...

c:\users\stingyjack\go\bin\countdown 10s && say "final"

does the countdown, then...

'say' is not recognized as an internal or external command,
operable program or batch file.

I'm guessing I need another tool installed for that. What am I missing?

Bigger font variable/parameter

Hello.

Is it possible to introduce some parameter/variable which will give me bigger font?

If I use the countdown on the FullHD (1920x1080) screen + terminal - it looks little bit tiny:

image

Thank you...

Add more units from sleep command

I notice that at least d for days is not supported. I use this occasionally with the sleep command to do stuff like open a link with xdg-open in a couple days. It's also a bit more readable to see 12 days counting down than 288 hours.
Not sure if sleep supports bigger units than days, but if it does, it could be good to have those as well. w for weeks should be fairly unambiguous, and if you start using capitals, M could be months.

Config and Message

There is no --help, -help, or help to show the usage. A blank command will do it.. but this is easy to implement.

Additionally this command already sends a notification on finish, it would be trivial to add a custom notification.

If you do not get to this before I do, ill probably submit a PR to fix this.

Add title

Is it possible to add title option of the countdown e.g. countdown 10m -title 'My project number 1'. This comes handy when you have several countdowns running.

image

feature request: please beep on completion

alternately, if you don't want to make it annoying by default, have it look at COUNTDOWN_ON_ZERO_COMMAND in the environment, so I can do:

export COUNTDOWN_ON_ZERO_COMMAND='echo -e "\a"'

in my .profile.

Your prompt

This isn't really related to countdown, but in the gif on the main page, you have a pretty rad colorful prompt. Any chance you could provide the details on how to accomplish that ;)

Thanks!

Cannot pause

I downloaded the latest version and when trying to pause the timer I can't. The keypresses are elsewhere. I'd gladly help debug if I get told how to.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.