This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-06-19 21:58:59 +02:00
parent a2c8c6e4d6
commit 39e1806e7e
11 changed files with 243 additions and 74 deletions

View File

@@ -1,16 +1,20 @@
{ config, pkgs, rice, lib, user, ... }:
{ pkgs, rice, lib, user, ... }:
lib.mkIf (user != "tv")
{
home.packages = [
pkgs.mako
pkgs.libnotify
];
services.mako = {
services.mako = with rice; {
enable = true;
defaultTimeout = 10000; # in ms
backgroundColor = "#${rice.color.background}";
textColor = "#${rice.color.foreground}";
borderColor = "#${rice.color.border}";
font = rice.font.code.name2;
defaultTimeout = 5000; # in ms
backgroundColor = color.background;
textColor = color.foreground;
borderColor = color.border;
borderSize = border-width;
font = font.code.name2;
borderRadius = rounding;
anchor = "bottom-right";
margin = builtins.toString (gap-size * 2) ;
};
}