#!/bin/sh
#] 
#] *********************
#] $ bash "$d_bin"'starter/bank_taxes.sh'  - federal (CRA) annual form-fill
# www.BillHowell.ca  27Apr2023 initial


echo  'auto-runs: starter/bank_month.sh'  
bash  "$d_bin"'starter/bank_month.sh'  

echo "bank_taxes.sh is running"

#	defined in start_input :
#	d_start="$d_bin""starter/"
#	goApp="$goApp"  

# switch to Workspace 3 
wmctrl -s 2

d_tax="$d_Midas"'Investments/Taxes/'


#] taxes()

	taxes()
{
	echo "+-----+"
	echo "open files, $date_ymdhm"

	bash	"$goApp"	"$delay_fmg"	"filemgr"	"$d_tax"			'2022/'
	bash	"$goApp"	"$delay_edt"	"editLeft"	"$d_tax"			'0_tax notes.txt' 

	# other files for tax time ... probably on USB memory stick
	
	bash "$goApp"  "$delay_brs"  "browser"		"https://banking.connectfirstcu.com/"		""
	bash "$goApp"  "$delay_brs"  "browtab"		"https://www.hsbc.ca/online-banking"		""

}


	extras()
{
	# pause for user - copy pwd
	read -p 'Copy the password first, and be ready to paste it, then hit enter'  junk

	# decrypt files
	gpg   --output "$d_cry""temp-Pension.txt"   --decrypt  "$d_cry""Pension.txt.gpg"   
	gpg   --output "$d_cry""temp-TurboTax.txt"  --decrypt  "$d_cry""TurboTax.txt.gpg"   

	# open files in geany txtEd
	bash "$goApp"  "$delay_edt"  "editor"		"$d_PROJECTS"	"SysMaint-secure/codification.ods" 
	bash "$goApp"  "$delay_edt"  "editor"		"$d_bin"			"encrypt fileList.txt" 
}




#24************************24
#] Run

	taxes
	#extras





echo "bank_taxes.sh finished"



# enddoc
