This commit is contained in:
2024-06-21 17:52:13 +02:00
parent 3ff0c82b3f
commit b45049ac27
3 changed files with 5 additions and 6 deletions

View File

@@ -4,6 +4,5 @@ WINDOW_ID=$(xdotool getactivewindow)
WM_NAME=$(xprop -id $WINDOW_ID WM_NAME | cut -d '"' -f 2)
if [ -f $HOME/.config/terminalscwd/$WM_NAME.ssh ]; then
echo $(cat $HOME/.config/terminalscwd/$WM_NAME.ssh) > ~/toto.txt
alacritty -e sh -c "PARENT_TERMINAL=$WM_NAME ssh $(cat $HOME/.config/terminalscwd/$WM_NAME.ssh)"
fi