1 Commits

Author SHA1 Message Date
75aad7ac66 Docker aliases 2024-05-22 19:07:09 +00:00
17 changed files with 185 additions and 413 deletions

View File

@@ -7,7 +7,6 @@
# clear screen # clear screen
c "printf '\033c'" c "printf '\033c'"
d "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"
@@ -53,7 +52,7 @@ ngb "sudo nvim /etc/default/grub"
mgb "sudo grub-mkconfig -o /boot/grub/grub.cfg" mgb "sudo grub-mkconfig -o /boot/grub/grub.cfg"
# a "bat" # a "bat"
b "bat" b "batcat"
# ba "bat *" # ba "bat *"
awkp "awk -F',' '{print \$0}'" awkp "awk -F',' '{print \$0}'"
cpr "cp -r" cpr "cp -r"
@@ -125,7 +124,7 @@ ssl "mosh --ssh='ssh -p 399' kevin@$LAPTOP_IP"
# vultr # vultr
# ssa "mosh atxadmin@45.32.87.10" # ssa "mosh atxadmin@45.32.87.10"
ssa "ssh -t kevin@3.147.85.36 tmux a" ssa "ssh kevin@18.223.241.198"
# ssv "mosh kevin@45.32.87.10" # ssv "mosh kevin@45.32.87.10"
# test server sites # test server sites
@@ -162,7 +161,6 @@ l "lsd -F --group-dirs first"
la "lsd -AF --group-dirs first" la "lsd -AF --group-dirs first"
ld "lsd -F --group-dirs first -d */" ld "lsd -F --group-dirs first -d */"
ll "lsd -lF --group-dirs first --size short" ll "lsd -lF --group-dirs first --size short"
llb "lsd -lF --group-dirs first --size short | bat"
lld "lsd -lF --group-dirs first --size short -d */" lld "lsd -lF --group-dirs first --size short -d */"
lls "lsd -lF --group-dirs first --size short -Sr" lls "lsd -lF --group-dirs first --size short -Sr"
llt "lsd -lF --group-dirs first --size short -tr" llt "lsd -lF --group-dirs first --size short -tr"
@@ -191,7 +189,7 @@ rsy "rsync --ignore-existing -Ptr"
lhd "sudo fdisk -l" lhd "sudo fdisk -l"
# get disc space for mounted drives # get disc space for mounted drives
# ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null" # ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null"
dsp "df -h | head -n 1 && df -h | grep sd" # ds "df -h | head -n 1 && df -h | grep sd"
chownw "sudo chown -R kevin:wheel" chownw "sudo chown -R kevin:wheel"
chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}" chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}"
# cd into backup folder and show backup sizes # cd into backup folder and show backup sizes
@@ -334,10 +332,6 @@ id "identify"
mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install" mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install"
# mst "sudo ~/st/make-st.sh" # mst "sudo ~/st/make-st.sh"
mlf2 "sudo mount /dev/sdd1 /mnt/linux-files-2"
kgpg "kill -9 gpg-agent && gpg-agent"
# system ]]] # system ]]]
# applications [[[ # # applications [[[ #
@@ -416,7 +410,7 @@ cht "chatterino"
clc "cloc . --vcs=git" clc "cloc . --vcs=git"
cm "compton &" cm "compton &"
cv "cava" cv "cava"
dg "dragon-drop -x" dg "dragon-drag-and-drop -x"
fx "firefox -P" fx "firefox -P"
fxd "firefox -P default" fxd "firefox -P default"
fxw "firefox -P work" fxw "firefox -P work"
@@ -501,7 +495,7 @@ tc "clear && tmux clear-history"
# tk "tmux kill-server" # tk "tmux kill-server"
tks "tmux kill-session -t" tks "tmux kill-session -t"
tksv "tmux kill-server" tksv "tmux kill-server"
tls "tmux ls" tl "tmux ls"
tn "tmux new -s" tn "tmux new -s"
tnb "tmux new -s backup" tnb "tmux new -s backup"
#]]] #]]]
@@ -509,7 +503,6 @@ usn "usernames --num 20"
vmd "vimdiff" vmd "vimdiff"
# wg "wego" # wg "wego"
ytd "youtube-dl" ytd "youtube-dl"
wal "wal -i"
wc "wc -l" wc "wc -l"
wcw "wc -w" wcw "wc -w"
wch "weechat" wch "weechat"
@@ -518,7 +511,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 "yt-dlp -vU" yt "youtube-dl"
z "zathura --fork" z "zathura --fork"
lz "unzip -l" lz "unzip -l"
@@ -535,7 +528,7 @@ pi "pass insert -m"
pg "pass generate -c" pg "pass generate -c"
ps "pass show" ps "pass show"
psi "pass show info | bat" psi "pass show info | bat"
pev "pass edit finances/visa-cash" pev "pass edit finances/visa"
xc "xclip -selection clipboard" xc "xclip -selection clipboard"
xo "xclip -o >" xo "xclip -o >"
@@ -645,8 +638,7 @@ gmgt "git mergetool"
gr "git remote -v" gr "git remote -v"
gra "git remote add origin" gra "git remote add origin"
grao "git remote add orig" grao "git remote add orig"
# grag "git remote add gitea ssh://git@git.kevin-mok.com:399/Kevin-Mok/" grag "git remote add gitea ssh://git@git.kevin-mok.com:399/Kevin-Mok/"
grag "git remote add github"
grr "git remote remove origin" grr "git remote remove origin"
gru "git branch --set-upstream-to=origin/main main" gru "git branch --set-upstream-to=origin/main main"
@@ -772,8 +764,7 @@ psgi "git add -A && git commit -m 'Update' -S && git push"
gps "git push" gps "git push"
gpso "git push origin" gpso "git push origin"
gpsoh "git push -f origin HEAD:" gpsoh "git push -f origin HEAD:"
# gpsg "git push gitea" gpsg "git push gitea"
gpsg "git push github"
gpsk "git push kevin" gpsk "git push kevin"
gpsdl "git push origin --delete" gpsdl "git push origin --delete"
# gpsi "git config credential.helper store && git push" # gpsi "git config credential.helper store && git push"
@@ -1029,7 +1020,7 @@ cpsdv "cp * /home/kevin/Documents/stardew-valley-sdv-saves/hevintales"
# ]]] games # # ]]] games #
# work [[[ # # school [[[ #
# basic # basic
# wlf "watson log --all --tag=final" # wlf "watson log --all --tag=final"
@@ -1037,10 +1028,13 @@ 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"
ttlo "timetrace start look@job" zs "zathura --fork syllabus.pdf"
ttle "timetrace start leetcode@job"
# ]]] work # pvabn "npm run serve:localhost"
pvafn "npm run start:localhost"
ssv "ssh -p 3022 kevin@127.0.0.1"
# ]]] school #
# red-hat [[[ # # red-hat [[[ #
@@ -1069,77 +1063,48 @@ sfw "sftp $WORK_LAPTOP_IP"
fp "fpaste" fp "fpaste"
ghr "github-release" ghr "github-release"
# docker [[[ # # oc [[[ #
do "docker" o "kubectl"
db "docker build" oa "kubectl apply -f"
dc "docker-compose" ocr "kubectl create"
dcu "docker-compose up -d" ocf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito"
dcd "docker-compose down" oct "kubectx"
di "docker image" od "kubectl describe"
dli "docker image list" odd "kubectl describe deployment"
dk "docker kill" odp "kubectl describe pod"
dka "docker kill \$(docker ps -q)" odi "kubectl describe kogitoinfra"
dl "docker ps" odr "kubectl describe kogitoruntime"
dp "docker push" odl "kubectl delete"
dr "docker run" odlf "kubectl delete -f"
drm "docker remove" odlb "kubectl delete kogitobuild"
drmi "docker rmi -f" odlc "kubectl delete configmap"
dst "docker stop" odlp "kubectl delete pod"
odlpj "kubectl delete project"
odlr "kubectl delete kogitoruntime"
oex "kubectl exec"
oed "kubectl edit"
og "kubectl get"
oga "kubectl get all"
ogd "kubectl get deployment"
ogp "kubectl get pods"
ogw "watch kubectl get pods"
ogb "kubectl get kogitobuild"
ogc "kubectl get configmap"
ogi "kubectl get imagestream"
ogn "kubectl get"
ogr "kubectl get kogitoruntime"
ogs "kubectl get service"
ogsm "kubectl get servicemonitor"
ol "kubectl logs -f"
oli "kubectl login -u kubeadmin -p"
on "kubectl new-project"
op "kubectl project"
opa "kubectl projects | rg kogito"
opd "kubectl project default"
ot "kubectl status"
# ]]] docker # # ]]] oc #
# kubectl [[[ #
k "kubectl"
ka "kubectl apply -f"
kcr "kubectl create"
kcf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito"
kct "kubectx"
kd "kubectl describe"
kdd "kubectl describe deployment"
kdp "kubectl describe pod"
kdi "kubectl describe kogitoinfra"
kdr "kubectl describe kogitoruntime"
kdl "kubectl delete"
kdlf "kubectl delete -f"
kdlb "kubectl delete kogitobuild"
kdlc "kubectl delete configmap"
kdld "kubectl delete deployment"
kdlp "kubectl delete pod"
kdlpj "kubectl delete project"
kdlr "kubectl delete kogitoruntime"
kex "kubectl exec"
ked "kubectl edit"
kg "kubectl get"
kga "kubectl get all"
kgd "kubectl get deployment"
kgp "kubectl get pods"
wkp "watch kubectl get pods"
kgb "kubectl get kogitobuild"
kgc "kubectl get configmap"
kgi "kubectl get imagestream"
kgn "kubectl get"
kgr "kubectl get kogitoruntime"
kgs "kubectl get service"
kgsm "kubectl get servicemonitor"
kl "kubectl logs -f"
kli "kubectl login -u kubeadmin -p"
kn "kubectl new-project"
kp "kubectl project"
kpa "kubectl projects | rg kogito"
kpd "kubectl project default"
kt "kubectl status"
# ]]] kubectl #
tf "terraform"
tfa "terraform apply"
tfds "terraform destroy"
tfi "terraform init"
tfo "terraform output"
tfp "terraform plan"
tfs "terraform show"
# jenkins [[[ # # jenkins [[[ #
@@ -1184,12 +1149,10 @@ mvtt "make vet test"
# minikube [[[ # # minikube [[[ #
mb "minikube" # mb "minikube"
mba "minikube start" mba "minikube start"
mbdl "minikube delete" mbd "minikube delete"
mbs "minikube service" mbs "minikube stop"
mbsh "minikube ssh"
mbsd "minikube stop"
mbt "minikube status" mbt "minikube status"
# ]]] minikube # # ]]] minikube #
@@ -1206,16 +1169,26 @@ gotd "go mod tidy"
# docker [[[ # # docker [[[ #
dk "docker" d "docker"
dkb "docker build" db "docker build"
dki "docker image" dc "docker-compose"
dkka "docker kill \$(docker ps -q)" dcu "docker-compose up -d"
dkl "docker ps" dcd "docker-compose down"
dkp "docker push" di "docker image"
dks "docker images" dli "docker image list"
dk "docker kill"
dka "docker kill \$(docker ps -q)"
dl "docker ps"
dp "docker push"
dr "docker run"
drm "docker remove"
drmi "docker rmi -f"
ds "docker stop"
# ]]] docker # # ]]] docker #
nt "sudo nginx -t"
sb "ansible" sb "ansible"
sbp "ansible-playbook" sbp "ansible-playbook"
@@ -1230,9 +1203,6 @@ hu "helm upgrade"
# ]]] helm # # ]]] 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 # # ]]] red-hat #
# tet "ticker (cat ~/Documents/expenses/etf.md) | xclip -selection clipboard" # tet "ticker (cat ~/Documents/expenses/etf.md) | xclip -selection clipboard"
@@ -1249,5 +1219,3 @@ vpd "nordvpn disconnect"
vpt "nordvpn status" vpt "nordvpn status"
# ]]] vpn # # ]]] vpn #
ft "dexscreener ethereum 0x983b92EA1F0A20844466f3E4BB988c1dE145293E"

