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

  1. if [ "$(hostname)" == "NZXT" ]; then
  2. rt() {
  3. output="HDMI-0"
  4. if [ "$1" = "s" ]
  5. # if [ "${1:0:1}" = "s" ]
  6. then
  7. output="DVI-I-1"
  8. fi
  9. dir="normal"
  10. if [ "$2" = "r" ]
  11. # if [ "${1:1:2}" = "r" ]
  12. then
  13. dir="right"
  14. fi
  15. if [ "$2" = "l" ]
  16. then
  17. dir="left"
  18. fi
  19. # echo "xrandr --output \"$output\" --rotate \"$dir\""
  20. xrandr --output "$output" --rotate "$dir"
  21. }
  22. alias ow7="virtualbox startvm W7"
  23. # alias ow7="VBoxManage startvm W7 --type headless"
  24. chr() { google-chrome $1 ; }
  25. alias nem="nemo ."
  26. alias spt="speedtest"
  27. alias pg="ping -c 5 google.ca"
  28. alias mt="ok ~/Documents/School/136/calc-textbook.pdf"
  29. alias 36t="ok ~/Documents/School/236/236-textbook.pdf"
  30. alias rcg="d ~/Documents/coding/random-color-generator"
  31. alias dcr="d ~/Documents/coding/dcr-logger"
  32. fi