Files
linux-config/aliases/.pc_aliases
Kevin Mok 5554bfd2fe Resolve #18, new 209/my_pc alias files, egc alias
- alias files:
  - 209: Split from school because was getting too long.
  - my_pc: Stores common aliases between laptop and desktop.
- Can now have different Terminator configurations for each computer.
- egc alias: Loads commit message buffer into Vim with text width of 72
  and syntax highlighting.
2018-02-01 22:38:04 -05:00

36 lines
686 B
Plaintext

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 rcg="d ~/Documents/coding/random-color-generator"
alias dcr="d ~/Documents/coding/dcr-logger"
fi