SafeEyes icon indicating copy to clipboard operation
SafeEyes copied to clipboard

Feature Request: Changing the order of Shortbreaks

Open lamyergeier opened this issue 5 years ago • 2 comments

A set of predefined short breaks are defined in the software like tightly close your eyes, and so on.

It would be very useful if we could change this order? May be we can assign serial numbers against them to specify order or we could drag and drop.

For example, I might want to do blink your eyes every third time. Or at the least, I could manually add it every 3 times.

lamyergeier avatar Sep 07 '18 18:09 lamyergeier

Hi, I will definitely consider this feature and implement it in upcoming versions. For the moment, you can achieve this by manually modifying the config file.

  1. Quit Safe Eyes
  2. Open the ~/.config/safeeyes/safeeyes.json file
  3. Reorder the breaks or add new ones as per your need. For example, check the following code:
"long_breaks": [
    {
        "name": "Walk for a while"
    },
    {
        "name": "Lean back at your seat and relax"
    }
],
"short_breaks": [
    {
        "name": "Tightly close your eyes"
    },
    {
        "name": "Roll your eyes a few times to each side"
    },
    {
        "name": "Rotate your eyes in clockwise direction"
    },
    {
        "name": "Blink your eyes"
    },
    {
        "name": "Rotate your eyes in counterclockwise direction"
    },
    {
        "name": "Focus on a point in the far distance"
    },
    {
        "name": "Have some water"
    },
    {
        "name": "Blink your eyes"
    }
]

slgobinath avatar Jan 01 '19 00:01 slgobinath

I need this feature too. It would be amazing if safeeyes automatically change the order of short and long breaks instead do it manually.

msnjuegos avatar Apr 13 '20 18:04 msnjuegos