View File

@@ -11,7 +11,7 @@ da /mnt/ipad/DCIM/101APPLE
dl ~/Downloads dl ~/Downloads
# dw ~/dwm # dw ~/dwm
D ~/Documents D ~/Documents
# k ~/ k ~/
lc ~/linux-config lc ~/linux-config
lf /mnt/linux-files lf /mnt/linux-files
lf2 /mnt/linux-files-2 lf2 /mnt/linux-files-2
@@ -25,14 +25,13 @@ 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
# tm /tmp # tm /tmp
tm ~/tmp tm ~/tmp
{{ if and (eq .chezmoi.username "root") (eq .linux_os "debian") }} {{ if (eq .linux_os "debian") }}
ng /etc/nginx/sites-available ng /etc/nginx/sites-available
# sv /etc/systemd/system # sv /etc/systemd/system
{{ end }} {{ end }}
@@ -46,16 +45,12 @@ bm ~/Documents/bookmarks
ccd ~/.calcurse ccd ~/.calcurse
cms ~/Documents/codm/site cms ~/Documents/codm/site
cn ~/coding cn ~/coding
# dn ~/Downloads
drk ~/coding/dark-sky drk ~/coding/dark-sky
ffx ~/linux-config/dot_config/fish/functions ffx ~/linux-config/dot_config/fish/functions
hbd ~/.habitctl hbd ~/.habitctl
ib ~/linux-config/dot_config/i3blocks/scripts ib ~/linux-config/dot_config/i3blocks/scripts
mbd ~/coding/minikube
pig ~/coding/pigallery
mbk ~/coding/minikube-kompose
ms ~/coding/mf-site ms ~/coding/mf-site
msr ~/coding/mf-site/static/pdf msp ~/coding/mf-site/static/pdf
pr ~/coding/pull-requests pr ~/coding/pull-requests
ra ~/linux-config/dot_config/ranger ra ~/linux-config/dot_config/ranger
rd ~/Documents/red-discord-bot rd ~/Documents/red-discord-bot
@@ -65,7 +60,6 @@ rdp ~/coding/discord-bots/pinky/cogs/CogManager/cogs/adventure
sr ~/linux-config/scripts sr ~/linux-config/scripts
vsnps ~/.vim/plugged/vim-snippets/UltiSnips vsnps ~/.vim/plugged/vim-snippets/UltiSnips
sw ~/.local/share/nvim/swap/ sw ~/.local/share/nvim/swap/
tfd ~/coding/terraform
ttd ~/.timetrace ttd ~/.timetrace
ttdr ~/.timetrace/records ttdr ~/.timetrace/records
tx ~/linux-config/txt tx ~/linux-config/txt
@@ -75,7 +69,7 @@ wd ~/.config/watson
b1 ~/coding/mf-site/themes/base16 b1 ~/coding/mf-site/themes/base16
2d ~/coding/godot-demos/2d-plat 2d ~/coding/godot-demos/2d-plat
ada ~/coding/ada-mario ada ~/coding/ada-mario
# ft ~/coding/face-tracker ft ~/coding/face-tracker
hv ~/Documents/hevin hv ~/Documents/hevin
hvs ~/Documents/hevin/shopping hvs ~/Documents/hevin/shopping
j ~/Documents/journal j ~/Documents/journal
@@ -179,8 +173,7 @@ sdvss ~/.local/share/StardewValley/Screenshots/
sdvsv ~/.config/StardewValley/Saves/Hevintales_355084144/ sdvsv ~/.config/StardewValley/Saves/Hevintales_355084144/
sdvsvg ~/Documents/stardew-valley-sdv-saves/hevintales sdvsvg ~/Documents/stardew-valley-sdv-saves/hevintales
snp ~/Documents/marvel-snap snp /mnt/linux-files-2/Videos/ipad/marvel-snap
snpv /mnt/linux-files-2/Videos/ipad/marvel-snap
# ]]] gaming # # ]]] gaming #
@@ -256,7 +249,7 @@ nxo ~/coding/kogito/nexus-operator
# nft [[[ # # nft [[[ #
cvt ~/Pictures/profile-pics/conviction cvt ~/Pictures/profile-pics/conviction
# mb ~/coding/mint-bot mb ~/coding/mint-bot
pdg ~/Pictures/profile-pics/pudgy-penguins/test pdg ~/Pictures/profile-pics/pudgy-penguins/test
pfps ~/Pictures/profile-pics/sappy-seals pfps ~/Pictures/profile-pics/sappy-seals
pfpk ~/Pictures/profile-pics/gm-cafe/keek pfpk ~/Pictures/profile-pics/gm-cafe/keek
@@ -272,9 +265,60 @@ 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
jhi ~/school/job-hunt/interview-questions
# ]]] sch # # ]]] sch #
@@ -291,6 +335,4 @@ mt /mnt/linux-files-2/Pictures/mutant-tees
sm /mnt/linux-files-2/Videos/sam-smith/named sm /mnt/linux-files-2/Videos/sam-smith/named
wg /mnt/linux-files-2/Pictures/weed-grow-23 wg /mnt/linux-files-2/Pictures/weed-grow-23
sdc /run/media/kevin/6339-3234
# ]]] personal # # ]]] personal #

