i3 shortcuts: media, open apps in certain ws
This commit is contained in:
@@ -32,7 +32,9 @@ alias cfg="d ~/.config"
|
||||
|
||||
ok() { okular $1 ; }
|
||||
rfnd() { find . -name "$1" ; }
|
||||
# rfnde() { find . -name "*.$1" ; }
|
||||
rgrp() { grep -r $1 * ; }
|
||||
grpy() { grep $1 *.py ; }
|
||||
p3() { python3 $1 ; }
|
||||
py() { python $1 ; }
|
||||
|
||||
|
||||
@@ -20,8 +20,9 @@ if [ "$(whoami)" == "kevin" ]; then
|
||||
alias ans="d /usr/local/android-studio/bin && ./studio.sh"
|
||||
alias cdn="$cd_coding_dir"
|
||||
alias tb="$cd_coding_dir/trapbot"
|
||||
alias vtb="$cd_coding_dir/trapbot && vi trapbot.py"
|
||||
alias ptb="python trapbot.py"
|
||||
alias vtb="$cd_coding_dir/trapbot && vi scan_reddit.py"
|
||||
alias ptb="python scan_reddit.py"
|
||||
alias rtb="$cd_coding_dir/trapbot && python scan_reddit.py"
|
||||
# }}} coding projs #
|
||||
|
||||
bl() { xbacklight -set $1 ; }
|
||||
@@ -72,7 +73,10 @@ if [ "$(hostname)" == "NZXT" ]; then
|
||||
# }}} apps #
|
||||
|
||||
# various coding projs {{{ #
|
||||
alias res="vi ~/Documents/resume/README.md"
|
||||
alias cv="d ~/Documents/resume/examples"
|
||||
alias cvf="d ~/Documents/resume/examples/cv"
|
||||
alias vcv="vi ~/Documents/resume/examples/cv.tex"
|
||||
alias okcv="ok ~/Documents/resume/examples/cv.pdf"
|
||||
alias sfa="d ~/Documents/self-authoring"
|
||||
alias rcg="$cd_coding_dir/random-color-generator"
|
||||
alias dcr="$cd_coding_dir/dcr-logger"
|
||||
|
||||
@@ -41,8 +41,9 @@ alias ll="ls -l"
|
||||
cd_209="d ~/Documents/School/209";
|
||||
alias 209="$cd_209"
|
||||
alias 9r="$cd_209/mokkar"
|
||||
alias l6="$cd_209/mokkar/lab6"
|
||||
alias 9a="$cd_209/mokkar/a2"
|
||||
alias l7="$cd_209/mokkar/lab7"
|
||||
alias m7="make childcreates && ./childcreates 3"
|
||||
alias 9a="$cd_209/mokkar/a3"
|
||||
# alias cdf="ssh -t mokkar@cdf.utoronto.ca '. ./.bashrc; bash -l'"
|
||||
alias cdf="echo \". ./.bashrc\"&& ssh mokkar@cdf.utoronto.ca"
|
||||
mkex() { chmod 777 $1 ; }
|
||||
@@ -75,10 +76,9 @@ run() {
|
||||
done < $1.in
|
||||
}
|
||||
# temp
|
||||
deb() {
|
||||
gdb ./print_ptree.out < "$1"
|
||||
}
|
||||
alias m3="make pfact && ./pfact 10"
|
||||
# }}}
|
||||
# }}}
|
||||
|
||||
alias 36a="$cd_school/236/a1"
|
||||
alias 36t="$cd_school && ok ../236-textbook.pdf"
|
||||
|
||||
Reference in New Issue
Block a user