feat(mako): migrate 'dunst' config to 'mako'
This commit is contained in:
@@ -1,34 +0,0 @@
|
|||||||
[global]
|
|
||||||
geometry="0-0+24"
|
|
||||||
monitor=0
|
|
||||||
follow=keyboard
|
|
||||||
indicate_hidden=yes
|
|
||||||
notification_height=0
|
|
||||||
padding=8
|
|
||||||
horizontal_padding=8
|
|
||||||
frame_width=1
|
|
||||||
frame_color="#333"
|
|
||||||
separator_height=1
|
|
||||||
idle_threshold=120
|
|
||||||
font=Iosevka Term SS08 12
|
|
||||||
markup=full
|
|
||||||
format="%s\n%b"
|
|
||||||
dmenu=/usr/bin/dmenu -p dunst:
|
|
||||||
browser=/usr/bin/brave -new-tab
|
|
||||||
verbosity=info
|
|
||||||
|
|
||||||
[urgency_low]
|
|
||||||
background="#111"
|
|
||||||
foreground="#aaa"
|
|
||||||
timeout=10
|
|
||||||
|
|
||||||
[urgency_normal]
|
|
||||||
background="#111"
|
|
||||||
foreground="#aaa"
|
|
||||||
timeout=10
|
|
||||||
|
|
||||||
[urgency_critical]
|
|
||||||
background="#111"
|
|
||||||
foreground="#fff"
|
|
||||||
frame_color="#f00"
|
|
||||||
timeout=0
|
|
||||||
@@ -11,6 +11,12 @@ in
|
|||||||
options.mako.enable = lib.mkEnableOption "mako";
|
options.mako.enable = lib.mkEnableOption "mako";
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
services.mako.enable = true;
|
services.mako = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
default-timeout = 10000;
|
||||||
|
"urgency=critical".default-timeout = 0;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user