Why is lets say HOME
recognized by all my scripts but my variable DMENU
isn't?
I export it in my bspwmrc file which is executed at start up.Also had it in my zshrc.
Why do this?
DMENU="-h 27 -z 940 -y 4 -x 210 -i"
I want to have this variable in my scripts so if later I want to change something I don't have to manually change all my scripts.
Could it be that the shebang is #!/bin/sh
pointing to dash ?
How do i set a global variable then?
dash
looking at the man page it said to use the.profile
file in the home directory. I created one and added ` export DMENU="-h 27 -z 900 -y 4 -x 220 -i" ` to it. Runningecho $DMENU
returns nothing. Is there a dependency to the.profile
file , an XDG package perhaps,a reboot?