2024-08-09 03:28:57 +02:00
|
|
|
{ lib, pkgs, ... }:
|
2024-08-09 03:12:20 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
inherit (lib) singleton;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
home-manager.sharedModules = singleton {
|
2024-08-11 02:55:04 +02:00
|
|
|
services = {
|
|
|
|
picom = rec {
|
|
|
|
enable = true;
|
|
|
|
backend = "glx";
|
2024-08-09 03:28:57 +02:00
|
|
|
|
2024-08-11 02:55:04 +02:00
|
|
|
vSync = true;
|
|
|
|
fade = true;
|
|
|
|
shadow = true;
|
2024-08-09 03:28:57 +02:00
|
|
|
|
2024-08-11 02:55:04 +02:00
|
|
|
fadeDelta = 5;
|
2024-08-09 03:28:57 +02:00
|
|
|
|
2024-08-11 02:55:04 +02:00
|
|
|
fadeExclude = [
|
|
|
|
"window_type = 'menu'"
|
|
|
|
"window_type = 'dropdown_menu'"
|
|
|
|
"window_type = 'popup_menu'"
|
|
|
|
"window_type = 'tooltip'"
|
|
|
|
];
|
2024-08-09 03:28:57 +02:00
|
|
|
|
2024-08-11 02:55:04 +02:00
|
|
|
shadowExclude = fadeExclude;
|
2024-08-09 03:28:57 +02:00
|
|
|
|
2024-08-11 02:55:04 +02:00
|
|
|
settings = {
|
|
|
|
blur = {
|
|
|
|
method = "dual_kawase";
|
|
|
|
size = 10;
|
|
|
|
};
|
2024-08-09 03:28:57 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-11 02:55:04 +02:00
|
|
|
dunst = {
|
|
|
|
enable = true;
|
2024-08-09 03:28:57 +02:00
|
|
|
|
2024-08-11 02:55:04 +02:00
|
|
|
iconTheme = {
|
|
|
|
package = pkgs.papirus-icon-theme;
|
|
|
|
name = "Papirus";
|
|
|
|
};
|
2024-08-09 03:28:57 +02:00
|
|
|
|
2024-08-11 02:55:04 +02:00
|
|
|
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;
|
|
|
|
};
|
2024-08-09 03:28:57 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-08-09 03:12:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
xserver = {
|
|
|
|
displayManager.startx.enable = true;
|
|
|
|
windowManager.dwm.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
libinput = {
|
|
|
|
touchpad = {
|
|
|
|
naturalScrolling = true;
|
|
|
|
accelProfile = "flat";
|
|
|
|
};
|
|
|
|
|
|
|
|
mouse = {
|
|
|
|
accelProfile = "flat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|