From a5c071e8963fb5c17efe1345b982c7027eb867ba Mon Sep 17 00:00:00 2001 From: joygnu Date: Fri, 23 Aug 2024 13:17:59 +0200 Subject: [PATCH] swaync --- home/swaync/default.nix | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/home/swaync/default.nix b/home/swaync/default.nix index 1e290fe..d14cf73 100644 --- a/home/swaync/default.nix +++ b/home/swaync/default.nix @@ -1,5 +1,27 @@ {pkgs,...}:{ - services.swaync.enable = true; + services.swaync = { + enable = true; + 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; + } + '' + ; + }; home.packages = with pkgs; [ libnotify