sov: update

This commit is contained in:
Konstantin Koslowski 2023-12-19 10:17:55 +01:00
parent df88826fe5
commit b4e0046874
4 changed files with 102 additions and 73 deletions

View file

@ -1,9 +1,9 @@
#!/usr/bin/env sh
PATH=$PATH:$HOME/bin
CONFIG=$HOME/.config/sway/sov.d/config
CONFIG=$HOME/.config/sway/sov.d
FIFO=/tmp/sovpipe
CMD="sov"
ARGS=" -v -c $CONFIG"
ARGS=" -v -s $CONFIG"
LOG=$HOME/log/sov.log
which $CMD &> /dev/null
@ -19,4 +19,5 @@ rm -f $LOG
rm -f $FIFO
mkfifo $FIFO
# execute new instance
echo $CMD $ARGS | tee -a $LOG
tail -f $FIFO | $CMD $ARGS 2>&1 | tee -a $LOG