force_terminal.sh 384 B

123456789
  1. # This is trying to brute force through all terminals
  2. # until it finds one that works.
  3. for terminal in $TERMINAL x-terminal-emulator urxvt rxvt st terminology qterminal Eterm aterm uxterm xterm roxterm xfce4-terminal.wrapper mate-terminal lxterminal konsole alacritty kitty; do
  4. if command -v $terminal >/dev/null 2>&1; then
  5. exec $terminal -e "python3 run.py"
  6. fi
  7. done