Skip to content

feat(timer): complete revamp into a timekeeping suite - #157

Open
singhantariksh wants to merge 2 commits into
noctalia-dev:mainfrom
singhantariksh:timer
Open

singhantariksh wants to merge 2 commits into
noctalia-dev:mainfrom
singhantariksh:timer

Conversation

@singhantariksh

@singhantariksh singhantariksh commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

What changed?
almost everything.
added alarms, stopwatch & pomodoro, to the existing timer plugin, and revamped timer itself
the plugin is also now split in a modular manner, with every coherent scope having it's own file/folder

and why?
because noctalia NEEDED it :D

Motivation

the old timer only had a timer, which meant requiring on community plugins for many basic timekeeping feautres, so this aims to fix that

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Build / packaging

Related Issue

closes #33 & #132

Testing

  • luau-lsp analyze with the repo's .luaurc and noctalia.d.luau: no errors.
  • command parsing, state transitions and alarm scheduling were checked against a simulated runtime, comparing before and after the refactor.
  • much more manual testing of almost every feature I could think of, may have some edge case bugs that slipped over, idk.

Manual Coverage

  • Tested on Niri
  • Tested on Hyprland
  • Tested on Sway
  • Tested on Umbriel
  • Tested on MangoWC
  • Tested on another compositor:
  • Tested with different bar positions and density settings
  • Tested at different interface scaling values
  • Tested with multiple monitors

Screenshots / Videos

Checklist

  • This PR is ready for review, or it is marked as Draft.
  • I self-reviewed the changes.
  • I added or updated translations/en.json, or this PR adds no new user-facing strings.
  • I did not edit non-English translation files unless this PR is explicitly for translation tooling, an import/export sync, or a maintainer-requested locale change.

Additional Notes

almost all of the changes are breaking changes for the users of the previous timer plugin.
I recommend setting up again, just to be sure.
IPC is completely broken
Some plugin settings should carry over, but most would break.
Almost all the "custom" bar widget settings that I know of will break

@singhantariksh
singhantariksh marked this pull request as ready for review November 15, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Stopwatch mode on timer plugin

1 participant