add dunst configuration

This commit is contained in:
stupidcomputer 2024-08-11 14:22:42 -05:00
parent 9cb6b9e34d
commit 85bf27d8b3
5 changed files with 43 additions and 0 deletions

BIN
.config/dunst/beep.m4a Normal file

Binary file not shown.

24
.config/dunst/dunstrc Normal file
View File

@ -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

View File

@ -0,0 +1,3 @@
#!/bin/sh
mpv ~/.config/dunst/beep.m4a

15
home/dunst/default.nix Normal file
View File

@ -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;
};
};
}

View File

@ -4,6 +4,7 @@
imports = [ imports = [
./bspwm ./bspwm
./brave ./brave
./dunst
./sx ./sx
./sxhkd ./sxhkd
./tridactyl ./tridactyl