init
This commit is contained in:
37
home/swaync.nix
Normal file
37
home/swaync.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ 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; }
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user