2 Commits

  1. 21
      aliases/key_aliases.tmpl
  2. 54
      aliases/key_dirs.tmpl
  3. 1
      aliases/key_files.tmpl
  4. 20
      dot_config/i3/config.tmpl
  5. 28
      dot_config/i3blocks/i3blocks.conf.tmpl
  6. 8
      dot_config/mpv/input.conf
  7. 2
      dot_config/neofetch/config.conf
  8. 7
      dot_config/ranger/executable_scope.sh
  9. 4
      dot_config/ranger/rc.conf.tmpl
  10. 25
      dot_vimrc.tmpl
  11. 5
      txt/terminal-art.txt

21
aliases/key_aliases.tmpl

@ -6,7 +6,8 @@
# clear screen # clear screen
c "printf '\033c'" c "printf '\033c'"
dn "cd ~/Downloads && printf '\033c'"
d "cd ~/Downloads && printf '\033c'"
# dn "cd ~/Downloads && printf '\033c'"
# e "echo \$" # e "echo \$"
hst "history" hst "history"
# nft "printf '\033c' && neofetch | lolcat" # nft "printf '\033c' && neofetch | lolcat"
@ -335,6 +336,8 @@ mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install"
mlf2 "sudo mount /dev/sdd1 /mnt/linux-files-2" mlf2 "sudo mount /dev/sdd1 /mnt/linux-files-2"
kgpg "kill -9 gpg-agent && gpg-agent"
# system ]]] # system ]]]
# applications [[[ # # applications [[[ #
@ -515,7 +518,7 @@ wch "weechat"
# wg "curl -L wthr.ml" # wg "curl -L wthr.ml"
wgm "curl -L wthr.ml/m" wgm "curl -L wthr.ml/m"
wgt "curl -L wthr.ml/t" wgt "curl -L wthr.ml/t"
yt "youtube-dl"
yt "yt-dlp -vU"
z "zathura --fork" z "zathura --fork"
lz "unzip -l" lz "unzip -l"
@ -1026,7 +1029,7 @@ cpsdv "cp * /home/kevin/Documents/stardew-valley-sdv-saves/hevintales"
# ]]] games # # ]]] games #
# school [[[ #
# work [[[ #
# basic # basic
# wlf "watson log --all --tag=final" # wlf "watson log --all --tag=final"
@ -1034,13 +1037,10 @@ cpsdv "cp * /home/kevin/Documents/stardew-valley-sdv-saves/hevintales"
gpa "column -ts',' ~/Documents/gpa.md" gpa "column -ts',' ~/Documents/gpa.md"
ssc "mosh mokkar@teach.cs.utoronto.ca" ssc "mosh mokkar@teach.cs.utoronto.ca"
zs "zathura --fork syllabus.pdf"
pvabn "npm run serve:localhost"
pvafn "npm run start:localhost"
ssv "ssh -p 3022 kevin@127.0.0.1"
ttlo "timetrace start look@job"
ttle "timetrace start leetcode@job"
# ]]] school #
# ]]] work #
# red-hat [[[ # # red-hat [[[ #
@ -1071,7 +1071,7 @@ ghr "github-release"
# docker [[[ # # docker [[[ #
d "docker"
do "docker"
db "docker build" db "docker build"
dc "docker-compose" dc "docker-compose"
dcu "docker-compose up -d" dcu "docker-compose up -d"
@ -1231,6 +1231,7 @@ hu "helm upgrade"
# ]]] helm # # ]]] helm #
zr "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume.pdf" zr "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume.pdf"
zrw "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume-web-dev.pdf"
# ]]] red-hat # # ]]] red-hat #

54
aliases/key_dirs.tmpl

@ -25,6 +25,7 @@ me /run/media/kevin
o / o /
pd ~/.password-store pd ~/.password-store
pfp ~/Pictures/profile-pics pfp ~/Pictures/profile-pics
pfpp ~/Pictures/profile-pics/profiles-by-moto
P ~/Pictures P ~/Pictures
ssu ~/Pictures/screenshots/desktop/unsorted ssu ~/Pictures/screenshots/desktop/unsorted
std ~/st std ~/st
@ -271,59 +272,6 @@ lt ~/school/latex-notes
ltc ~/coding/leetcode ltc ~/coding/leetcode
# 494 [[[ #
4 ~/school/494
4d ~/school/494/design
4dm ~/school/494/design/meetings
4dp ~/school/494/design/provotu
4p ~/school/494/papers
vt ~/coding/dao-voting
ovn ~/coding/dao-voting/anonymousvoting/contracts
# provotum [[[ #
pv ~/coding/dao-voting/provotum-v2
pva ~/coding/dao-voting/provotum-v2/voting-authority
pvab ~/coding/dao-voting/provotum-v2/voting-authority/backend
pvaf ~/coding/dao-voting/provotum-v2/voting-authority/frontend
pvac ~/coding/dao-voting/provotum-v2/access-provider-backend
pvf ~/coding/dao-voting/provotum-v2/voter-frontend/src
pvc ~/coding/dao-voting/provotum-v2/contracts/contracts/FiniteField
pvs ~/coding/dao-voting/provotum-v2/sealer
pvsb ~/coding/dao-voting/provotum-v2/sealer/backend/src
pvsf ~/coding/dao-voting/provotum-v2/sealer/frontend/src
pvs1 /mnt/linux-files-2/coding/dao-voting/sealer-1/sealer/backend
pvs1f /mnt/linux-files-2/coding/dao-voting/sealer-1/sealer/frontend
pvs2 /mnt/linux-files-2/coding/dao-voting/sealer-2/sealer/backend
pvs2f /mnt/linux-files-2/coding/dao-voting/sealer-2/sealer/frontend
pvs3 /mnt/linux-files-2/coding/dao-voting/sealer-3/sealer/backend
pvs3f /mnt/linux-files-2/coding/dao-voting/sealer-3/sealer/frontend
pvg ~/coding/dao-voting/pv-ganache
bd ~/coding/dao-voting/besu-deploy
gt ~/coding/dao-voting/ganache-tx
# ]]] provotum #
# ]]] 494 #
# ess [[[ #
e ~/school/ess
en ~/school/ess/notes
er ~/school/ess/rough-draft
ern ~/school/ess/rough-draft/notes
ei ~/school/ess/individ-map
es ~/school/ess/story
# ess ]]] #
arc ~/school/arc
egy ~/school/egypt
ggr ~/school/ggr
ggra ~/school/ggr/assignments/a1
jf ~/school/job-fair jf ~/school/job-fair
jh ~/school/job-hunt jh ~/school/job-hunt
jhi ~/school/job-hunt/interview-questions jhi ~/school/job-hunt/interview-questions

1
aliases/key_files.tmpl

@ -115,6 +115,7 @@ rm ~/Documents/red-hat/meeting.md
rt ~/Documents/red-hat/todo.md rt ~/Documents/red-hat/todo.md
lip ~/Documents/linkedin/linkedin-profile.md lip ~/Documents/linkedin/linkedin-profile.md
jhi ~/school/job-hunt/info.md
# ]]] pey # # ]]] pey #

20
dot_config/i3/config.tmpl

@ -1,14 +1,12 @@
# startup [[[ # # startup [[[ #
set $term kitty set $term kitty
set $term_alt urxvt
# set $term urxvt
# set $term_alt kitty
# set $term st # set $term st
# set $term_alt urxvt
{{ if eq .chezmoi.hostname "x1-carbon" }} {{ if eq .chezmoi.hostname "x1-carbon" }}
set $term urxvt set $term urxvt
set $term_alt kitty
# set $term_alt st
# set $term_alt kitty
set $term_alt st
# set $term_alt urxvt # set $term_alt urxvt
exec dunst exec dunst
exec compton exec compton
@ -24,7 +22,8 @@ exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/editi
exec --no-startup-id i3-msg 'workspace $ws3; exec $browser' exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
# exec --no-startup-id i3-msg 'workspace $ws5; exec $term -e twitchy' # exec --no-startup-id i3-msg 'workspace $ws5; exec $term -e twitchy'
# exec --no-startup-id i3-msg 'workspace $ws5; exec firefox -P nft' # exec --no-startup-id i3-msg 'workspace $ws5; exec firefox -P nft'
# exec --no-startup-id i3-msg workspace $ws6; exec discord
exec --no-startup-id i3-msg workspace $ws6; exec discord
exec --no-startup-id i3-msg 'workspace $ws6; exec signal-desktop'
# exec --no-startup-id i3-msg workspace $ws1; exec $term -e fish -c 'tmux-attach school' # exec --no-startup-id i3-msg workspace $ws1; exec $term -e fish -c 'tmux-attach school'
# ]]] startup # # ]]] startup #
@ -420,10 +419,11 @@ workspace $ws6 output $secondary
assign [class="Slack"] $ws6 assign [class="Slack"] $ws6
bindsym Mod4+d workspace $ws6; exec discord bindsym Mod4+d workspace $ws6; exec discord
bindsym Mod4+$mod+d workspace $ws6; exec element-desktop bindsym Mod4+$mod+d workspace $ws6; exec element-desktop
bindsym Mod4+i workspace $ws6; exec signal-desktop
# bindsym Mod4+d workspace $ws6; exec firefox -new-window https://riot.im/app # bindsym Mod4+d workspace $ws6; exec firefox -new-window https://riot.im/app
bindsym Mod4+k workspace $ws6; exec slack bindsym Mod4+k workspace $ws6; exec slack
# bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'mosh kmok@$work_laptop_ip -- tmux a -t weechat' # bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'mosh kmok@$work_laptop_ip -- tmux a -t weechat'
bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'mosh kmok@$work_laptop_ip -- tmux a -t weechat'
# bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'mosh kmok@$work_laptop_ip -- tmux a -t weechat'
# bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'tmux-attach weechat' # bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'tmux-attach weechat'
# ]]] ws6 # # ]]] ws6 #
@ -596,6 +596,7 @@ bar {
# status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf # status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
status_command 2>/tmp/i3blocks.err i3blocks -vvv -c ~/.config/i3blocks/i3blocks.conf | tee /tmp/i3blocks.out status_command 2>/tmp/i3blocks.err i3blocks -vvv -c ~/.config/i3blocks/i3blocks.conf | tee /tmp/i3blocks.out
output $main output $main
# output $secondary
wheel_up_cmd nop wheel_up_cmd nop
wheel_down_cmd nop wheel_down_cmd nop
} }
@ -605,12 +606,13 @@ bar {
# secondary bar [[[ # # secondary bar [[[ #
bar { bar {
# output $main
output $secondary output $secondary
{{ if eq .chezmoi.hostname "x1-carbon" }} {{ if eq .chezmoi.hostname "x1-carbon" }}
font pango:$sb_font 18 font pango:$sb_font 18
{{ else }} {{ else }}
font pango:$sb_font 21
# font pango:$sb_font 20
# font pango:$sb_font 21
font pango:$sb_font 20
# font pango:$sb_font 17 # font pango:$sb_font 17
{{ end }} {{ end }}
# output $main # output $main

28
dot_config/i3blocks/i3blocks.conf.tmpl

@ -52,33 +52,33 @@ label=ETH
TICKER=ETHUSDC TICKER=ETHUSDC
interval=30 interval=30
# [kraken]
# label=SOL
# TICKER=SOLUSD
# interval=30
# [kraken] # [kraken]
# label=SEI # label=SEI
# TICKER=SEIUSD # TICKER=SEIUSD
# interval=30 # interval=30
[dexscreener]
label=PIXL
CHAIN=ethereum
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
[kraken]
label=SOL
TICKER=SOLUSD
interval=30 interval=30
# [dexscreener]
# label=PIXL
# CHAIN=ethereum
# PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
# interval=30
# [dexscreener] # [dexscreener]
# label=BLAST # label=BLAST
# CHAIN=blast # CHAIN=blast
# PAIR=0x9A0AA28d999a21d3cf6F2703CDBba9FeAF4a32F7 # PAIR=0x9A0AA28d999a21d3cf6F2703CDBba9FeAF4a32F7
# interval=30 # interval=30
[dexscreener]
label=LOCK
CHAIN=solana
PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
interval=30
# [dexscreener]
# label=LOCK
# CHAIN=solana
# PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
# interval=30
# [dexscreener] # [dexscreener]
# label=FLT # label=FLT

8
dot_config/mpv/input.conf

@ -15,13 +15,17 @@ Ctrl+RIGHT no-osd seek 0.2 exact
Ctrl+LEFT no-osd seek -0.2 exact Ctrl+LEFT no-osd seek -0.2 exact
Shift+RIGHT no-osd seek 1 exact Shift+RIGHT no-osd seek 1 exact
Shift+LEFT no-osd seek -1 exact Shift+LEFT no-osd seek -1 exact
RIGHT seek 3 exact
LEFT seek -3 exact
RIGHT seek 5 exact
LEFT seek -5 exact
UP seek 10 exact UP seek 10 exact
DOWN seek -10 exact DOWN seek -10 exact
Shift+UP seek 60 exact Shift+UP seek 60 exact
Shift+DOWN seek -60 exact Shift+DOWN seek -60 exact
# zoom
Ctrl+- add video-zoom -0.25
Ctrl+= add video-zoom 0.25
# mark # mark
m revert-seek mark # mark position for revert-seek m revert-seek mark # mark position for revert-seek
Shift+m revert-seek Shift+m revert-seek

2
dot_config/neofetch/config.conf

@ -337,7 +337,7 @@ public_ip_host="http://ident.me"
# 'Disk (/): 74G / 118G (66%)' # 'Disk (/): 74G / 118G (66%)'
# #
# disk_show=('/' '/home' '/mnt/linux-files' ) # disk_show=('/' '/home' '/mnt/linux-files' )
disk_show=('/dev/sda1' '/dev/sda3' '/dev/sdc2' )
disk_show=('/dev/sdc1' '/dev/sdc3' '/dev/sdd1' )
# Disk subtitle. # Disk subtitle.
# What to append to the Disk subtitle. # What to append to the Disk subtitle.

7
dot_config/ranger/executable_scope.sh

@ -96,8 +96,11 @@ handle_extension() {
jq --color-output '.' "${FILE_PATH}" && exit 5 jq --color-output '.' "${FILE_PATH}" && exit 5
python -m json.tool -- "${FILE_PATH}" && exit 5 python -m json.tool -- "${FILE_PATH}" && exit 5
# txt)
# cat "${FILE_PATH}" && exit 5
js)
bat "${FILE_PATH}" && exit 5
txt)
bat "${FILE_PATH}" && exit 5
esac esac
} }

