|
|
|
@ -21,7 +21,7 @@ my_term="xterm"
|
|
|
|
|
# my_term="alacritty"
|
|
|
|
|
# my_term=terminator
|
|
|
|
|
# my_term=gnome-terminal
|
|
|
|
|
# my_term=kitty # for kitty to work uncomment line 28 and comment line 31
|
|
|
|
|
# my_term=kitty # for kitty to work uncomment line 30 and comment line 33
|
|
|
|
|
|
|
|
|
|
# option 2: auto detect terminal emulator (note: make sure to only open one)
|
|
|
|
|
# my_term="urxvt|kitty|xterm|uxterm|termite|sakura|lxterminal|terminator|mate-terminal|pantheon-terminal|konsole|gnome-terminal|xfce4-terminal"
|
|
|
|
@ -44,7 +44,7 @@ if [[ -z "$pid" ]]; then
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
done <<<"$my_term"
|
|
|
|
|
else
|
|
|
|
|
else
|
|
|
|
|
# get windows id from pid ex: 0x2a00125%
|
|
|
|
|
wid=$(printf 0x%x "$pid")
|
|
|
|
|
|
|
|
|
|