From 3157ceb88b2e2e6603486993d8622e5ecf23991a Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 11 Sep 2023 23:03:57 +0000 Subject: [PATCH] swaync: dont ship dbus files --- hosts/common/programs/swaynotificationcenter.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/common/programs/swaynotificationcenter.nix b/hosts/common/programs/swaynotificationcenter.nix index 3ac3238d..a879c20c 100644 --- a/hosts/common/programs/swaynotificationcenter.nix +++ b/hosts/common/programs/swaynotificationcenter.nix @@ -14,7 +14,7 @@ # - examples: # - thread: # - buttons-grid and menubar: -{ config, lib, ... }: +{ config, lib, pkgs, ... }: { sane.programs.swaynotificationcenter = { configOption = with lib; mkOption { @@ -31,6 +31,8 @@ }; default = {}; }; + # prevent dbus from automatically activating swaync so i can manage it as a systemd service instead + package = pkgs.rmDbusServices pkgs.swaynotificationcenter; fs.".config/swaync/style.css".symlink.text = '' /* avoid black-on-black text that the default style ships */ window {