dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.15.3 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
rbmarliere has quit [Quit: rbmarliere]
rbmarliere has joined #foot
Consolatis has quit [Ping timeout: 246 seconds]
Consolatis has joined #foot
chomwitt has joined #foot
chomwitt has quit [Ping timeout: 255 seconds]
chomwitt has joined #foot
chomwitt has quit [Remote host closed the connection]
chomwitt has joined #foot
lbia has quit [Ping timeout: 255 seconds]
lbia has joined #foot
kraftwerk28_ is now known as kraftwerk28
chomwitt has quit [Ping timeout: 240 seconds]
bent_fingers has quit [Quit: Connection closed for inactivity]
ursa-major has joined #foot
boomboxnation has quit [Remote host closed the connection]
boomboxnation has joined #foot
chomwitt has joined #foot
mohammad has joined #foot
Biolunar has quit [Quit: brb]
Biolunar has joined #foot
mohammad has quit [Ping timeout: 245 seconds]
mohammad has joined #foot
mohammad has quit [Remote host closed the connection]
mohammad has joined #foot
mohammad has quit [Ping timeout: 245 seconds]
mohammad has joined #foot
mohammad has quit [Ping timeout: 245 seconds]
mohammad has joined #foot
mohammad has quit [Ping timeout: 245 seconds]
mohammad has joined #foot
andyrtr has quit [Quit: ZNC 1.8.2 - https://znc.in]
andyrtr has joined #foot
mohammad has quit [Ping timeout: 245 seconds]
qyliss has quit [Quit: bye]
qyliss has joined #foot
andyrtr has quit [Quit: ZNC 1.8.2 - https://znc.in]
andyrtr_ has joined #foot
mohammad has joined #foot
qyliss has quit [Remote host closed the connection]
andyrtr_ is now known as andyrtr
qyliss has joined #foot
erectus has quit [Remote host closed the connection]
erectus has joined #foot
newchair has joined #foot
qyliss has quit [Quit: bye]
qyliss has joined #foot
switchy has quit [Read error: Connection reset by peer]
ovf has quit [Ping timeout: 252 seconds]
switchy has joined #foot
switchy has quit [Changing host]
switchy has joined #foot
mohammad has quit [Remote host closed the connection]
mohammad has joined #foot
ovf has joined #foot
awesomerly has joined #foot
mohammad has quit [Remote host closed the connection]
mohammad has joined #foot
mohammad has quit [Remote host closed the connection]
mohammad has joined #foot
chomwitt has quit [Ping timeout: 240 seconds]
mohammad has quit [Ping timeout: 245 seconds]
bent_fingers has joined #foot
mohammad has joined #foot
Allie has quit [Quit: connection reset by purr]
mohammad has quit [Remote host closed the connection]
mohammad has joined #foot
cbb has joined #foot
<cbb> jmcantrell: I'm curious how you were running that script you mentioned yesterday
<cbb> were you starting it from a shell or with something like `foot ./script.bash`?
<cbb> by "from a shell" I mean an interactive shell in foot
<cbb> I think running "backgrounded" GUI apps from an interactive shell is perfectly reasonable tbh and there's a way to do it properly
mohammad has quit [Ping timeout: 245 seconds]
cath- is now known as cat
mohammad has joined #foot
mohammad has quit [Remote host closed the connection]
andyrtr_ has joined #foot
andyrtr has quit [Ping timeout: 255 seconds]
andyrtr_ is now known as andyrtr
andyrtr_ has joined #foot
andyrtr has quit [Ping timeout: 255 seconds]
andyrtr_ is now known as andyrtr
chomwitt has joined #foot
<jmcantrell> cbb: my testing was done using `foot ./script` in an interactive shell (in foot), but i intended it to be run from a bindsym in sway. i found out that it behaves the same way running it in another terminal, like alacritty, so i'm not sure it's indicative of anything wrong with foot
<cbb> jmcantrell: oh ok, I don't get why you'd run `foot ./script` instead of just `./script` then
<cbb> if you want to run a GUI app from an interactive shell, you can "background" it with e.g. `setsid --fork seahorse >/dev/null 2>&1`
<jmcantrell> does that work for non-interactive too? i'm curious why this is necessary. seems like backgrounding + disowning is the correct (?) way
<cbb> jmcantrell: it's not necessary for non-interactive, but it should work nontheless
<cbb> so you can do it unconditionally in a script like that, if you want it to work in either context
<cbb> using setsid(1) just eliminates all the quirks around controlling terminals and process groups (and the foreground group getting SIGHUP when losing the tty)
<jmcantrell> cbb: thanks. i was not aware of setsid
<cbb> jmcantrell: no worries
<cbb> I should note that setsid(1) comes from util-linux, so it's not portable to BSDs if that matters
<jmcantrell> understood
ayushnix has quit [Server closed connection]
ayushnix has joined #foot
aliosablack has joined #foot
Kabouik has quit [Remote host closed the connection]
chomwitt has quit [Remote host closed the connection]
Kabouik has joined #foot
Kabouik has joined #foot
aliosablack has quit [Ping timeout: 240 seconds]
cbb has quit [Quit: WeeChat 4.0.4]