38 lines
847 B
Nix
38 lines
847 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.swaync = {
|
|
enable = true;
|
|
settings = {
|
|
positionX = "right";
|
|
positionY = "top";
|
|
control-center-margin-top = 10;
|
|
control-center-margin-right = 10;
|
|
fit-to-screen = false;
|
|
};
|
|
|
|
style = ''
|
|
@import "${config.home.homeDirectory}/.config/swaync/colors.css";
|
|
|
|
* { font-family: "JetBrainsMono Nerd Font"; }
|
|
|
|
.control-center {
|
|
background: @background;
|
|
border: 2px solid @primary;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
.notification {
|
|
background: @surface_container;
|
|
border-radius: 0px;
|
|
margin: 6px;
|
|
border: 1px solid @secondary;
|
|
}
|
|
|
|
.summary { color: @primary; font-weight: bold; }
|
|
.body { color: @foreground; }
|
|
.critical { background: @urgent; color: @background; }
|
|
'';
|
|
};
|
|
}
|