oops many changes i forgot to push lol

This commit is contained in:
sankalp committed 2025-10-13 09:32:42 +05:45
1 parent b9531d7c53
commit 2e3b870efe
174 files changed
+898 -288

No files matched your search

+3 -1
View File
@@ -1,7 +1,7 @@
#ifndef __CONFIG_H__
#define __CONFIG_H__
#define PROJECT_VERSION "0.1.0"
#define PROJECT_VERSION "1.1.0"
#define GETTEXT_PACKAGE "keyvibe"
#define PKEXEC_PATH "/usr/bin/pkexec"
@@ -18,3 +18,5 @@
#define KeyVibe_BIN_DIR PACKAGE_PREFIX "/bin"
#endif
+2 -3
View File
@@ -1,4 +1,3 @@
#ifndef KEYVIBE_UTILS_H
#define KEYVIBE_UTILS_H
@@ -8,8 +7,7 @@
// Returns 1 on success, 0 on truncation/error
int safe_snprintf(char *dst, size_t dst_sz, const char *fmt, ...);
// fprintf to stderr with printf-style formatting. Returns 1 for convenient
// `return errorf(...)` usage.
// fprintf to stderr with printf-style formatting. Returns 1 for convenient `return errorf(...)` usage.
int errorf(const char *fmt, ...);
// Common runtime helpers
@@ -20,3 +18,4 @@ int write_pidfile(const char *path, pid_t pid);
int process_is_running(pid_t pid);
#endif // KEYVIBE_UTILS_H