early return with nix current-system path

This commit is contained in:
Zynh Ludwig 2024-11-24 02:52:41 -08:00
parent e752671fda
commit 6fb61bb9fc

View file

@ -22,6 +22,8 @@
* @return char* the path of the current executable
*/
char *get_dwm_path(){
return "/run/current-system/sw/bin/dwm";
// https://en.wikibooks.org/wiki/C_Programming/POSIX_Reference/sys/stat.h#Member_types
struct stat s;
int r, length, rate = 42;