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

View file

@ -4,6 +4,7 @@ export MOZ_ENABLE_WAYLAND=1
exec ydotoold &
exec systemctl enable --user --now libinput-gestures &
exec emacs --daemon &
xcape -e 'Super_L=Super_L|Control_L|Escape'
xcape -e 'Super_L=Super_L|Control_L|Escape' &