Skip to content

Commit 42695f6

Browse files
feat(lib/mkNotification): add urgency to function args
1 parent 18ad0b9 commit 42695f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/flake/overlays/lib/mkNotification.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ let
55
title ? throw "Title for notification cannot be empty",
66
body ? "",
77
app ? "notify-send",
8+
urgency ? "normal", # low, normal, critical
89
extraArgs ? "",
910
}:
1011
let
11-
urgency = "critical"; # low, normal, critical
1212
appName =
1313
lib.trivial.throwIf (lib.strings.hasInfix " " app) "mkNotification: app cannot have [[:space:]]"
1414
app;

0 commit comments

Comments
 (0)