Code Monkey home page Code Monkey logo

ianny's Introduction

ianny's People

Contributors

fybx avatar ligmasec avatar mikewalrus avatar zefr0x avatar

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

Watchers

 avatar  avatar  avatar

ianny's Issues

Standby in the locked screen/off screen

Thank you for this great utility, it has become a permanent fixture in my arsenal for heel pain :)

I have one problem that bothers me, it is that I can not close the lid of the laptop and go for a walk, because when I return to work, the progress of rest is still in progress.

I see two solutions:

  1. Track lid/locked screen system events (I think this would be very complicated)
  2. Add a command to stop and resume ianny so that it can be attached in the system to the lid/locked screen event.

Error when reaching short break (org.freedesktop.Notifications.Error.ExcessNotificationGeneration)

Hi, and thanks for creating this package. With RSIBreak broken on Wayland, this is more than helpful!

Ianny starts correctly but stops when it reaches the short break.
I get the following error when trying to run ianny.

$ RUST_BACKTRACE=full ianny
Application locale: en_US.UTF-8
Binded to org_kde_kwin_idle
Read config from: /home/kofm/.config/io.github.zefr0x.ianny/config.toml
Config: Timer { idle_timeout: 12, short_break_timeout: 12, long_break_timeout: 38, short_break_duration: 10, long_break_duration: 20 }
Short break starts
thread '<unnamed>' panicked at /home/kofm/.local/src/ianny/build/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/notify-rust-4.9.0/src/xdg/dbus_rs.rs:113:14:
called `Result::unwrap()` on an `Err` value: Error { kind: Dbus(D-Bus error: Created too many similar notifications in quick succession (org.freedesktop.Notifications.Error.ExcessNotificationGeneration)) }
stack backtrace:
   0:     0x558ea066214f - <unknown>
   1:     0x558ea061626c - <unknown>
   2:     0x558ea0635fdc - <unknown>
   3:     0x558ea06638df - <unknown>
   4:     0x558ea06634c3 - <unknown>
   5:     0x558ea06644cb - <unknown>
   6:     0x558ea0663fa2 - <unknown>
   7:     0x558ea0663f06 - <unknown>
   8:     0x558ea0663ef1 - <unknown>
   9:     0x558ea05fa882 - <unknown>
  10:     0x558ea05fad32 - <unknown>
  11:     0x558ea0610ad6 - <unknown>
  12:     0x558ea06050f6 - <unknown>
  13:     0x558ea0605c63 - <unknown>
  14:     0x558ea0665145 - <unknown>
  15:     0x7f03b1965947 - start_thread
  16:     0x7f03b19eb860 - __clone3
  17:                0x0 - <unknown>
zsh: IOT instruction (core dumped)  RUST_BACKTRACE=full ianny

Let me know if I can provide any additional info

What is the meaning and usage of the idle_timeout config item?

Personally, I don't understand the meaning of the idle_timeout items in the content of the config.toml, could you kindly to explain it thanks.

[timer]
idle_timeout = 240
short_break_timeout = 1200
long_break_timeout = 2700
short_break_duration = 120
long_break_duration = 240

[notification]
show_progress_bar = true
minimum_update_delay = 1

Allow floating point values in config

Hi, thank you for making this project!

I would like to have my short breaks be 30 seconds long. This should be possible by setting the break value to 0.5 but currently it returns an error.

SVG notification icon is empty

Hi, the SVG file in assets folder is empty. It would be cool if there is some nice ianny icon. The nice tool should have nice icon :) Thank you for your work. It is really helpful and also annoying popup that show up on my screen regularly to prevent staying/sitting in one position for too long.

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.