forked from mirror/dwm
early return with nix current-system path
This commit is contained in:
parent
e752671fda
commit
6fb61bb9fc
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
||||||
* @return char* the path of the current executable
|
* @return char* the path of the current executable
|
||||||
*/
|
*/
|
||||||
char *get_dwm_path(){
|
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
|
// https://en.wikibooks.org/wiki/C_Programming/POSIX_Reference/sys/stat.h#Member_types
|
||||||
struct stat s;
|
struct stat s;
|
||||||
int r, length, rate = 42;
|
int r, length, rate = 42;
|
||||||
|
|
Loading…
Reference in a new issue