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 ; }
|
ff() { firefox $1 ; }
|
||||||
zip() { tar -zcvf $1.tar.gz $1/ ; }
|
zip() { tar -zcvf $1.tar.gz $1/ ; }
|
||||||
alias nau="nautilus ."
|
alias nau="nautilus ."
|
||||||
else
|
|
||||||
alias school="c Documents/School/"
|
|
||||||
|
|
||||||
alias mt="ok ~/Documents/School/136/calc-textbook.pdf"
|
mkex() { chmod 700 $1 ; }
|
||||||
alias rcg="c ~/Documents/coding/random-color-generator"
|
else
|
||||||
alias dcr="c ~/Documents/coding/dcr-logger"
|
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 ; }
|
chr() { google-chrome $1 ; }
|
||||||
alias nem="nemo ."
|
alias nem="nemo ."
|
||||||
|
alias spt="speedtest"
|
||||||
# 207
|
alias pg="ping -c 5 google.ca"
|
||||||
alias 7r="c ~/Documents/School/207/group_0485"
|
|
||||||
alias ph1="c ~/Documents/School/207/group_0485/phase1"
|
|
||||||
|
|
||||||
# 221
|
alias sch="c ~/Documents/School/"
|
||||||
alias 221="c ~/Documents/School/221"
|
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 rcg="c ~/Documents/coding/random-color-generator"
|
||||||
alias gob="c ~/Documents/School/258/going-bananas"
|
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"
|
||||||
|
|||||||
@@ -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
Normal file → Executable file
0
set-from-git.sh
Normal file → Executable file
Reference in New Issue
Block a user