koldbyte / termoid

Terminal in a Plasmoid
https://store.kde.org/p/1169451/
45 stars 6 forks source link

Use pipe in auto execute command #15

Open 4piu opened 5 years ago

4piu commented 5 years ago

Thanks for the great work. I use termoid as a desktop widget that prints the log of certain service.

I am trying to make termoid auto execute journalctl -u my-service -f | ccze -A to output a colored log, but the pipe not works, I got an invalid argument error.

I would like to know how to make this work.

I created a script with the command in /usr/local/bin. It works, but I think may be there's a better approach.