Created
January 12, 2017 05:14
-
-
Save andykais/65108637cafa1dcbe140c3f630785da6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export DATE=$(date -d $(date +"%D") +"%s") | |
export FILENAME=/tmp/qod_$DATE.json | |
TITLE_TAG=~/bin/data/ascii_name.txt | |
urxvtc -e \ | |
bash -c "\ | |
. ~/bin/helpers/qod.sh \ | |
&& qod \ | |
; cat $TITLE_TAG \ | |
&& jq_quote \ | |
&& read todays_quote < <(jq -r '.quote' $FILENAME) \ | |
; $SHELL \ | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment