Browse Source

Update

red-hat-laptop
Kevin Mok 6 years ago
parent
commit
8abe351a9e
Signed by: Kevin-Mok GPG Key ID: AEA75288DC135CF5
  1. 1
      README.md
  2. 11
      aliases/zsh_aliases
  3. 4
      configs/i3/config
  4. 3
      configs/ranger/rc.conf
  5. 3
      dotfiles/.vimrc
  6. 2
      scripts/bg-chooser
  7. 1
      txt/ideas.txt
  8. 8
      txt/key_dirs.txt
  9. 3
      txt/key_files.txt

1
README.md

@ -12,7 +12,6 @@ are also for my Linux
<!--- Main Programs {{{ -->
## Main Programs
* **OS**: [Arch Linux](https://www.archlinux.org/) ([packages](txt/nzxt-pkgs.txt))
* 15s boot time, 25s restart time on an SSD. :smiley:
* **Terminal**: [rxvt-unicode-pixbuf](https://www.wikiwand.com/en/Rxvt)
* **Shell**: [Zsh](http://zsh.sourceforge.net/) + [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
* **Window Manager**: [i3-gaps](https://github.com/Airblader/i3)

11
aliases/zsh_aliases

@ -143,6 +143,7 @@ alias vlh="alsamixer -c 2"
# alias aptu="sudo apt upgrade"
alias pc="sudo pacman -S"
alias pcr="sudo pacman -Rs"
alias pcu="sudo pacman -Sy"
alias xpc="pacman -Qqe > ~/linux-config/txt/pacman-pkgs/nzxt-pkgs.txt"
# alias tri="trizen -S --noconfirm"
alias tri="trizen -S"
@ -176,9 +177,10 @@ alias clc="cloc ."
function z() { nohup zathura $1 > /dev/null 2>&1& ; }
function ev() { nohup evince $1 > /dev/null 2>&1& ; }
function chr() { google-chrome $1 ; }
alias ni="nvim"
alias n="nvim"
alias sni="sudo nvim"
function mrk() { pandoc -o ${1%.*}.html $1 ; }
alias wp="grep wallpaper ~/.cache/wal/colors.sh"
# auto-clicker {{{ #
@ -203,6 +205,8 @@ alias rx="redshift -x"
alias gpe="gpg --encrypt --recipient"
alias gpd="gpg --decrypt"
# pass {{{ #
alias ps="pass"
alias psc="pass -c"
alias pse="pass edit"
@ -215,11 +219,11 @@ alias yg="xclip -selection clipboard ~/.password-store/social/gmail"
alias yt="xclip -selection clipboard ~/.password-store/social/trapbot"
alias yu="echo 'kevin.mok@mail.utoronto.ca' | xclip -selection clipboard"
# python related {{{ #
# }}} pass #
function grpy() { grep $1 *.py ; }
alias p3="python3"
alias py="python"
# }}} python related #
# }}} applications #
@ -253,7 +257,6 @@ alias gheadm1="git reset --hard HEAD~1"
alias gls="git ls-tree -r HEAD --name-only"
# push {{{ #
alias vcm="ni commit-msg.txt"
alias gst="git stash"
alias gstp="git stash pop"

4
configs/i3/config

@ -7,7 +7,7 @@ exec redshift -O 2000
# exec redshift -O 3000
# random bg
exec compton
exec wal -i "$HOME/Pictures/Backgrounds/dim"
exec wal -i "$HOME/Pictures/Backgrounds/dim/non-editing"
exec imwheel
exec xmodmap ~/.Xmodmap
exec xrdb ~/.Xresources
@ -44,6 +44,8 @@ bindsym Mod4+r exec urxvt -e ranger
bindsym control+$mod+s exec systemctl suspend
bindsym Mod4+t exec st
bindsym Mod4+u exec echo 'kevin.mok@mail.utoronto.ca' | xclip -selection clipboard
bindsym Mod4+$mod+u exec pass -c uoft/acorn
# bindsym Mod4+x exec $swex
# bindsym Mod4+x exec xmodmap ~/.Xmodmap
bindsym Mod4+z exec cliqz

3
configs/ranger/rc.conf

@ -684,4 +684,7 @@ map bn shell mv %f non-editing
# bulk rename
map cw eval fm.execute_console("bulkrename") if fm.thisdir.marked_items else fm.open_console("rename ")
map zu shell unzip %f
map zr shell unzip %f && rm %f
# map gr fzf_select

3
dotfiles/.vimrc

@ -12,7 +12,8 @@ set linebreak
" set colorcolumn=80
set shiftwidth=4
set autoindent
set mouse=c
" set mouse=c
set mouse=a
set clipboard+=unnamedplus
set foldmethod=marker
set linespace=5

2
scripts/bg-chooser

@ -3,7 +3,7 @@
base_bg_path="/home/kevin/Pictures/Backgrounds"
brightness_choice=$(echo -e "dim\nbright" | dmenu -i)
EDITING_CHOICES=("editing" "non-editing")
EDITING_CHOICES=("non-editing" "editing")
editing_choice=$(echo -e "${EDITING_CHOICES[0]}\n${EDITING_CHOICES[1]}" | dmenu -i)
if [[ "$editing_choice" = "${EDITING_CHOICES[1]}" ]]; then

1
txt/ideas.txt

@ -1 +1,2 @@
- nnn
- set (control+)alt+w to choose brightness/editing

8
txt/key_dirs.txt

@ -33,8 +33,12 @@ wo /home/kevin/Documents/workout-logs/11
# sch {{{ *
sc /home/kevin/school
8a /home/kevin/school/latex-notes/318
8r /home/kevin/school/318
0 /home/kevin/school/309
e1 /home/kevin/school/309/e1
6 /home/kevin/school/369
a1 /home/kevin/school/369/a1/
hp /home/kevin/school/hps
ph /home/kevin/school/phl
lt /home/kevin/school/latex-notes
# }}} sch *

3
txt/key_files.txt

@ -17,12 +17,13 @@ z /home/kevin/linux-config/aliases/zsh_aliases
# cdn {{{ *
cm ./commit-msg.txt
hlg /home/kevin/coding/spotify-lib-vis/src/api/management/commands/update-history.log
id /home/kevin/coding/project-ideas/ideas.md
ig ./.gitignore
jn /home/kevin/Documents/journal/todo/1.md
jt /home/kevin/Documents/journal/todo/todo.md
lh /home/kevin/Documents/listening-history/polarbier.csv
no ./.gitignore
ne /home/kevin/linux-config/configs/neofetch/config.conf
tm /home/kevin/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets

Loading…
Cancel
Save