a timer service for d-bus.
Go to file
Xaver Fischer 4d5d49f7d5 Rename bus and interface
timers -> tom_timer
2023-01-15 20:26:22 +01:00
cmd add version 2023-01-15 19:55:34 +01:00
pkg/common Rename bus and interface 2023-01-15 20:26:22 +01:00
.gitignore initial commit 2023-01-15 19:46:09 +01:00
LICENSE Initial commit 2023-01-15 17:17:38 +00:00
Makefile add version 2023-01-15 19:55:34 +01:00
README.md Update 'README.md' 2023-01-15 19:09:17 +00:00
go.mod initial commit 2023-01-15 19:46:09 +01:00
go.sum initial commit 2023-01-15 19:46:09 +01:00
tom.spec initial commit 2023-01-15 19:46:09 +01:00



All that tom does is wait for a timer to expire and then execute a file

I built this for myself to have timer based notifications.

Getting started

You can either build a rpm by running make rpm or just do a plain go build with make

In both cases you will have two binaries:

  • tom - the server
  • tomctl - a cli tool to control tom

You can create a new timer by running tomctl create for example tomctl create 30s "$HOME/.config/ontimer.sh". This would create a 30 seconds timer which will execute $HOME/.config/ontimer.sh on completion.


tom is controlled via dbus, this means that you don't have to use tomctl to control tom. You can build your own clients. The dbus interface is defined in pkg/common/common.go