From 119ff55ccd096e6470bd5d3e901e34a691a10cff Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 12 Jun 2024 17:01:07 +0200 Subject: [PATCH] Ignore cbatticon reporting 60% As I've setup frame.work to only load up to 60% and cbatticon is constantly sending notification that the laptop is discharging or charging with 60%. --- home/services/dunst.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/services/dunst.nix b/home/services/dunst.nix index 010253e..0cd56ab 100644 --- a/home/services/dunst.nix +++ b/home/services/dunst.nix @@ -86,6 +86,12 @@ # Prefix with rule- to mark them as rule for myself. # Prefix x- is necessary to sort them after urgency_ defaults in generated ini file. # All sections are sorted alphabetical, done would come before urgency and would be overwritten again. + x-rule-cbatticon = { + appname = "cbatticon"; + summary = "*60*"; + skip_display = true; + history_ignore = true; + }; x-rule-networkmanager = { appname = "NetworkManager"; urgency = "low";