Compare commits
2 Commits
a4946bf75d
...
11681ecc9f
| Author | SHA1 | Date | |
|---|---|---|---|
| 11681ecc9f | |||
| 71017721bc |
@@ -6,7 +6,8 @@
|
||||
|
||||
# clear screen
|
||||
c "printf '\033c'"
|
||||
dn "cd ~/Downloads && printf '\033c'"
|
||||
d "cd ~/Downloads && printf '\033c'"
|
||||
# dn "cd ~/Downloads && printf '\033c'"
|
||||
# e "echo \$"
|
||||
hst "history"
|
||||
# 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"
|
||||
|
||||
kgpg "kill -9 gpg-agent && gpg-agent"
|
||||
|
||||
# system ]]]
|
||||
|
||||
# applications [[[ #
|
||||
@@ -515,7 +518,7 @@ wch "weechat"
|
||||
# wg "curl -L wthr.ml"
|
||||
wgm "curl -L wthr.ml/m"
|
||||
wgt "curl -L wthr.ml/t"
|
||||
yt "youtube-dl"
|
||||
yt "yt-dlp -vU"
|
||||
z "zathura --fork"
|
||||
|
||||
lz "unzip -l"
|
||||
@@ -1026,7 +1029,7 @@ cpsdv "cp * /home/kevin/Documents/stardew-valley-sdv-saves/hevintales"
|
||||
|
||||
# ]]] games #
|
||||
|
||||
# school [[[ #
|
||||
# work [[[ #
|
||||
|
||||
# basic
|
||||
# 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"
|
||||
ssc "mosh mokkar@teach.cs.utoronto.ca"
|
||||
|
||||
zs "zathura --fork syllabus.pdf"
|
||||
ttlo "timetrace start look@job"
|
||||
ttle "timetrace start leetcode@job"
|
||||
|
||||
pvabn "npm run serve:localhost"
|
||||
pvafn "npm run start:localhost"
|
||||
ssv "ssh -p 3022 kevin@127.0.0.1"
|
||||
|
||||
# ]]] school #
|
||||
# ]]] work #
|
||||
|
||||
# red-hat [[[ #
|
||||
|
||||
@@ -1071,7 +1071,7 @@ ghr "github-release"
|
||||
|
||||
# docker [[[ #
|
||||
|
||||
d "docker"
|
||||
do "docker"
|
||||
db "docker build"
|
||||
dc "docker-compose"
|
||||
dcu "docker-compose up -d"
|
||||
@@ -1231,6 +1231,7 @@ hu "helm upgrade"
|
||||
# ]]] helm #
|
||||
|
||||
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 #
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ me /run/media/kevin
|
||||
o /
|
||||
pd ~/.password-store
|
||||
pfp ~/Pictures/profile-pics
|
||||
pfpp ~/Pictures/profile-pics/profiles-by-moto
|
||||
P ~/Pictures
|
||||
ssu ~/Pictures/screenshots/desktop/unsorted
|
||||
std ~/st
|
||||
@@ -271,59 +272,6 @@ lt ~/school/latex-notes
|
||||
|
||||
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
|
||||
jh ~/school/job-hunt
|
||||
jhi ~/school/job-hunt/interview-questions
|
||||
|
||||
@@ -115,6 +115,7 @@ rm ~/Documents/red-hat/meeting.md
|
||||
rt ~/Documents/red-hat/todo.md
|
||||
|
||||
lip ~/Documents/linkedin/linkedin-profile.md
|
||||
jhi ~/school/job-hunt/info.md
|
||||
|
||||
# ]]] pey #
|
||||
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
# startup [[[ #
|
||||
|
||||
set $term kitty
|
||||
set $term_alt urxvt
|
||||
# set $term urxvt
|
||||
# set $term_alt kitty
|
||||
# set $term st
|
||||
# set $term_alt urxvt
|
||||
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||
set $term urxvt
|
||||
set $term_alt kitty
|
||||
# set $term_alt st
|
||||
# set $term_alt kitty
|
||||
set $term_alt st
|
||||
# set $term_alt urxvt
|
||||
exec dunst
|
||||
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 $ws5; exec $term -e twitchy'
|
||||
# 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'
|
||||
|
||||
# ]]] startup #
|
||||
@@ -420,10 +419,11 @@ workspace $ws6 output $secondary
|
||||
assign [class="Slack"] $ws6
|
||||
bindsym Mod4+d workspace $ws6; exec discord
|
||||
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+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 'tmux-attach weechat'
|
||||
|
||||
# ]]] ws6 #
|
||||
@@ -596,6 +596,7 @@ bar {
|
||||
# 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
|
||||
output $main
|
||||
# output $secondary
|
||||
wheel_up_cmd nop
|
||||
wheel_down_cmd nop
|
||||
}
|
||||
@@ -605,12 +606,13 @@ bar {
|
||||
# secondary bar [[[ #
|
||||
|
||||
bar {
|
||||
# output $main
|
||||
output $secondary
|
||||
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||
font pango:$sb_font 18
|
||||
{{ 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
|
||||
{{ end }}
|
||||
# output $main
|
||||
|
||||
@@ -52,33 +52,33 @@ label=ETH
|
||||
TICKER=ETHUSDC
|
||||
interval=30
|
||||
|
||||
# [kraken]
|
||||
# label=SOL
|
||||
# TICKER=SOLUSD
|
||||
# interval=30
|
||||
|
||||
# [kraken]
|
||||
# label=SEI
|
||||
# TICKER=SEIUSD
|
||||
# interval=30
|
||||
|
||||
[dexscreener]
|
||||
label=PIXL
|
||||
CHAIN=ethereum
|
||||
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
|
||||
[kraken]
|
||||
label=SOL
|
||||
TICKER=SOLUSD
|
||||
interval=30
|
||||
|
||||
# [dexscreener]
|
||||
# label=PIXL
|
||||
# CHAIN=ethereum
|
||||
# PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
|
||||
# interval=30
|
||||
|
||||
# [dexscreener]
|
||||
# label=BLAST
|
||||
# CHAIN=blast
|
||||
# PAIR=0x9A0AA28d999a21d3cf6F2703CDBba9FeAF4a32F7
|
||||
# interval=30
|
||||
|
||||
[dexscreener]
|
||||
label=LOCK
|
||||
CHAIN=solana
|
||||
PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
|
||||
interval=30
|
||||
# [dexscreener]
|
||||
# label=LOCK
|
||||
# CHAIN=solana
|
||||
# PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
|
||||
# interval=30
|
||||
|
||||
# [dexscreener]
|
||||
# label=FLT
|
||||
|
||||
@@ -15,13 +15,17 @@ Ctrl+RIGHT no-osd seek 0.2 exact
|
||||
Ctrl+LEFT no-osd seek -0.2 exact
|
||||
Shift+RIGHT 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
|
||||
DOWN seek -10 exact
|
||||
Shift+UP seek 60 exact
|
||||
Shift+DOWN seek -60 exact
|
||||
|
||||
# zoom
|
||||
Ctrl+- add video-zoom -0.25
|
||||
Ctrl+= add video-zoom 0.25
|
||||
|
||||
# mark
|
||||
m revert-seek mark # mark position for revert-seek
|
||||
Shift+m revert-seek
|
||||
|
||||
@@ -337,7 +337,7 @@ public_ip_host="http://ident.me"
|
||||
# 'Disk (/): 74G / 118G (66%)'
|
||||
#
|
||||
# disk_show=('/' '/home' '/mnt/linux-files' )
|
||||
disk_show=('/dev/sda1' '/dev/sda3' '/dev/sdc2' )
|
||||
disk_show=('/dev/sdc1' '/dev/sdc3' '/dev/sdd1' )
|
||||
|
||||
# Disk subtitle.
|
||||
# What to append to the Disk subtitle.
|
||||
|
||||
@@ -96,8 +96,11 @@ handle_extension() {
|
||||
jq --color-output '.' "${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
|
||||
}
|
||||
|
||||
|
||||
@@ -668,8 +668,8 @@ set preview_images true
|
||||
# The same as urxvt but utilizing not only the preview pane but the
|
||||
# whole terminal window.
|
||||
# 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-full
|
||||
|
||||
|
||||
@@ -233,27 +233,8 @@ Plug 'Kevin-Mok/vim-snippets'
|
||||
Plug 'ervandew/supertab'
|
||||
" make YCM compatible with UltiSnips (using supertab)
|
||||
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
|
||||
" arc
|
||||
@@ -367,8 +348,8 @@ Plug 'jidn/vim-dbml'
|
||||
call plug#end()
|
||||
|
||||
{{ if .gui }}
|
||||
" colorscheme wal
|
||||
" autocmd vimenter * ++nested colorscheme gruvbox
|
||||
" colorscheme wal
|
||||
colorscheme nightfly
|
||||
{{ else }}
|
||||
colorscheme gotham256
|
||||
|
||||
5
txt/terminal-art.txt
Normal file
5
txt/terminal-art.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
- cmatrix
|
||||
- pipes.sh
|
||||
- jp2a
|
||||
- {pacman,invaders,colors}.sh, c screenfetch, archy, toilet/figlet, doge, etc.
|
||||
- cbonsai
|
||||
Reference in New Issue
Block a user