Open matiux opened 7 months ago
I think the command you want to run is not neofetch
but your shell with neofetch
as a startup command. For Fish that would be fish -C neofetch
@MyApaulogies I have just tried like this
pane split_direction="vertical" {
pane cwd="/" name="root" command="/usr/bin/zsh" {
args "-c" "neofetch"
}
pane name="htop" command="htop"
}
But nothing seems to change. The behavior remains the same.
It looks like zsh -c
doesn't go into interactive mode afterwards, see https://superuser.com/q/91881
@MyApaulogies There seems to be no clear solution. Or maybe I don't understand how
I think the easiest solution there was to just
pane command="/usr/bin/zsh" {
args "-c" "neofetch; exec zsh"
}
I had tried with
if [[ $1 == eval ]]
then
"$@"
set --
fi
but doesn't work very well as powerlevel10k warns me of unexpected output before running the prompt. Instead, args "-c" "neofetch; exec zsh"
seems to works well.
I'm creating my first layout. I would have a panel with neofetch to see system information. This is my config
I would like to have the prompt active after neofetch output, but instead I need to press ESC
I would like to be in this status: