Let dmenu utilize PATH changes

This commit is contained in:
David Holland 2021-01-05 18:20:44 +01:00
parent 03547d94fb
commit 6aa4580a5a
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9

View file

@ -1,7 +1,7 @@
#!/usr/bin/env zsh
if [[ -f $HOME/.zsh_alias ]]; then
source $HOME/.zsh_alias
if [[ -f $HOME/.zshenv ]]; then
source $HOME/.zshenv
fi
command_to_run=$({ alias | awk '{split($0,alias,"="); print alias[1];}' ; dmenu_path ; } | sort | dmenu -i -fn $(get-font) -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2" "$@")