Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

38 lines
799 B

if [ "$(hostname)" == "NZXT" ]; then
rt() {
output="HDMI-0"
if [ "$1" = "s" ]
# if [ "${1:0:1}" = "s" ]
then
output="DVI-I-1"
fi
dir="normal"
if [ "$2" = "r" ]
# if [ "${1:1:2}" = "r" ]
then
dir="right"
fi
if [ "$2" = "l" ]
then
dir="left"
fi
# echo "xrandr --output \"$output\" --rotate \"$dir\""
xrandr --output "$output" --rotate "$dir"
}
alias ow7="virtualbox startvm W7"
# alias ow7="VBoxManage startvm W7 --type headless"
chr() { google-chrome $1 ; }
alias nem="nemo ."
alias spt="speedtest"
alias pg="ping -c 5 google.ca"
alias mt="ok ~/Documents/School/136/calc-textbook.pdf"
alias 36t="ok ~/Documents/School/236/236-textbook.pdf"
alias rcg="d ~/Documents/coding/random-color-generator"
alias dcr="d ~/Documents/coding/dcr-logger"
fi