mirror of
https://github.com/Andrey0189/nixos-config-reborn.git
synced 2025-09-15 10:06:00 +03:00
swaync rework
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
./neovim.nix
|
./neovim.nix
|
||||||
./obsidian.nix
|
./obsidian.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./swaync.nix
|
./swaync
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
./waybar
|
./waybar
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
|
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./swaync.nix
|
./swaync.nix
|
||||||
./style.css
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -8,9 +8,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.notification {
|
.notification {
|
||||||
border-radius: 12px;
|
border-radius: 0px;
|
||||||
margin: 6px 12px;
|
margin: 8px 15px;
|
||||||
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.7),
|
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);
|
0 2px 6px 2px rgba(0, 0, 0, 0.3);
|
||||||
padding: 0;
|
padding: 15;
|
||||||
}
|
}
|
||||||
|
@@ -20,5 +20,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".config/swaync.style.css" = ./style.css;
|
home.file.".config/swaync/style.css".source = ./style.css;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user