4
dot_config/ranger/rc.conf.tmpl

@ -668,8 +668,8 @@ set preview_images true
# The same as urxvt but utilizing not only the preview pane but the # The same as urxvt but utilizing not only the preview pane but the
# whole terminal window. # whole terminal window.
# set preview_images_method w3m # set preview_images_method w3m
# set preview_images_method ueberzug
set preview_images_method kitty
set preview_images_method ueberzug
# set preview_images_method kitty
# set preview_images_method urxvt # set preview_images_method urxvt
# set preview_images_method urxvt-full # set preview_images_method urxvt-full

25
dot_vimrc.tmpl

@ -233,27 +233,8 @@ Plug 'Kevin-Mok/vim-snippets'
Plug 'ervandew/supertab' Plug 'ervandew/supertab'
" make YCM compatible with UltiSnips (using supertab) " make YCM compatible with UltiSnips (using supertab)
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>'] let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
let g:SuperTabDefaultCompletionType = '<C-n>'
" easily comment/uncomment lines
Plug 'scrooloose/nerdcommenter'
let g:NERDTrimTrailingWhitespace = 1
let g:NERDSpaceDelims = 1
" add quotes/brackets around chunks of text easily
Plug 'tpope/vim-surround'
nmap S ys
" navigate around file easily and precisely
Plug 'easymotion/vim-easymotion'
map <Space> <Plug>(easymotion-prefix)
" status bar displaying various info about the current buffer
Plug 'vim-airline/vim-airline'
let g:airline_section_c = '%F'
Plug 'vim-airline/vim-airline-themes'
let g:airline_powerline_fonts = 1
let g:airline_powerline_fonts = 1
let g:airline_theme='supernova'
" continue Markdown lists when started " continue Markdown lists when started
" arc " arc
@ -367,8 +348,8 @@ Plug 'jidn/vim-dbml'
call plug#end() call plug#end()
{{ if .gui }} {{ if .gui }}
" colorscheme wal
" autocmd vimenter * ++nested colorscheme gruvbox " autocmd vimenter * ++nested colorscheme gruvbox
" colorscheme wal
colorscheme nightfly colorscheme nightfly
{{ else }} {{ else }}
colorscheme gotham256 colorscheme gotham256

5
txt/terminal-art.txt

@ -0,0 +1,5 @@
- cmatrix
- pipes.sh
- jp2a
- {pacman,invaders,colors}.sh, c screenfetch, archy, toilet/figlet, doge, etc.
- cbonsai
Loading…
Cancel
Save