From 1bc18a6d0141c468aab7115171a01a326fa13d70 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Fri, 10 Oct 2025 08:59:54 +0100 Subject: [PATCH] Add systemd unit and timer to bug me about filling in timesheets --- home/dot_config/systemd/user/timesheet-bugging.service | 7 +++++++ home/dot_config/systemd/user/timesheet-bugging.timer | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 home/dot_config/systemd/user/timesheet-bugging.service create mode 100644 home/dot_config/systemd/user/timesheet-bugging.timer diff --git a/home/dot_config/systemd/user/timesheet-bugging.service b/home/dot_config/systemd/user/timesheet-bugging.service new file mode 100644 index 0000000..d7ece04 --- /dev/null +++ b/home/dot_config/systemd/user/timesheet-bugging.service @@ -0,0 +1,7 @@ +[Unit] +Description=Bug the user about filling in their timesheet/time recording + +[Service] +Type=oneshot +ExecStart=notify-send --expire-time 10000 --app-name timew "Fill me In" "You should make sure timew is correct!" +StandardOutput=journal diff --git a/home/dot_config/systemd/user/timesheet-bugging.timer b/home/dot_config/systemd/user/timesheet-bugging.timer new file mode 100644 index 0000000..8ce3cdd --- /dev/null +++ b/home/dot_config/systemd/user/timesheet-bugging.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Bug about timesheets every 25m + +[Timer] +OnBootSec=25m +OnUnitActiveSec=25m + +[Install] +WantedBy=sway-session.target