<dnkl>
sterni: maybe. I'll probably make it configurable. But I don't think it's obvious it should be
<janemba>
how can I start a shell script with foot ? I tried "> foot script.sh" but its not working (exit-code=0)
<dnkl>
janemba: "foot sh -c script.sh", for example
<dnkl>
janemba: actually, just "foot script.sh" should work
<dnkl>
what makes you think it does not work?
<janemba>
dnkl: sorry it works, I forgot I was using "footclient" instead
<dnkl>
janemba: both should work (assuming you have a foot --server running)
<janemba>
dnkl: oh !! so with foot it works fine but not with footclient. I'm using the following script https://github.com/Biont/sway-launcher-desktop and yes foot --server is running
<dnkl>
janemba: you've restarted the server since the last upgrade? Can you explain "does not work"? exit-code 0 means it did execute the script, and then exited
<dnkl>
janemba: try starting the foot server from another terminal, and check if it's logging something when you try to run the script through footclient
<janemba>
dnkl: sorry sorry, I just tried with -H on footclient and I've noticed a "PATH" error (not related to foot)
<dnkl>
janemba: :)
cherti is now known as gargamel
gargamel is now known as cherti
trylletre has quit [Remote host closed the connection]
trylletre has joined #foot
trylletre has quit [Remote host closed the connection]
trylletre has joined #foot
trylletre has quit [Remote host closed the connection]
trylletre has joined #foot
trylletre has quit [Remote host closed the connection]
trylletre has joined #foot
trylletre has quit [Remote host closed the connection]
trylletre has joined #foot
trylletre has quit [Remote host closed the connection]
trylletre has joined #foot
trylletre has quit [Remote host closed the connection]
trylletre has joined #foot
trylletre has quit [Remote host closed the connection]
trylletre has joined #foot
<janemba>
I've noticed the PATH is different with foot and footclient. I see the differences with PATH set by .zshenv. For foot its fine but for footclient the additions are not present. I checked with "cat /proc/<pid>/environ" but well its not a big deal
<dnkl>
janemba: footclient runs in the environment of the foot server. i.e it depends on how you start the server
<janemba>
hmm...I start the server with sway "exec foot --server" so I guess it cannot peak the environment set by zsh
<dnkl>
janemba: that depends on how you start Sway ;)
<janemba>
dnkl: hmm...I'm using sddm with a .desktop file so not from zsh :-(
<dnkl>
janemba: have you tried running your script with "footclient zsh -c script.sh"?
<janemba>
dnkl: yes but it doesn't work because the script is for bash
yyp has quit [Remote host closed the connection]
<janemba>
ok fix
<janemba>
(I use /etc/profile.d for env)
novakane has quit [Quit: WeeChat 3.2]
novakane has joined #foot
janemba has quit [Read error: Connection reset by peer]
janemba has joined #foot
yyp has joined #foot
yyp has quit [Remote host closed the connection]
yyp has joined #foot
yyp has quit [Remote host closed the connection]
novakane has quit [Quit: WeeChat 3.2]
priner[m] has quit [Remote host closed the connection]
testuser[m]1 has quit [Remote host closed the connection]
caughtquick[m] has quit [Remote host closed the connection]
mvdan has quit [Read error: Connection reset by peer]
mvdan has joined #foot
testuser[m]1 has joined #foot
priner[m] has joined #foot
caughtquick[m] has joined #foot
<janemba>
foot is an incredible piece of software. Very good job !