siduck / chadwm

Making dwm as beautiful as possible!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starting script with actual path

arcolinuxz opened this issue · comments

How can I make this more general?

image

/home/erik/...
to
$HOME

or something equivalent

does ~ work? like ~/.bin/keyhin

No I have tried that before

image

if Chadwm can get the $HOME of the user we are golden

Check the getenv function.

tried and failed

feeling like a noob again

for a later day

C is not my thing (yet)

@arcolinuxz you need to patch the source code with probably this https://dwm.suckless.org/patches/environmentvars/

or put that script in your path i.e put .bin folder in path

and then this will work

static const char* eww[] = { "keyhint", NULL };