Fix missing $DMENU.

This commit is contained in:
cronyakatsuki 2022-10-23 21:53:54 +02:00
parent 332c17b9ff
commit 52d02d84b0

View File

@ -4,7 +4,7 @@
source $HOME/.config/dmenu/config
pid=$(ps -u $USER -o pid,%mem,%cpu,comm,cmd | sort -b -k3 -r | dmenu -l 15 -i -p "Choose procces to kill: " | awk '{print $1}')
pid=$(ps -u $USER -o pid,%mem,%cpu,comm,cmd | sort -b -k3 -r | $DMENU -l 15 -i -p "Choose procces to kill: " | awk '{print $1}')
[ -n "$pid" ] || exit