i3-timer icon indicating copy to clipboard operation
i3-timer copied to clipboard

If used from a laptop, there is no middle click

Open Hollow-Glitch opened this issue 6 years ago • 1 comments

Nice app, just what I was looking for, but had to modify it since I can't issue a middle click without a mouse and since I am using i3 to minimise mouse usage I won't plug in a mouse just to interact with this timer... :D But it is a simple fix(thanks to go and the scenario being simple since haven't used go before):

... case RightButton: // Stop the timer if it's started if timer.IsRunning() { timer.Reset() } else if time.Time.IsZero(timer.StartTime) { timer.Start() } ...

cheers

Hollow-Glitch avatar Nov 25 '19 19:11 Hollow-Glitch

Ah! I never thought about this scenario, and your solution is clear and elegant.

I will push the change soon.

Thanks for reporting, Claudio

Il lun 25 nov 2019, 19:18 Hollow-Glitch [email protected] ha scritto:

Nice app, just what I was looking for, but had to modify it since I can't issue a middle click without a mouse and since I am using i3 to minimise mouse usage I won't plug in a mouse just to interact with this timer... :D But it is a simple fix(thanks to go and the scenario being simple since haven't used go before):

... case RightButton: // Stop the timer if it's started if timer.IsRunning() { timer.Reset() } else if time.Time.IsZero(timer.StartTime) { timer.Start() } ...

cheers

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/claudiodangelis/i3-timer/issues/7?email_source=notifications&email_token=AAHF7C25OFSPMRWL2CPAVR3QVQQKDA5CNFSM4JRNRYDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3472LQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHF7C5ZBZFAFCE2M3WMADTQVQQKDANCNFSM4JRNRYDA .

claudiodangelis avatar Nov 25 '19 21:11 claudiodangelis