I am on Manjaro KDE and I want a startup script that will launch the xfce4-terminal and run a command in it, and stay open. The command I want to run in it is
This command says to repeat
So this is what I have in my script file:
And it's not right because I get an error message
watch -n 180 "hebcal -T"
This command says to repeat
hebcal -T
every 180 seconds. hebcal -T
prints the current Hebrew date in the terminal.So this is what I have in my script file:
#!/bin/bash
sleep 5 && xfce4-terminal --execute 'bash -c watch -n 180 "hebcal -T"' --title=title --hold
And it's not right because I get an error message
Failed to execute child
Failed to execute child process "bash -c watch -n 180 "hebcal-T"': Failed to execve: No such file or directory