aboutsummaryrefslogtreecommitdiff
path: root/modules/home/i3wm/dunst.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home/i3wm/dunst.nix')
-rw-r--r--modules/home/i3wm/dunst.nix45
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/home/i3wm/dunst.nix b/modules/home/i3wm/dunst.nix
new file mode 100644
index 0000000..6f217d9
--- /dev/null
+++ b/modules/home/i3wm/dunst.nix
@@ -0,0 +1,45 @@
+{ config, pkgs, lib, ... }:
+
+{
+ services.dunst = {
+ enable = true;
+
+ settings = let
+ colors = {
+ foreground = "#d0b6fd";
+ background = "#1c182d";
+ alert = "#7b91fc";
+ };
+ in {
+ global = {
+ width = "(200,300)";
+ height = "(0,150)";
+ offset = "(30,50)";
+ origin = "bottom-right";
+ transparency = 10;
+ frame_width = 0;
+ font = "Fira Code 10";
+ };
+
+ urgency_low = {
+ background = colors.background;
+ foreground = colors.foreground;
+ timeout = 8;
+ };
+
+ urgency_normal = {
+ background = colors.background;
+ foreground = colors.foreground;
+ frame-size = "0";
+ timeout = 10;
+ };
+
+ urgency_critical = {
+ background = colors.background;
+ foreground = colors.foreground;
+ frame-size = "5";
+ frame-color = colors.alert;
+ };
+ };
+ };
+} \ No newline at end of file