blob: aefd62cecbae623447faa8a82d209a50492016ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
trinity(){
case "$(printf "Watchlist\\nIdeas\\nKelly\\nOptions" | dmenu -l 4 -i -p "Select Excel 📗")" in
"Watchlist") exec "/opt/cxoffice/bin/wine" --bottle "Microsoft_Excel_2007" --check --wait-children --start "C:/users/crossover/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Microsoft Office/Microsoft Office Excel 2007.lnk" ~/anat/books/watchlist.xlsx ;;
"Ideas") exec "/opt/cxoffice/bin/wine" --bottle "Microsoft_Excel_2007" --check --wait-children --start "C:/users/crossover/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Microsoft Office/Microsoft Office Excel 2007.lnk" ~/anat/books/ideas.xlsx ;;
"Kelly") exec "/opt/cxoffice/bin/wine" --bottle "Microsoft_Excel_2007" --check --wait-children --start "C:/users/crossover/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Microsoft Office/Microsoft Office Excel 2007.lnk" ~/anat/books/kelly.xlsx ;;
"Options") exec "/opt/cxoffice/bin/wine" --bottle "Microsoft_Excel_2007" --check --wait-children --start "C:/users/crossover/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Microsoft Office/Microsoft Office Excel 2007.lnk" ~/anat/books/options_strategies.xlsm ;;
esac ;}
# add execution spreadsheet ...
#tools(){
#case "$(printf "VIX\\nMargin\\nReaction" | dmenu -l 3 -i -p "Select xl sheet")" in
# "VIX") excel ~/Trading/VIX_implied_SP500_move.xlsx ;;
# "Margin") excel ~/Trading/exposure_margin.xlsx ;;
# "Reaction") excel ~/Trading/economic_and_asset_reaction.xlsx ;;
#esac ;}
trinity # better exec ?
#tools
|