diff options
Diffstat (limited to 'accounts/gkleen@sif/niri/mako.nix')
| -rw-r--r-- | accounts/gkleen@sif/niri/mako.nix | 54 |
1 files changed, 23 insertions, 31 deletions
diff --git a/accounts/gkleen@sif/niri/mako.nix b/accounts/gkleen@sif/niri/mako.nix index 2788fb82..9373dc21 100644 --- a/accounts/gkleen@sif/niri/mako.nix +++ b/accounts/gkleen@sif/niri/mako.nix | |||
| @@ -3,37 +3,29 @@ | |||
| 3 | config = { | 3 | config = { |
| 4 | services.mako = { | 4 | services.mako = { |
| 5 | enable = true; | 5 | enable = true; |
| 6 | font = "Fira Sans 10"; | 6 | settings = { |
| 7 | format = "<i>%s</i>\\n%b"; | 7 | font = "Fira Sans 10"; |
| 8 | margin = "2"; | 8 | format = "<i>%s</i>\\n%b"; |
| 9 | maxVisible = -1; | 9 | margin = "2"; |
| 10 | backgroundColor = "#000000dd"; | 10 | max-visible = -1; |
| 11 | progressColor = "source #223544ff"; | 11 | background-color = "#000000dd"; |
| 12 | width = 384; | 12 | progress-color = "source #223544ff"; |
| 13 | extraConfig = '' | 13 | width = 384; |
| 14 | outer-margin=1 | 14 | outer-margin = 1; |
| 15 | max-history=100 | 15 | max-history = 100; |
| 16 | max-icon-size=48 | 16 | max-icon-size = 48; |
| 17 | 17 | }; | |
| 18 | [grouped] | 18 | criteria = { |
| 19 | format=<b>(%g)</b> <i>%s</i>\n%b | 19 | grouped.format = "<b>(%g)</b> <i>%s</i>\n%b"; |
| 20 | 20 | "urgency=low".text-color = "#999999ff"; | |
| 21 | [urgency=low] | 21 | "urgency=critical".background-color = "#900000dd"; |
| 22 | text-color=#999999ff | 22 | "app-name=Element".group-by = "summary"; |
| 23 | 23 | "app-name=poweralertd" = { | |
| 24 | [urgency=critical] | 24 | ignore-timeout = true; |
| 25 | background-color=#900000dd | 25 | default-timeout = 2000; |
| 26 | 26 | }; | |
| 27 | [app-name=Element] | 27 | "mode=silent".invisible = true; |
| 28 | group-by=summary | 28 | }; |
| 29 | |||
| 30 | [app-name=poweralertd] | ||
| 31 | ignore-timeout=1 | ||
| 32 | default-timeout=2000 | ||
| 33 | |||
| 34 | [mode=silent] | ||
| 35 | invisible=1 | ||
| 36 | ''; | ||
| 37 | package = pkgs.symlinkJoin { | 29 | package = pkgs.symlinkJoin { |
| 38 | name = "${pkgs.mako.name}-wrapped"; | 30 | name = "${pkgs.mako.name}-wrapped"; |
| 39 | paths = with pkgs; [ mako ]; | 31 | paths = with pkgs; [ mako ]; |
