From b02aa3b7807f73f7604d81d4703651202b5653df Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Fri, 4 Aug 2023 13:38:13 +0200 Subject: [PATCH] chill with the battery warning --- modules/desktop/sway.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 851b4e8..e3f6ba9 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -62,6 +62,12 @@ defaultConfig { modules-right = lib.mkForce [ "tray" "idle_inhibitor" "pulseaudio" "cpu" "memory" "backlight" "network" "battery" "clock" ]; + battery = { + states = lib.mkForce { + warning = 15; + critical = 5; + }; + }; clock = { interval = 5; locale = "da_DK.UTF-8";