From 9176820c1d70c20b6554963123662dce609709ab Mon Sep 17 00:00:00 2001 From: Bill Niblock Date: Sun, 6 Sep 2015 22:04:45 -0400 Subject: [PATCH] Adding WIP bashrc --- bash/bashrc.wip | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 bash/bashrc.wip diff --git a/bash/bashrc.wip b/bash/bashrc.wip new file mode 100644 index 0000000..d4e040b --- /dev/null +++ b/bash/bashrc.wip @@ -0,0 +1,34 @@ +# .bashrc + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi + +# Uncomment the following line if you don't like systemctl's auto-paging feature: +# export SYSTEMD_PAGER= + +# complete -cf sudo + +###### +# Aliases +### + + +###### +# Functions +### + +#If redshift wasn't automatically started, this will do it +function tint(){ + redshift -l 42.8864500:-78.8783700 -t 5000:4000 & +} + +#Wrapper function for livestreamer script +function live(){ + case $1 in + 'twitch' ) livestreamer twitch.tv/$2 best & ;; + 'yt' | 'youtube' ) livestreamer $2 best & ;; + * ) echo "Not an option, try again." ;; + esac +}