#!/bin/bash
#
# Usage: startremmina.sh <password>

/usr/bin/remmina -c $HOME/.maussk.remmina &
sleep 0.5
winid=$(xdotool search --name 'Verbindung zu')
/usr/bin/xdotool windowactivate --sync $winid type $1
/usr/bin/xdotool windowactivate --sync $winid key Return

exit 0
