Skip to content

Commit

Permalink
mako -> swaync
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Huber <[email protected]>
  • Loading branch information
maxhbr committed Jul 24, 2024
1 parent 42875cb commit 4449135
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/myconfig.desktop.wayland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ in {
home-manager.sharedModules = [
./home-manager.wrap-electron-apps.nix
./home-manager.kanshi.nix
./home-manager.swaync.nix
./home-manager.mako.nix
./home-manager.foot.nix
{
Expand All @@ -173,7 +174,9 @@ in {
};
programs.waybar.enable = true;
services.kanshi.enable = false;
services.mako.enable = true;
services.swaync.enable = true;
services.mako.enable = false;
services.dunst.enable = false;
services.random-background.enable = lib.mkForce false;
services.screen-locker.enable = lib.mkForce false;
programs.foot.enable = true;
Expand Down
31 changes: 31 additions & 0 deletions modules/myconfig.desktop.wayland/home-manager.swaync.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ config, lib, pkgs, ... }:

{
config = lib.mkIf config.services.swaync.enable {
services.swaync = {
style = ''
.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;
}
'';
# backgroundColor = "#285577BB";
# defaultTimeout = 5000;
};
services.mako.enable = lib.mkForce false;
services.dunst.enable = lib.mkForce false;
};
}

0 comments on commit 4449135

Please sign in to comment.