mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-21 18:21:31 +02:00
Revert "meta: Replace dunst with swaync"
Unfortunately swaync appears to *significantly* slow down the boot process, so sticking with dunst ensures that everything works properly.
This commit is contained in:
parent
4bd63595a3
commit
d9222585a5
36
home/dunst.nix
Normal file
36
home/dunst.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (pkgs) libnotify papirus-icon-theme;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.packages = [ libnotify ];
|
||||||
|
|
||||||
|
services.dunst = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
iconTheme = {
|
||||||
|
package = papirus-icon-theme;
|
||||||
|
name = "Papirus";
|
||||||
|
};
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
global = {
|
||||||
|
geometry = "1870x5-25+45";
|
||||||
|
width = 350;
|
||||||
|
separator_height = 5;
|
||||||
|
padding = 24;
|
||||||
|
horizontal_padding = 24;
|
||||||
|
frame_width = 3;
|
||||||
|
idle_threshold = 120;
|
||||||
|
alignment = "center";
|
||||||
|
word_wrap = "yes";
|
||||||
|
transparency = 5;
|
||||||
|
format = "<b>%s</b>: %b";
|
||||||
|
markup = "full";
|
||||||
|
min_icon_size = 32;
|
||||||
|
max_icon_size = 128;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -198,7 +198,7 @@ in
|
|||||||
"${super}_SHIFT, Q, killactive"
|
"${super}_SHIFT, Q, killactive"
|
||||||
"${super}, W, exec, ~/.config/${randomBackgroundScript}"
|
"${super}, W, exec, ~/.config/${randomBackgroundScript}"
|
||||||
"${super}_SHIFT, W, exec, ~/.config/${swapBackgroundScript}"
|
"${super}_SHIFT, W, exec, ~/.config/${swapBackgroundScript}"
|
||||||
"${super}, P, exec, notify-send --icon=$(grimblast save screen) Screenshot Captured."
|
"${super}, P, exec, dunstify --icon=$(grimblast save screen) Screenshot Captured."
|
||||||
", Print, exec, grimblast --freeze copy area"
|
", Print, exec, grimblast --freeze copy area"
|
||||||
"${super}_ALT, delete, exit"
|
"${super}_ALT, delete, exit"
|
||||||
"${super}, T, exec, tessen"
|
"${super}, T, exec, tessen"
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
inherit (pkgs) libnotify;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.packages = [ libnotify ];
|
|
||||||
|
|
||||||
services.swaync = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user