dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit d7a6ef37c83a96a46ac3d2a5d20f9b10215c728a
parent d757a20d6ea9868cdec4113898a64c74f78b4fa0
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue,  8 Dec 2020 11:15:45 +0100

sfeed_sync: end by starting sfeed_curses if not already running

Diffstat:
M.local/bin/sfeed_sync | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.local/bin/sfeed_sync b/.local/bin/sfeed_sync @@ -3,4 +3,8 @@ key="$HOME/.ssh/id_rsa_sfeed" ssh -i "$key" sfeed@adamsgaard.dk 'sfeed_update $HOME/.sfeed/sfeedrc.daily' ssh -i "$key" sfeed@adamsgaard.dk 'sfeed_update $HOME/.sfeed/sfeedrc' rsync -vaz -e "ssh -i $key" sfeed@adamsgaard.dk:~/.sfeed/ ~/.sfeed/ -pkill -SIGHUP sfeed_curses +if pgrep sfeed_curses >/dev/null 2>&1; then + pkill -SIGHUP sfeed_curses +else + sfeed_curses ~/.sfeed/feeds/* +fi