Switch time tracking entry

As we've switched from SaaS closed source toggl to foss self
hosted kimai solution.
This commit is contained in:
Daniel Siepmann 2024-03-05 07:34:20 +01:00
parent cdface57f7
commit 18d0c54169
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 5 additions and 15 deletions

View file

@ -326,22 +326,12 @@ in {
# See: https://developer.mozilla.org/en-US/docs/Web/CSS/@document
userContent = builtins.readFile(./firefox/userContent.css) + builtins.readFile(./firefox/clientSpecific.css);
};
toggl = {
name = "toggl";
time-tracking = {
name = "time-tracking";
id = 1;
isDefault = false;
userChrome = builtins.readFile(./firefox/kioskLikeUserChrome.css);
# Hide elements I don't need
userContent = ''
.left-nav h6,
.css-4tkxba-ShowMoreContainer,
[data-heap-id="side-nav-link-subscription"],
[data-heap-id="side-nav-link-integrations"],
[data-heap-id="side-nav-link-insights"] {
display: none !important;
}
'';
settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
};

View file

@ -49,10 +49,10 @@
};
desktopEntries = {
toggl = {
name = "Toggl Time Tracking";
kimai = {
name = "Kimai Time Tracking";
type = "Application";
exec = "firefox --new-instance -P toggl --class=\"time-tracking\" https://track.toggl.com/timer";
exec = "firefox --new-instance -P time-tracking --class=\"time-tracking\" https://track.codappix.com";
};
mailhog-ui = {
name = "Mailhog";