1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

file manager bind

This commit is contained in:
andrey_varnavskiy
2024-12-10 13:10:43 +05:00
parent 0b554c5e8b
commit d5f457ff19
5 changed files with 87 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
{
imports = [
./swaync.nix
./style.css
];
}

View File

@@ -0,0 +1,16 @@
.notification-row {
outline: none;
}
.notification-row:focus,
.notification-row:hover {
background: @noti-bg-focus;
}
.notification {
border-radius: 12px;
margin: 6px 12px;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.7),
0 2px 6px 2px rgba(0, 0, 0, 0.3);
padding: 0;
}

View File

@@ -0,0 +1,24 @@
{
services.swaync = {
enable = true;
settings = {
positionX = "right";
positionY = "top";
layer = "overlay";
control-center-layer = "top";
layer-shell = true;
cssPriority = "application";
control-center-margin-top = 0;
control-center-margin-bottom = 0;
control-center-margin-right = 0;
control-center-margin-left = 0;
notification-2fa-action = true;
notification-inline-replies = false;
notification-icon-size = 64;
notification-body-image-height = 100;
notification-body-image-width = 200;
};
};
home.file.".config/swaync.style.css" = ./style.css;
}