Skip to content

Commit 8aeaa9a

Browse files
committed
feat: 🔊 add logging
1 parent b0a79bf commit 8aeaa9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kde-night-color.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ extern "C"
5050
inhibit_nc(should_inhibit);
5151
night_light_inhibited = should_inhibit;
5252
}
53+
54+
// Add logging of current state of pause, core-idle, seeking
55+
printf("\nCurrentState= pause: %ld, core-idle: %ld, seeking: %ld, inhibited: %d\n", paused, idle, seeking, night_light_inhibited);
56+
fflush(stdout);
5357
};
5458

5559
// Observe pause and idle properties

0 commit comments

Comments
 (0)