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

8 lines
71 B
Bash
Executable File

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