View File

@@ -17,7 +17,7 @@ r ~/linux-config/dot_config/ranger/rc.conf.tmpl
sr ~/linux-config/configs/ranger/shortcuts.conf sr ~/linux-config/configs/ranger/shortcuts.conf
ss ~/.shortcuts ss ~/.shortcuts
st ~/st/config.def.h st ~/st/config.def.h
t ~/linux-config/dot_tmux.conf # t ~/linux-config/dot_tmux.conf
u ~/linux-config/dot_Xresources.tmpl u ~/linux-config/dot_Xresources.tmpl
x ~/linux-config/dot_config/fish/config.fish.tmpl x ~/linux-config/dot_config/fish/config.fish.tmpl
xi ~/linux-config/dot_xinitrc xi ~/linux-config/dot_xinitrc
@@ -33,7 +33,6 @@ ng /etc/nginx/nginx.conf
# cdn [[[ # # cdn [[[ #
ap ~/.task/pending.data ap ~/.task/pending.data
aw ~/Documents/journal/todo/24/aws.md
at ~/.task/to-add.md at ~/.task/to-add.md
bid ~/Documents/journal/todo/blog.md bid ~/Documents/journal/todo/blog.md
cc ~/linux-config/private_dot_calcurse/conf cc ~/linux-config/private_dot_calcurse/conf
@@ -51,7 +50,6 @@ k ~/linux-config/dot_config/kitty/kitty.conf
lh ~/Documents/listening-history/polarbier.csv lh ~/Documents/listening-history/polarbier.csv
mc ~/coding/mf-site/assets/sass/main.scss mc ~/coding/mf-site/assets/sass/main.scss
mi ~/coding/mf-site/ideas.md mi ~/coding/mf-site/ideas.md
msr ~/coding/mf-site/content/resume/_index.md
ne ~/linux-config/configs/neofetch/config.conf ne ~/linux-config/configs/neofetch/config.conf
re README.md re README.md
rda ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/adventure.py rda ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/adventure.py
@@ -94,7 +92,6 @@ cmr ~/Documents/codm/discord-recruitment.md
nb ~/Documents/chat/discord/pistol.md nb ~/Documents/chat/discord/pistol.md
pk ~/Downloads/pokecord/pokecord2.md pk ~/Downloads/pokecord/pokecord2.md
sdv ~/Documents/stardew-valley-sdv/notes.md sdv ~/Documents/stardew-valley-sdv/notes.md
snp ~/Documents/marvel-snap/strats.md
tc /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader/clips.txt tc /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader/clips.txt
tdb ~/Documents/journal/todo/b.md tdb ~/Documents/journal/todo/b.md
@@ -115,7 +112,6 @@ 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 #

