Rotate function for home
- Speedtest/ping aliases - Make executable function
This commit is contained in:
@@ -23,24 +23,44 @@ if $in_lab; then
|
||||
ff() { firefox $1 ; }
|
||||
zip() { tar -zcvf $1.tar.gz $1/ ; }
|
||||
alias nau="nautilus ."
|
||||
else
|
||||
alias school="c Documents/School/"
|
||||
|
||||
alias mt="ok ~/Documents/School/136/calc-textbook.pdf"
|
||||
alias rcg="c ~/Documents/coding/random-color-generator"
|
||||
alias dcr="c ~/Documents/coding/dcr-logger"
|
||||
mkex() { chmod 700 $1 ; }
|
||||
else
|
||||
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"
|
||||
|
||||
chr() { google-chrome $1 ; }
|
||||
alias nem="nemo ."
|
||||
alias spt="speedtest"
|
||||
alias pg="ping -c 5 google.ca"
|
||||
|
||||
# 207
|
||||
alias 7r="c ~/Documents/School/207/group_0485"
|
||||
alias ph1="c ~/Documents/School/207/group_0485/phase1"
|
||||
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"
|
||||
|
||||
# 221
|
||||
alias 221="c ~/Documents/School/221"
|
||||
|
||||
# 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
|
||||
|
||||
# apps
|
||||
@@ -53,7 +73,7 @@ alias vv="vi ~/.vimrc"
|
||||
alias r=". ~/.bashrc"
|
||||
|
||||
# git
|
||||
. ~/.secure
|
||||
# . ~/.secure
|
||||
alias gs="git status -u"
|
||||
alias gpl="git pull --rebase"
|
||||
alias grbc="git rebase --continue"
|
||||
|
||||
@@ -27,9 +27,8 @@
|
||||
copy_on_selection = True
|
||||
cursor_color = "#b9b9b9"
|
||||
custom_command = env TERM=xterm-256color bash
|
||||
font = Noto Mono 10
|
||||
font = Noto Mono 9
|
||||
foreground_color = "#0077ff"
|
||||
palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff"
|
||||
scrollbar_position = hidden
|
||||
use_custom_command = True
|
||||
use_system_font = False
|
||||
|
||||
0
set-from-git.sh
Normal file → Executable file
0
set-from-git.sh
Normal file → Executable file
Reference in New Issue
Block a user