mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 17:57:47 +02:00
dwm: Inline picom / dunst configs
This prevents us from having specialization-specific configs in the home directory, which would be unrelated to the main hyprland environment and would require explicitly disabling it. Other nix-configs solve this problem with nested directory structures, however I enjoy being able to access all files in the nix-config one directory away.
This commit is contained in:
parent
452bad7db6
commit
add2c126fe
@ -1,12 +1,64 @@
|
|||||||
{ lib, ... }:
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) singleton;
|
inherit (lib) singleton;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.sharedModules = singleton {
|
home-manager.sharedModules = singleton {
|
||||||
services.picom.enable = true;
|
services.picom = rec {
|
||||||
services.dunst.enable = true;
|
enable = true;
|
||||||
|
backend = "glx";
|
||||||
|
|
||||||
|
vSync = true;
|
||||||
|
fade = true;
|
||||||
|
shadow = true;
|
||||||
|
|
||||||
|
fadeDelta = 5;
|
||||||
|
|
||||||
|
fadeExclude = [
|
||||||
|
"window_type = 'menu'"
|
||||||
|
"window_type = 'dropdown_menu'"
|
||||||
|
"window_type = 'popup_menu'"
|
||||||
|
"window_type = 'tooltip'"
|
||||||
|
];
|
||||||
|
|
||||||
|
shadowExclude = fadeExclude;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
blur = {
|
||||||
|
method = "dual_kawase";
|
||||||
|
size = 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.dunst = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
iconTheme = {
|
||||||
|
package = pkgs.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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user