View File

@@ -80,8 +80,4 @@ URxvt.matcher.button: 1
/* ]]] Clickable URLs */ /* ]]] Clickable URLs */
Sxiv.background: #000000
Sxiv.foreground: #00C0FF
Sxiv.font: Hack-9
! vim: fdm=marker ft=xdefaults.go-template ! vim: fdm=marker ft=xdefaults.go-template

View File

@@ -41,14 +41,14 @@ abbr ssa "ssh kevin@ec2-18-223-241-198.us-east-2.compute.amazonaws.com"
# login to X [[[ # # login to X [[[ #
{{ if eq .chezmoi.username "kevin" }} # {{ if eq .chezmoi.username "kevin" }}
if status is-login # if status is-login
if test -z "$DISPLAY" -a $XDG_VTNR = 1 # if test -z "$DISPLAY" -a $XDG_VTNR = 1
exec startx -- -keeptty # exec startx -- -keeptty
end # end
end # end
set -x GPG_TTY (tty) # set -x GPG_TTY (tty)
{{ end }} # {{ end }}
# ]]] login to X # # ]]] login to X #
@@ -71,7 +71,7 @@ set -x HASTE_SERVER https://pste.gq
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64 set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64
set -x GOPATH ~/go set -x GOPATH ~/go
# set -x PATH $GRAALVM_BIN $PATH ~/.local/bin ~/scripts ~/scripts/colors ~/go/bin ~/.minetest/minetest/bin ~/.gem/ruby/2.6.0/bin # set -x PATH $GRAALVM_BIN $PATH ~/.local/bin ~/scripts ~/scripts/colors ~/go/bin ~/.minetest/minetest/bin ~/.gem/ruby/2.6.0/bin
set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/*/bin ~/.yarn/bin set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/*/bin ~/.yarn/bin /usr/sbin
set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
# Java [[[ # # Java [[[ #
@@ -138,8 +138,6 @@ set -x FULLNODE_API_INFO wss://api.chain.love
set -x IPAD_IMG 18 set -x IPAD_IMG 18
source /home/kevin/coding/aws.fish
# ]]] universal var's # # ]]] universal var's #
# fish-specific [[[ # # fish-specific [[[ #
@@ -222,6 +220,7 @@ abbr cpe "copy echo"
abbr cpp "copy echo (pwd)" abbr cpp "copy echo (pwd)"
abbr cff "create-fish-function" abbr cff "create-fish-function"
abbr ctr "systemctl-restart" abbr ctr "systemctl-restart"
abbr ctrn "systemctl-restart nginx"
abbr def "define" abbr def "define"
abbr drs "dump-rarity-check" abbr drs "dump-rarity-check"
abbr fd1 "fd --changed-within 1d" abbr fd1 "fd --changed-within 1d"
@@ -307,5 +306,4 @@ abbr xya "export-pkgs"
# task sync > /dev/null 2>&1 # task sync > /dev/null 2>&1
source /home/kevin/.config/fish/key_abbr.fish > /dev/null source /home/kevin/.config/fish/key_abbr.fish > /dev/null
wal -r
# ~/scripts/xmodmap-custom # ~/scripts/xmodmap-custom

