dotfiles/home/default/.config/waybar/scripts/emacs-status.sh

8 lines
71 B
Bash
Raw Normal View History

pgrep emacs >/dev/null
if [ $? -eq 1 ]
then
echo 'X'
else
echo 'e+'
fi