a lot of little things

This commit is contained in:
Chris Cochrun 2022-04-05 08:21:56 -05:00
parent c4cd1393a5
commit 69d1f1319d
9 changed files with 25 additions and 15 deletions

11
scripts/emacsd Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
runem=$(pgrep -c emacs)
if [ $runem -gt 0 ]; then
echo "emacs is running!"
else
echo "emacs isn't running! Starting it..."
emacs --daemon &
echo "emacs started."
fi