summaryrefslogtreecommitdiff
path: root/.local/bin/dmenuexcel
blob: 59015848ffb84730dc2a3292b813ad65f21017b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

trinity(){
case "$(printf "Watchlist\\nIdeas\\nKelly" | dmenu -l 3 -i -p "Select excel file")" 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 ;;
esac ;}

#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