#!/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