View File

@@ -22,8 +22,7 @@ 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 #
@@ -371,7 +370,7 @@ bindsym Mod4+$mod+b layout tabbed; exec $term -e fish -c "buku-fzf fq"
# ]]] ws3 # # ]]] ws3 #
set $ws4 "4 󱓧" set $ws4 "4 "
workspace $ws4 output $secondary workspace $ws4 output $secondary
# bindsym $mod+F4 workspace $ws4; exec $term # bindsym $mod+F4 workspace $ws4; exec $term
# bindsym Control+Shift+F4 workspace $ws4; exec $term -e fish -c 'tmux-attach misc' # bindsym Control+Shift+F4 workspace $ws4; exec $term -e fish -c 'tmux-attach misc'
@@ -419,11 +418,10 @@ 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,7 +594,6 @@ 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
} }
@@ -606,13 +603,12 @@ 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 21
font pango:$sb_font 20 # font pango:$sb_font 20
# font pango:$sb_font 17 # font pango:$sb_font 17
{{ end }} {{ end }}
# output $main # output $main

View File

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

View File

@@ -1,5 +0,0 @@
#!/bin/bash
. "/home/kevin/.cache/wal/colors.sh"
ticker=$(~/scripts/dexscreener $CHAIN $PAIR)
printf "%s\n\n%s\n" "$ticker" "$color7"

