awesomerly has quit [Read error: Connection reset by peer]
awesomerly has joined #foot
strom has quit [Remote host closed the connection]
strom has joined #foot
tel3 has joined #foot
awesomerly has quit [Ping timeout: 276 seconds]
azerov has quit [Quit: Gateway shutdown]
xenrox has quit [Remote host closed the connection]
azerov has joined #foot
xenrox has joined #foot
awesomerly has joined #foot
tel3 has quit [Ping timeout: 245 seconds]
awesomerly has quit [Quit: Leaving]
Biolunar has joined #foot
tel3 has joined #foot
figushki has joined #foot
balejk has joined #foot
<balejk>
hello, I was wondering whether it would make sense for the spawn-terminal command to make the spawned terminal inherit the current color scheme of the foot instance from which the command was run
jmcantrell has quit [Ping timeout: 276 seconds]
figushki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
figushki has joined #foot
tel3 has quit [Ping timeout: 276 seconds]
figushki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
figushki has joined #foot
figushki has quit [Ping timeout: 240 seconds]
tel3 has joined #foot
<jpp>
what is the Spawn-terminal command? What's it for?
<balejk>
jpp: it runs a new foot instance starting in the same working directory if the shell is correspondingly configured. see foot.ini(5)
figushki has joined #foot
figushki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
figushki has joined #foot
figushki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
figushki has joined #foot
figushki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
krobelus has quit [Ping timeout: 248 seconds]
figushki has joined #foot
figushki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
figushki has joined #foot
lack has quit [Ping timeout: 260 seconds]
jramsay has joined #foot
<dnkl>
balejk: spawn-terminal doesn't propagate any run-time changes to the new instance, and I don't think we should special case the theme either.
<balejk>
dnkl: the cwd is a run-time change, isn't it?
<balejk>
what about propagating the initial-color-theme setting in some way?
<balejk>
I think I saw an issue open to allow this command to be implemented via an arbitrary command, so if that happened then this would be possible to achieve through that
<dnkl>
balejk: there's another open issue, where foot doesn't propagate the command line options from the original instance. This is something I intend to fix at some point
<balejk>
to elaborate on my use case, simply I use the two themes depending on the surroundinga: during day, I will mostly use the light theme, at night the dark theme. I also often use the Ctrl+Shift+N shortcut to spawn new terminals in the same directory. I have bound a custom command to pass the initial-color-theme value to foot in my window manager, so that all new instances have the right color theme according to the system configuration, that means that I will not b
<balejk>
e blinded by a light theme at night (or vice versa) when I spawn a new terminal. and what I'd like is for that to be the case when launching the terminal in the same cwd via the mentioned command
<dnkl>
we could also consider making it possible to customize the command line executed by spawn terminal
<balejk>
that would be great. propagating the initial-color-theme option wouldn't actually work because the terminal could chnge the theme in the meantime
<balejk>
shall I open a feature request issue for this then?
<dnkl>
for the color theme specifically, wouldn't it be easier to just write (and update) a small config file with initial-window-theme and include that from your main config?
<dnkl>
that way all new instances would get the correct theme regardless of how they're launched
<balejk>
that's actually what I did with the whole theme before the SIGUSR1 switching was implemented. and indeed I think that will be the easiest way to go about this. thanks! :-)
<dnkl>
note that the next release will change the SIGUSR1 semantics somewhat