diff --git a/.config/dunst/beep.m4a b/.config/dunst/beep.m4a new file mode 100644 index 0000000..eefd891 Binary files /dev/null and b/.config/dunst/beep.m4a differ diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc new file mode 100644 index 0000000..a5b953b --- /dev/null +++ b/.config/dunst/dunstrc @@ -0,0 +1,24 @@ +[global] + follow = mouse + font = Fantasque Sans Mono 8 + frame_width = 1 + always_run_script = true + +[urgency_low] + background = "#161510" + foreground = "#cccccc" + frame_color = "#727a18" + +[urgency_normal] + background = "#161510" + foreground = "#cccccc" + frame_color = "#727a18" + +[urgency_critical] + background = "#161510" + foreground = "#cccccc" + frame_color = "#727a18" + +[notify] + summary = "*" + script = ~/.config/dunst/notification_handler.sh diff --git a/.config/dunst/notification_handler.sh b/.config/dunst/notification_handler.sh new file mode 100755 index 0000000..7e6696c --- /dev/null +++ b/.config/dunst/notification_handler.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +mpv ~/.config/dunst/beep.m4a diff --git a/home/dunst/default.nix b/home/dunst/default.nix new file mode 100644 index 0000000..f19dc94 --- /dev/null +++ b/home/dunst/default.nix @@ -0,0 +1,15 @@ +{ lib, config, pkgs, home, ... }: + +{ + home.file = { + ".config/dunst/dunstrc" = { + source = ../../.config/dunst/dunstrc; + }; + ".config/dunst/notification_handler.sh" = { + source = ../../.config/dunst/notification_handler.sh; + }; + ".config/dunst/beep.m4a" = { + source = ../../.config/dunst/beep.m4a; + }; + }; +} diff --git a/home/x11.nix b/home/x11.nix index e2f2aba..6c1216f 100644 --- a/home/x11.nix +++ b/home/x11.nix @@ -4,6 +4,7 @@ imports = [ ./bspwm ./brave + ./dunst ./sx ./sxhkd ./tridactyl