move config files to new yadm dir
This commit is contained in:
16
.config/yadm/alt/.bin/rdpto
Executable file
16
.config/yadm/alt/.bin/rdpto
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Connect to Win VMs
|
||||
#
|
||||
# A script to connect to windows machines
|
||||
function usage_and_exit {
|
||||
echo "Usage: $(basename ${0}) <host fqdn>"
|
||||
exit 1
|
||||
}
|
||||
# Exit if we have an incorrect number of arguments
|
||||
if [ ${#} -ne 1 ]; then
|
||||
usage_and_exit
|
||||
fi
|
||||
|
||||
menu=$(gopass ls --flat | rofi -dmenu -p "gopass")
|
||||
xfreerdp +clipboard /u:snarbutas /v:"${1}" /drive:home,/home/snarbutas/temp/smb /p:"$(gopass $menu)" /size:1600x1200 /sec:rdp
|
||||
Reference in New Issue
Block a user