1

I have an issue in which I was unable to find a solution till now. While I use several scripts to launch specific commands through URXvt:

#!/bin/sh

urxvt -geometry 40x20+990+30 -w 0 -b 0 -e nmtui

when I try to launch the same window with cal command I get.. no urxvt window!

Is there a way to do it?

1 Answers1

1

urxvt has a -hold|+hold option to “not immediately destroy its window when the program executed within it exits” (see man urxvt):

urxvt -geometry 40x20+990+30 -w 0 -b 0 -hold -e cal

A different approach would be to spawn a shell (which doesn’t just exit) to keep the window open:

urxvt -geometry 40x20+990+30 -w 0 -b 0 -e 'cal;sh'
dessert
  • 40,956