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.

35 lines
686 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 rcg="d ~/Documents/coding/random-color-generator"
  29. alias dcr="d ~/Documents/coding/dcr-logger"
  30. fi