2

Hi I'm trying to launch cal with sxhkd. And it doesn't work, the terminal window is closed right after the command is executed.

I tried to do it using the following:

# launch urxvt 20x8 with cal
super + c
    urxvt -geometry 20x8 -e cal -m

I also tried to set bspwm to open the window as floating with this: bspc rule -a urxvt:cal state:floating but it doesn't have any efect

user419050
  • 339
  • 3
  • 11

1 Answers1

2

You need to add -hold on urxvt, in order to not destroy its window when the program executed within it exits.

urxvt -hold -geometry 20x8 -e cal -m
Quasímodo
  • 18,625
  • 3
  • 35
  • 72
Krackout
  • 2,480
  • 9
  • 25