View File

@@ -15,17 +15,13 @@ 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 5 exact RIGHT seek 3 exact
LEFT seek -5 exact LEFT seek -3 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

View File

@@ -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/sdc1' '/dev/sdc3' '/dev/sdd1' ) disk_show=('/dev/sda1' '/dev/sda3' '/dev/sdc2' )
# Disk subtitle. # Disk subtitle.
# What to append to the Disk subtitle. # What to append to the Disk subtitle.

View File

@@ -96,11 +96,8 @@ 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
js) # txt)
bat "${FILE_PATH}" && exit 5 # cat "${FILE_PATH}" && exit 5
txt)
bat "${FILE_PATH}" && exit 5
esac esac
} }

View File

@@ -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 ueberzug
# set preview_images_method kitty 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
@@ -705,7 +705,7 @@ map v. shell $EDITOR %f
source {{ .chezmoi.homeDir }}/.config/ranger/key_mappings.conf source {{ .chezmoi.homeDir }}/.config/ranger/key_mappings.conf
map dg shell dragon-drop -a -x %p map dg shell dragon-drag-and-drop -a -x %p
# map <C-d> shell dragon-drag-and-drop -a -x %p # map <C-d> shell dragon-drag-and-drop -a -x %p
# a plugin that adds file glyphs / icon support to Ranger: # a plugin that adds file glyphs / icon support to Ranger:
# https://github.com/alexanderjeurissen/ranger_devicons # https://github.com/alexanderjeurissen/ranger_devicons

View File

