move config files to new yadm dir

This commit is contained in:
Simonas Narbutas
2019-11-21 10:23:04 +01:00
parent 8c78170a3a
commit 07551e044a
35 changed files with 439 additions and 7 deletions

16
.config/yadm/alt/.bin/rdpto Executable file
View 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