diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix
index 27ec7b5..918a9ed 100644
--- a/home-manager/hyprland.nix
+++ b/home-manager/hyprland.nix
@@ -9,6 +9,7 @@
systemd.enable = true;
extraConfig = ''
exec-once = waybar
+ exec-once = swaync
# Monitor settings
monitor = eDP-2, 2560x1600@165, 0x0, auto # main laptop monitor
diff --git a/home-manager/swaync.nix b/home-manager/swaync.nix
index 19e8de5..13a131e 100644
--- a/home-manager/swaync.nix
+++ b/home-manager/swaync.nix
@@ -1,4 +1,11 @@
{config, pkgs, ...}:
{
- programs.swaync.enable = true;
+ services.swaync = {
+ enable = true;
+ style = ''
+ #custom-notification {
+ font-family: "NotoSansMono Nerd Font";
+ }
+ '';
+ };
}
diff --git a/home-manager/waybar.nix b/home-manager/waybar.nix
index b94f483..898441e 100644
--- a/home-manager/waybar.nix
+++ b/home-manager/waybar.nix
@@ -22,18 +22,18 @@
# "tooltip-format" = "{=%A; %d %B %Y}\n{calendar}";
"interval" = 1;
};
- "custom/swaync": {
+ "custom/swaync" = {
"tooltip" = false;
- "format"= "{icon}";
+ "format"= "{icon} {}";
"format-icons" = {
- "notification" = "";
- "none" = "";
- "dnd-notification" = "";
- "dnd-none" = "";
- "inhibited-notification" = "";
- "inhibited-none" = "";
- "dnd-inhibited-notification" = "";
- "dnd-inhibited-none" = "";
+ "notification" = "aa";
+ "none" = "a";
+ "dnd-notification" = "aa";
+ "dnd-none" = "a";
+ "inhibited-notification" = "aa";
+ "inhibited-none" = "a";
+ "dnd-inhibited-notification" = "aa";
+ "dnd-inhibited-none" = "a";
};
"return-type" = "json";
"exec-if" = "which swaync-client";
@@ -44,5 +44,10 @@
};
};
};
+ style = ''
+ #custom-swaync {
+ padding: 2%;
+ }
+ '';
};
}