Browse Source

Rotate function for home

- Speedtest/ping aliases
- Make executable function
red-hat-laptop
Kevin Mok 7 years ago
parent
commit
9a2877b083
  1. 46
      dotfiles/.bash_aliases
  2. 3
      dotfiles/termConfig
  3. 0
      set-from-git.sh

46
dotfiles/.bash_aliases

@ -23,24 +23,44 @@ if $in_lab; then
ff() { firefox $1 ; } ff() { firefox $1 ; }
zip() { tar -zcvf $1.tar.gz $1/ ; } zip() { tar -zcvf $1.tar.gz $1/ ; }
alias nau="nautilus ." alias nau="nautilus ."
mkex() { chmod 700 $1 ; }
else else
alias school="c Documents/School/"
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
# echo "xrandr --output \"$output\" --rotate \"$dir\""
xrandr --output "$output" --rotate "$dir"
}
alias ow7="virtualbox startvm W7"
# alias ow7="VBoxManage startvm W7 --type headless"
alias mt="ok ~/Documents/School/136/calc-textbook.pdf"
alias rcg="c ~/Documents/coding/random-color-generator"
alias dcr="c ~/Documents/coding/dcr-logger"
chr() { google-chrome $1 ; } chr() { google-chrome $1 ; }
alias nem="nemo ." alias nem="nemo ."
# 207
alias 7r="c ~/Documents/School/207/group_0485"
alias ph1="c ~/Documents/School/207/group_0485/phase1"
alias spt="speedtest"
alias pg="ping -c 5 google.ca"
# 221
alias 221="c ~/Documents/School/221"
alias sch="c ~/Documents/School/"
alias 136="c ~/Documents/School/136"
alias mt="ok ~/Documents/School/136/calc-textbook.pdf"
alias 209="c ~/Documents/School/209"
alias psy="c ~/Documents/School/psy"
# 258
alias gob="c ~/Documents/School/258/going-bananas"
alias rcg="c ~/Documents/coding/random-color-generator"
alias dcr="c ~/Documents/coding/dcr-logger"
fi fi
# apps # apps
@ -53,7 +73,7 @@ alias vv="vi ~/.vimrc"
alias r=". ~/.bashrc" alias r=". ~/.bashrc"
# git # git
. ~/.secure
# . ~/.secure
alias gs="git status -u" alias gs="git status -u"
alias gpl="git pull --rebase" alias gpl="git pull --rebase"
alias grbc="git rebase --continue" alias grbc="git rebase --continue"

3
dotfiles/termConfig

@ -27,9 +27,8 @@
copy_on_selection = True copy_on_selection = True
cursor_color = "#b9b9b9" cursor_color = "#b9b9b9"
custom_command = env TERM=xterm-256color bash custom_command = env TERM=xterm-256color bash
font = Noto Mono 10
font = Noto Mono 9
foreground_color = "#0077ff" foreground_color = "#0077ff"
palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff" palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff"
scrollbar_position = hidden scrollbar_position = hidden
use_custom_command = True use_custom_command = True
use_system_font = False

0
set-from-git.sh

Loading…
Cancel
Save