Commit Graph
11 Commits
Author SHA1 Message Date
sankalp 563ebdbbab feat(src): improve logging and refactor console output
Enhancements
- Replace printf and LOG_ERROR with LOG_INFO, LOG_WARN, LOG_PERROR throughout src/app/process.c, src/app/watch.c, and src/audio/config.c
- Use LOG_INFO for headings and formatted tables in sound‑pack listing
- Add missing includes and clean up header organization

Bug Fixes
- Use LOG_PERROR for pipe, fork, and execl failures to log errno correctly
- Ensure proper newline handling in config‑watcher log messages

New Features
- Introduce structured logging for configuration file changes and reload notifications
- Provide clearer usage guidance via LOG_INFO
2026-02-22 02:35:17 +05:45
sankalp 6658d6561b feat(src): Add comprehensive logging and parameterize system volume following
Replace numerous printf statements with LOG_* macros, introduce system_volume_following parameter, and improve error handling throughout the daemon.

New Features
- Introduce LOG_INFO, LOG_ERROR, LOG_WARN for unified diagnostics.
- Add support for system_volume_following when spawning child processes.
- Log detailed startup information instead of raw printf.

Enhancements
- Refactor start_children signature to accept the new parameter.
- Use strerror(errno) in error logs for clearer messages.
- Improve signal handling output and reload request logging.

Bug Fixes
- Correct error formatting for pipe, fork, chdir, and execl failures.
- Ensure proper handling of system_volume_following_str initialization.
- Replace daemon‑specific prints with appropriate log levels.
2026-02-22 02:08:31 +05:45
sankalp 652d14c923 refactor(cli): rename KeyVibe to VBX and add mouse support 2025-10-18 14:41:46 +05:45
sankalp 52ae286c43 refactor(cli): improve CLI UX with clearer messages and usage instructions 2025-10-18 14:32:04 +05:45
sankalp 1e9f5c784b rebranding 2025-10-18 14:17:52 +05:45
sankalp ce28dc2fde oops many changes, DRY Principle applied other i dont know 2025-10-15 17:04:01 +05:45
sankalp 65dc7da800 oops many changes 2025-10-14 23:32:58 +05:45
sankalp 347d3048f0 feat: add enable/disable keyboard and mouse sounds with CLI options and config file 2025-10-13 23:43:50 +05:45
sankalp c9460d54a4 style(ui): improve sound pack listing output formatting 2025-10-13 23:08:08 +05:45
sankalp 52a7629834 docs: improve CLI usage instructions and error messages 2025-10-13 23:05:37 +05:45
sankalp 4343cf56bf oops many changes 2025-10-13 23:03:22 +05:45