diff --git a/README.md b/README.md index 4668461..1d06b0d 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@ are also for my Linux ## 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) diff --git a/aliases/zsh_aliases b/aliases/zsh_aliases index b0b26b1..7bc2360 100644 --- a/aliases/zsh_aliases +++ b/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" diff --git a/configs/i3/config b/configs/i3/config index 55a00d2..6104222 100644 --- a/configs/i3/config +++ b/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 diff --git a/configs/ranger/rc.conf b/configs/ranger/rc.conf index f3dfbfb..46de247 100644 --- a/configs/ranger/rc.conf +++ b/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 diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 937dc4e..3be2b88 100644 --- a/dotfiles/.vimrc +++ b/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 diff --git a/scripts/bg-chooser b/scripts/bg-chooser index 6f3f93e..f899f75 100755 --- a/scripts/bg-chooser +++ b/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 diff --git a/txt/ideas.txt b/txt/ideas.txt index 7081ae8..0ef75d7 100644 --- a/txt/ideas.txt +++ b/txt/ideas.txt @@ -1 +1,2 @@ - nnn +- set (control+)alt+w to choose brightness/editing diff --git a/txt/key_dirs.txt b/txt/key_dirs.txt index 3c25bee..4c69e62 100644 --- a/txt/key_dirs.txt +++ b/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 * diff --git a/txt/key_files.txt b/txt/key_files.txt index 922fb50..55a8f4e 100644 --- a/txt/key_files.txt +++ b/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