From 89b961f9574324ddbd09d588da05d6a00aac3fcf Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 24 May 2025 21:23:55 +0200 Subject: ... --- accounts/gkleen@sif/default.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/default.nix') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 1c92fd51..051427bd 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -694,7 +694,7 @@ in { --property 'Environment=DSCP=46' \ -- ${lib.getExe pkgs.dscp} ${lib.getExe' pkgs.google-chrome "google-chrome-stable"} \ --class=Rainbow \ - --kiosk "https://web.openrainbow.com" \ + --app="https://web.openrainbow.com" \ --user-data-dir=''${HOME}/.config/google-chrome-rainbow ''); icon = pkgs.fetchurl { @@ -705,6 +705,23 @@ in { StartupWMClass = "Rainbow"; }; }; + kimai = { + name = "Kimai"; + exec = toString (pkgs.writeShellScript "kimai" '' + exec -- \ + ${lib.getExe' pkgs.google-chrome "google-chrome-stable"} \ + --class=Kimai \ + --app="https://kimai.yggdrasil.li" \ + --user-data-dir=''${HOME}/.config/google-chrome-kimai + ''); + icon = pkgs.fetchurl { + url = "https://www.kimai.org/images/kimai_logo.png"; + hash = "sha256-lnlOttzR2SwXA70R+egJUkeKr4U5V0avqTk8uX4bqfs="; + }; + settings = { + StartupWMClass = "Kimai"; + }; + }; thunderbird-lmu = { name = "Thunderbird (LMU)"; exec = "thunderbird --name thunderbird -P lmu %U"; -- cgit v1.2.3