@@ -233,8 +233,27 @@ 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:airline_powerline_fonts = 1 let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
let g:airline_theme='supernova' 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
" continue Markdown lists when started " continue Markdown lists when started
" arc " arc
@@ -242,8 +261,6 @@ Plug 'dkarter/bullets.vim'
" coordinate Vim color scheme with terminal color scheme " coordinate Vim color scheme with terminal color scheme
Plug 'dylanaraps/wal.vim' Plug 'dylanaraps/wal.vim'
" Plug 'morhetz/gruvbox'
Plug 'bluz71/vim-nightfly-colors', { 'as': 'nightfly' }
" repeat plugin commands " repeat plugin commands
Plug 'tpope/vim-repeat' Plug 'tpope/vim-repeat'
@@ -348,9 +365,7 @@ Plug 'jidn/vim-dbml'
call plug#end() call plug#end()
{{ if .gui }} {{ if .gui }}
" autocmd vimenter * ++nested colorscheme gruvbox colorscheme wal
" colorscheme wal
colorscheme nightfly
{{ else }} {{ else }}
colorscheme gotham256 colorscheme gotham256
{{ end }} {{ end }}

View File

@@ -1,14 +0,0 @@
# /bin/bash
# curl -s https://api.dexscreener.com/latest/dex/pairs/$1/$2| jq -r '.pairs | .[] | .priceUsd'
raw=$(curl -s "https://api.dexscreener.com/latest/dex/pairs/$1/$2")
price=$(echo "$raw" | jq -r ".pairs | .[] | .priceUsd")
# if (( $(echo "$price < .05" | bc -l) )); then
# printf "%0.4f\n" "$price" | cut -c 4-
# elif (( $(echo "$price < .1" | bc -l) )); then
# printf "%0.3f\n" "$price" | cut -c 4-
if (( $(echo "$price < .09" | bc -l) )); then
printf "%0.4f\n" "$price" | cut -c 4-
elif (( $(echo "$price < .1" | bc -l) )); then
printf "%0.3f\n" "$price" | cut -c 4-
fi

View File

@@ -1,20 +0,0 @@
cava 0.10.2-2
cava-debug 0.10.2-2
cli-visualizer 1.8-10
cli-visualizer-debug 1.8-10
dragon-drop 1.2.0-2
dragon-drop-debug 1.2.0-2
python-exceptiongroup 1.2.1-2
qt5-webkit 5.212.0alpha4-22
qt5-webkit-debug 5.212.0alpha4-22
spotify 1:1.2.31.1205-2
systemd-numlockontty 0.1-14
timetrace-bin 0.14.3-6
timetrace-bin-debug 0.14.3-6
vidir 1.0.0-2
wkhtmltopdf 0.12.6-1
wkhtmltopdf-debug 0.12.6-1
yay 12.3.0-1
yay-debug 12.3.0-1
youtube-dl 2021.12.17-2
zoom 6.0.12-1

View File

