Change emacs path. Disable xrdb

This commit is contained in:
exu 2023-11-17 20:05:23 +01:00
parent 04f83567e7
commit 81d81a3789

View File

@ -503,8 +503,8 @@ EOF
update-desktop-database ~/.local/share/applications/ update-desktop-database ~/.local/share/applications/
# sync doom-emacs only if it is installed # sync doom-emacs only if it is installed
if [[ -f ~/.emacs.d/bin/doom ]]; then if [[ -f ~/.config/emacs/bin/doom ]]; then
~/.emacs.d/bin/doom sync ~/.config/emacs/bin/doom sync
fi fi
# disable freedesktop notification daemon # disable freedesktop notification daemon
@ -517,11 +517,9 @@ pkill dunst && nohup dunst &
# reload .Xresources # reload .Xresources
# TODO fails without display # TODO fails without display
set +e #if [[ -f "$HOME/.Xresources" ]]; then
if [[ -f "$HOME/.Xresources" ]]; then # xrdb ~/.Xresources
xrdb ~/.Xresources #fi
fi
set -e
# execute feh # execute feh
if [[ -f "$HOME/.fehbg" ]]; then if [[ -f "$HOME/.fehbg" ]]; then