Thunderbird (week always starts today)
The snippet can be accessed without any authentication.
Authored by
izzy
Put the thunderbird-update.sh
script somewhere useful (update the config path to use your own profile folder), then use either the Nix config or the systemd service (make sure to update the ExecStart path and the User/Group options!).
systemd.services.thunderbird-update-week = {
enable = true;
description = "Update Thunderbird week preference to current day";
unitConfig = {
Type = "simple";
};
serviceConfig = {
ExecStart = "${pkgs.bash}/bin/bash /home/insert/.local/share/thunderbird-update.sh";
User = "insert";
Group = "users";
};
wantedBy = [ "timers.target" ];
};
systemd.timers.thunderbird-update-week = {
timerConfig = {
OnCalendar = "daily";
Persistent = true;
Unit = "thunderbird-update-week.service";
};
};
Please register or sign in to comment