I like adapting the style of my terminal depending on what I am doing inside. Using tilda, I am therefore looking for a way to dynamically change the cursor shape, say, with a command line.
I know that this option can be changed without having to restart tilda since I can do this from the gui config editor. However, running
sed "s/^cursor_shape = 0/cursor_shape = 1/" -i ~/.config/tilda/config_0
does not work, even if it does change the desired file in the desired way. Moreover, the change is canceled if I quit tilda then restart it, which means to me that some information is stored elsewhere in some way.
Is there a way I can make this change immediately effective? (like a function I would call to make tilda read the config file again?)