mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2023-02-13 20:55:19 -05:00
35 lines
625 B
Bash
Executable file
35 lines
625 B
Bash
Executable file
#!/bin/bash
|
|
# ____ _____
|
|
# | _ \_ _| Derek Taylor (DistroTube)
|
|
# | | | || | http://www.youtube.com/c/DistroTube
|
|
# | |_| || | http://www.gitlab.com/dwt1/
|
|
# |____/ |_|
|
|
#
|
|
# Dmenu script for launching trading programs.
|
|
|
|
|
|
declare -a options=("tastyworks
|
|
tastytrade
|
|
thinkorswim
|
|
quit")
|
|
|
|
choice=$(echo -e "${options[@]}" | dmenu -l -i -p 'System monitors: ')
|
|
|
|
case $choice in
|
|
quit)
|
|
echo "Program terminated." && exit 1
|
|
;;
|
|
tastyworks)
|
|
exec /opt/tastyworks/tastyworks
|
|
;;
|
|
tastytrade)
|
|
exec firefox tastytrade.com
|
|
;;
|
|
thinkorswim)
|
|
exec "$HOME/thinkorswim/thinkorswim"
|
|
;;
|
|
*)
|
|
exit 1
|
|
;;
|
|
esac
|
|
|