Fix hardcoded filename
This commit is contained in:
parent
0f0077c33f
commit
7d1926f778
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue