Compare commits

...

5 commits

Author SHA1 Message Date
joygnu 4feaaaae50 hypridle scipt 2024-08-23 17:55:51 +02:00
joygnu a1b660dcb1 swaync 2024-08-23 15:24:38 +02:00
joygnu a5c071e896 swaync 2024-08-23 13:17:59 +02:00
joygnu 881a34227c swaync 2024-08-23 12:57:19 +02:00
joygnu e7496fc466 swaync 2024-08-23 12:56:25 +02:00
4 changed files with 47 additions and 8 deletions

View file

@ -12,6 +12,6 @@
./hyprland ./hyprland
./hypridle ./hypridle
./newsboat ./newsboat
./dunst ./swaync
]; ];
} }

View file

@ -1,7 +0,0 @@
{pkgs,...}:{
services.dunst.enable = true;
home.packages = with pkgs; [
libnotify
];
}

0
home/hyprland/scripts/hypridle.sh Normal file → Executable file
View file

46
home/swaync/default.nix Normal file
View file

@ -0,0 +1,46 @@
{pkgs,...}:{
services.swaync = {
enable = true;
settings = {
positionX = "left";
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;
};
style =
''
.notification-row {
outline: none;
}
.notification-row:focus,
.notification-row:hover {
background: #282828;
}
.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;
}
''
;
};
home.packages = with pkgs; [
libnotify
];
}