You are not logged in.
i'm trying to register my color env variables in the .bashrc, so i dont need to redo all my keybinds to change colors.
my .bashrc looks something like this:
export FOREGROUND="#fff"
export BACKGROUND="#000"and the bad sxkhd keybind is:
dmenu_run -nb "$BACKGROUND" -sb "$FOREGROUND" -sf "$BACKGROUND" -nf "$FOREGROUND"lastly, i'm running the sxkhd in the .xinitrc file, but the keybind doesnt do anything.
the weirder is that, when i kill sxhkd and rerun it, the keybind works fine.
maybe something with the .bashrc file? sorry for bad english.
edit: also if theres a better way to do it, maybe shell-independent, i would like to hear.
so apparently, the .bash_profile file runs 'startx'. just putting my env variables after this line worked for me.
Last edited by kebabwastaken (2021-06-25 02:25:55)
Offline
Offline