dmenu/dmenu_run

7 lines
203 B
Plaintext
Raw Normal View History

#!/bin/sh
2021-03-29 16:52:31 +02:00
if [ "$EUID" -ne 0 ]
then
dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} &
else
dmenu_path | dmenu -nb '#1e1e1e' -sf '#1e1e1e' -sb '#DD0000' -nf '#DD0000' "$@" | ${SHELL:-"/bin/sh"} &
fi