Patch: More auto-snoozes

Rating: 
5
Your rating: None Average: 5 (7 votes)

You can choose how much auto-snoozes you want (from 2 till 8). 2 is default value.
Also you can change snooze interval.
Just reopen clock app after applying/removing patch.

Thanks to Ancelad for help :)

v0.2-6
- Some tuning for QML.
- Added TextSwitch for more space.

v0.2-5
- noarch build.
- for v2.0.2.45 (phone & tablet).

v0.2-4
* Tablet version

v0.2-4
* For v2.0.1.7

v0.2-3
* Small fix for uninstall

v0.2-2
* Small changes in QML file.
* Notification icon changed.

v0.2-1
* Added snooze interval setting (see screenshot).
* Snooze Adjuster app will be removed automatically.

v0.1-2
* Added removing dconf key after uninstallation.

Beware, use it on your own risk !!!

Donation are welcome :)

Screenshots: 
Application versions: 
AttachmentSizeDate
sailfishos-more-snoozes-0.2-5.noarch.rpm13.5 KB24/06/2016 - 05:43
sailfishos-more-snoozes-0.2-6.noarch.rpm13.82 KB08/05/2017 - 21:01
Changelog: 

- Some tuning for QML.
- Added TextSwitch for more space.

Comments

bomo's picture

is it possible that due to the patch the time till the next alarm is not more shown in the header after changing/enabling the alarm?

Schturman's picture

if you mean the upper line that show shomething like: Expiring in 7 hours and 30 minutes. It work without any problem...

naytsyrhc's picture

I really like this patch. Well done and thanks. I second the suggestion to move settings for snooze repeats and interval to Settings->Apps->Clock though (i.e. settings for clock) if somehow possible.

Schturman's picture

Hi, it possible, but I don't want. Sorry, I prefer it in the clock app.

subeditor's picture

Nice patch.

I set one of my favorite song as alarm. But the song plays it's interrupted at some moment - aparently there is a limit for alarm.

Even for standart alarm it may be too short for wake someone up.

It would be nice to have possibility to set alarm duration.

Schturman's picture

I really don't know if this is a system limit or just your file not so good... Check with another files if duration is also shorten than a song.

subeditor's picture

I'm pretty sure that there is system limit because:

- I listened this song with the player;

- default alarms also sounds for limited duration;

- the snooze existence itself tells as the alarm has duration, otherwise - if it is sound until shut up by user - why there is necessity of interval?

 

Schturman's picture

Maybe you are right, I don't know...
Need some searching in the clock app files... If I will find something I will add option to increase duration.

alina's picture

I don't know if it's possible to add a page for Clock in Settings app. If possible it will make more sense to have this option there, plus others such as the interval between two snoozes.

Currently the snooze interval can be changed with `timedclient-qt5 --set-snooze=300` in seconds and checked with `--get-snooze` option. ;)

Schturman's picture

Do you know if it written somewhere ? (qml or other file ?)
I mean about snooze interval.

alina's picture

Unfortunately no. But I can't read the file /usr/lib/qt5/qml/org/nemomobile/alarms/libnemoalarms.so. Maybe some clues there.

Markkyboy's picture

here's one way to read ',so' files, albeit, it doesn't tell you very much that's usable;

`nm -D --defined-only libnemoalarms.so`