@@ -1,164 +0,0 @@
alsa-utils 1.2.11-1
aws-cli 1.32.106-1
base 3-2
base-devel 1-1
bat 0.24.0-1
bc 1.07.1-4
bluez 5.76-1
bluez-utils 5.76-1
cava 0.10.2-2
chezmoi 2.47.1-1
chromium 122.0.6261.111-1
cli-visualizer 1.8-10
cmake 3.29.3-1
colordiff 1.0.21-1
discord 0.0.47-1
dmenu 5.2-1
docker 1:26.1.3-1
docker-compose 2.27.0-1
dragon-drop 1.2.0-2
dunst 1.10.0-1
efibootmgr 18-2
eog 45.3-1
evince 46.0-1
fd 9.0.0-1
feh 3.10.2-1
ffmpegthumbnailer 2.2.2-5
firefox 123.0.1-1
fish 3.7.0-1
fuse2 2.9.9-4
gimp 2.10.36-5
git 2.44.0-1
git-lfs 3.5.1-1
gnome-tweaks 45.1-1
gparted 1.6.0-1
grub 2:2.12-1
htop 3.3.0-1
hugo 0.124.0-1
i3-wm 4.23-1
i3blocks 1.5-4
imagemagick 7.1.1.29-2
imwheel 1.0.0pre12-6
jq 1.7.1-1
kitty 0.31.0-1
kompose 1.32.0-1
kubectl 1.30.1-1
libnotify 0.8.3-1
libreoffice-still 7.6.5-2
linux 6.7.9.arch1-1
linux-firmware 20240220.97b693d2-1
linux-lts 6.6.21-1
lsd 1.0.0-1
maim 5.7.4-7
minikube 1.32.0-1
mosh 1.4.0-6
mpv 1:0.37.0-2
nautilus 46.2-1
ncdu 2.3-1
neofetch 7.1.0-2
neovim 0.9.5-2
networkmanager 1.46.0-2
nodejs 21.7.1-1
noto-fonts-cjk 20230817-1
noto-fonts-emoji 1:2.042-1
npm 10.5.0-1
ntp 4.2.8.p17-1
nvidia-lts 1:550.54.14-4
obs-studio 30.0.2-4
openssh 9.7p1-1
os-prober 1.81-1
pass 1.7.4-5
passff-host 1:1.2.4-1
pcmanfm 1.3.2-1
picom 11.2-1
pulseaudio 17.0-3
pulseaudio-alsa 1:1.2.7.1-2
pyenv 1:2.3.36-1
python-pillow 10.2.0-2
python-pip 24.0-1
python-pynvim 0.5.0-2
qalculate-gtk 5.0.0-2
ranger 1.9.3-9
rclone 1.66.0-1
redshift 1.12-8
ripgrep 14.1.0-1
rsync 3.2.7-6
rxvt-unicode 9.31-4
scrot 1.10-1
spotify 1:1.2.31.1205-2
steam 1.0.0.78-2
sudo 1.9.15.p5-1
sxiv 26-1
sysstat 12.7.5-1
systemd-numlockontty 0.1-14
termdown 1.18.0-5
terraform 1.8.4-1
timetrace-bin 0.14.3-6
tldr 3.2.0-1
tmux 3.4-4
transmission-gtk 4.0.5-1
ttf-hack 3.003-6
ttf-hack-nerd 3.1.1-1
udisks2 2.10.1-4
vi 1:070224-6
vidir 1.0.0-2
vim 9.1.0151-2
vlc 3.0.20-7
wget 1.24.5-1
wkhtmltopdf 0.12.6-1
xclip 0.13-4
xdotool 3.20211022.1-1
xf86-video-vesa 2.6.0-1
xorg-bdftopcf 1.1.1-1
xorg-docs 1.7.2-2
xorg-font-util 1.4.1-1
xorg-fonts-100dpi 1.0.4-2
xorg-fonts-75dpi 1.0.4-1
xorg-fonts-encodings 1.1.0-1
xorg-iceauth 1.0.10-1
xorg-mkfontscale 1.2.3-1
xorg-server 21.1.11-1
xorg-server-common 21.1.11-1
xorg-server-devel 21.1.11-1
xorg-server-xephyr 21.1.11-1
xorg-server-xnest 21.1.11-1
xorg-server-xvfb 21.1.11-1
xorg-sessreg 1.1.3-1
xorg-setxkbmap 1.3.4-1
xorg-smproxy 1.0.7-1
xorg-x11perf 1.6.2-1
xorg-xbacklight 1.2.3-3
xorg-xcmsdb 1.0.6-1
xorg-xcursorgen 1.0.8-1
xorg-xdpyinfo 1.3.4-1
xorg-xdriinfo 1.0.7-1
xorg-xev 1.2.6-1
xorg-xgamma 1.0.7-1
xorg-xhost 1.0.9-1
xorg-xinit 1.4.2-1
xorg-xinput 1.6.4-1
xorg-xkbcomp 1.4.7-1
xorg-xkbevd 1.1.5-1
xorg-xkbutils 1.0.6-1
xorg-xkill 1.0.6-1
xorg-xlsatoms 1.1.4-1
xorg-xlsclients 1.1.5-1
xorg-xpr 1.2.0-1
xorg-xprop 1.2.7-1
xorg-xrandr 1.5.2-1
xorg-xrefresh 1.1.0-1
xorg-xset 1.2.5-1
xorg-xsetroot 1.1.3-1
xorg-xvinfo 1.1.5-1
xorg-xwayland 23.2.4-2
xorg-xwd 1.0.9-1
xorg-xwininfo 1.1.6-1
xorg-xwud 1.0.6-1
yad 13.0-2
yay 12.3.0-1
yay-debug 12.3.0-1
youtube-dl 2021.12.17-2
yt-dlp 2024.04.09-2
zathura 0.5.5-1
zathura-pdf-poppler 0.3.2-3
zoom 6.0.12-1

View File

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