add debug thingy

This commit is contained in:
xqtc 2025-04-07 19:30:25 +02:00
parent 163079201e
commit c575b519ba
Signed by: xqtc
GPG key ID: 2C064D095926D9D1

View file

@ -27,7 +27,7 @@ fn main() -> Result<(), Box<dyn Error>> {
cpu
);
if c > 20 {
if c > 20 && std::env::var("SWAYSTATUS_DEBUG").is_ok() {
std::process::exit(0);
}