Fix hardcoded filename

This commit is contained in:
Tibo De Peuter 2022-06-02 18:09:24 +02:00
parent 0f0077c33f
commit 7d1926f778

View file

@ -16,5 +16,5 @@ fi
# Update status in file # Update status in file
new_state=$( bc "(${saved_state} + 1) % 2" ) new_state=$( bc "(${saved_state} + 1) % 2" )
sed -i "s/saved_state=[0|1]/saved_state=${new_state}/" ~/.scripts/dnd.sh sed -i "s/saved_state=[0|1]/saved_state=${new_state}/" "${0}"