8 Commits

Author SHA1 Message Date
8eed1c71db Use pywal plugin to fix Vim colors 2024-07-30 02:51:40 -04:00
8781493ffb Crypto on secondary, rm music/name 2024-07-27 19:54:42 -04:00
71017721bc Rm school aliases 2024-07-27 19:50:57 -04:00
a4946bf75d Vim set colorscheme, notepad 4th workspace icon 2024-07-10 22:20:47 -04:00
273d23abc0 Dexscreener script, arch-2 packages 2024-06-12 10:41:17 -04:00
c41e14a302 Terraform aliases 2024-05-29 13:54:32 -04:00
b165a802c9 kubectl/docker aliases 2024-05-23 18:18:46 -04:00
1c47a7311a sxiv black BG 2024-04-23 11:39:54 -04:00
14 changed files with 436 additions and 195 deletions

View File

@@ -7,6 +7,7 @@
# clear screen
c "printf '\033c'"
d "cd ~/Downloads && printf '\033c'"
# dn "cd ~/Downloads && printf '\033c'"
# e "echo \$"
hst "history"
# nft "printf '\033c' && neofetch | lolcat"
@@ -52,7 +53,7 @@ ngb "sudo nvim /etc/default/grub"
mgb "sudo grub-mkconfig -o /boot/grub/grub.cfg"
# a "bat"
b "batcat"
b "bat"
# ba "bat *"
awkp "awk -F',' '{print \$0}'"
cpr "cp -r"
@@ -124,7 +125,7 @@ ssl "mosh --ssh='ssh -p 399' kevin@$LAPTOP_IP"
# vultr
# ssa "mosh atxadmin@45.32.87.10"
ssa "ssh kevin@18.223.241.198"
ssa "ssh -t kevin@3.147.85.36 tmux a"
# ssv "mosh kevin@45.32.87.10"
# test server sites
@@ -161,6 +162,7 @@ l "lsd -F --group-dirs first"
la "lsd -AF --group-dirs first"
ld "lsd -F --group-dirs first -d */"
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 */"
lls "lsd -lF --group-dirs first --size short -Sr"
llt "lsd -lF --group-dirs first --size short -tr"
@@ -189,7 +191,7 @@ rsy "rsync --ignore-existing -Ptr"
lhd "sudo fdisk -l"
# get disc space for mounted drives
# ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null"
# ds "df -h | head -n 1 && df -h | grep sd"
dsp "df -h | head -n 1 && df -h | grep sd"
chownw "sudo chown -R kevin:wheel"
chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}"
# cd into backup folder and show backup sizes
@@ -332,6 +334,10 @@ id "identify"
mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install"
# mst "sudo ~/st/make-st.sh"
mlf2 "sudo mount /dev/sdd1 /mnt/linux-files-2"
kgpg "kill -9 gpg-agent && gpg-agent"
# system ]]]
# applications [[[ #
@@ -410,7 +416,7 @@ cht "chatterino"
clc "cloc . --vcs=git"
cm "compton &"
cv "cava"
dg "dragon-drag-and-drop -x"
dg "dragon-drop -x"
fx "firefox -P"
fxd "firefox -P default"
fxw "firefox -P work"
@@ -495,7 +501,7 @@ tc "clear && tmux clear-history"
# tk "tmux kill-server"
tks "tmux kill-session -t"
tksv "tmux kill-server"
tl "tmux ls"
tls "tmux ls"
tn "tmux new -s"
tnb "tmux new -s backup"
#]]]
@@ -503,6 +509,7 @@ usn "usernames --num 20"
vmd "vimdiff"
# wg "wego"
ytd "youtube-dl"
wal "wal -i"
wc "wc -l"
wcw "wc -w"
wch "weechat"
@@ -511,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"
@@ -528,7 +535,7 @@ pi "pass insert -m"
pg "pass generate -c"
ps "pass show"
psi "pass show info | bat"
pev "pass edit finances/visa"
pev "pass edit finances/visa-cash"
xc "xclip -selection clipboard"
xo "xclip -o >"
@@ -638,7 +645,8 @@ gmgt "git mergetool"
gr "git remote -v"
gra "git remote add origin"
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"
gru "git branch --set-upstream-to=origin/main main"
@@ -764,7 +772,8 @@ psgi "git add -A && git commit -m 'Update' -S && git push"
gps "git push"
gpso "git push origin"
gpsoh "git push -f origin HEAD:"
gpsg "git push gitea"
# gpsg "git push gitea"
gpsg "git push github"
gpsk "git push kevin"
gpsdl "git push origin --delete"
# gpsi "git config credential.helper store && git push"
@@ -1063,48 +1072,77 @@ sfw "sftp $WORK_LAPTOP_IP"
fp "fpaste"
ghr "github-release"
# oc [[[ #
# docker [[[ #
o "kubectl"
oa "kubectl apply -f"
ocr "kubectl create"
ocf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito"
oct "kubectx"
od "kubectl describe"
odd "kubectl describe deployment"
odp "kubectl describe pod"
odi "kubectl describe kogitoinfra"
odr "kubectl describe kogitoruntime"
odl "kubectl delete"
odlf "kubectl delete -f"
odlb "kubectl delete kogitobuild"
odlc "kubectl delete configmap"
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"
do "docker"
db "docker build"
dc "docker-compose"
dcu "docker-compose up -d"
dcd "docker-compose down"
di "docker image"
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"
dst "docker stop"
# ]]] oc #
# ]]] docker #
# 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 [[[ #
@@ -1149,10 +1187,12 @@ mvtt "make vet test"
# minikube [[[ #
# mb "minikube"
mb "minikube"
mba "minikube start"
mbd "minikube delete"
mbs "minikube stop"
mbdl "minikube delete"
mbs "minikube service"
mbsh "minikube ssh"
mbsd "minikube stop"
mbt "minikube status"
# ]]] minikube #
@@ -1169,26 +1209,16 @@ gotd "go mod tidy"
# docker [[[ #
d "docker"
db "docker build"
dc "docker-compose"
dcu "docker-compose up -d"
dcd "docker-compose down"
di "docker image"
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"
dk "docker"
dkb "docker build"
dki "docker image"
dkka "docker kill \$(docker ps -q)"
dkl "docker ps"
dkp "docker push"
dks "docker images"
# ]]] docker #
nt "sudo nginx -t"
sb "ansible"
sbp "ansible-playbook"
@@ -1203,6 +1233,9 @@ 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 #
# tet "ticker (cat ~/Documents/expenses/etf.md) | xclip -selection clipboard"
@@ -1219,3 +1252,5 @@ vpd "nordvpn disconnect"
vpt "nordvpn status"
# ]]] vpn #
ft "dexscreener ethereum 0x983b92EA1F0A20844466f3E4BB988c1dE145293E"

View File

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

View File

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

View File

@@ -80,4 +80,8 @@ URxvt.matcher.button: 1
/* ]]] Clickable URLs */
Sxiv.background: #000000
Sxiv.foreground: #00C0FF
Sxiv.font: Hack-9
! 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 [[[ #
# {{ if eq .chezmoi.username "kevin" }}
# if status is-login
# if test -z "$DISPLAY" -a $XDG_VTNR = 1
# exec startx -- -keeptty
# end
# end
# set -x GPG_TTY (tty)
# {{ end }}
{{ if eq .chezmoi.username "kevin" }}
if status is-login
if test -z "$DISPLAY" -a $XDG_VTNR = 1
exec startx -- -keeptty
end
end
set -x GPG_TTY (tty)
{{ end }}
# ]]] 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 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 $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/*/bin ~/.yarn/bin /usr/sbin
set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/*/bin ~/.yarn/bin
set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
# Java [[[ #
@@ -138,6 +138,8 @@ set -x FULLNODE_API_INFO wss://api.chain.love
set -x IPAD_IMG 18
source /home/kevin/coding/aws.fish
# ]]] universal var's #
# fish-specific [[[ #
@@ -220,7 +222,6 @@ abbr cpe "copy echo"
abbr cpp "copy echo (pwd)"
abbr cff "create-fish-function"
abbr ctr "systemctl-restart"
abbr ctrn "systemctl-restart nginx"
abbr def "define"
abbr drs "dump-rarity-check"
abbr fd1 "fd --changed-within 1d"
@@ -306,4 +307,6 @@ abbr xya "export-pkgs"
# task sync > /dev/null 2>&1
source /home/kevin/.config/fish/key_abbr.fish > /dev/null
# wal -r
cat /home/kevin/.cache/wal/sequences
# ~/scripts/xmodmap-custom

View File

@@ -1,12 +1,14 @@
# 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
@@ -370,7 +372,7 @@ bindsym Mod4+$mod+b layout tabbed; exec $term -e fish -c "buku-fzf fq"
# ]]] ws3 #
set $ws4 "4 "
set $ws4 "4 󱓧"
workspace $ws4 output $secondary
# bindsym $mod+F4 workspace $ws4; exec $term
# bindsym Control+Shift+F4 workspace $ws4; exec $term -e fish -c 'tmux-attach misc'
@@ -577,8 +579,8 @@ bar {
{{ if eq .chezmoi.hostname "x1-carbon" }}
font pango:$sb_font 17
{{ else }}
# font pango:$sb_font 17
font pango:$sb_font 16
font pango:$sb_font 17
# font pango:$sb_font 16
{{ end }}
colors {
# 0 (transparent) -> 255 (opaque) in hex
@@ -593,7 +595,8 @@ bar {
tray_output none
# 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 $main
output $secondary
wheel_up_cmd nop
wheel_down_cmd nop
}
@@ -602,31 +605,31 @@ bar {
# secondary bar [[[ #
bar {
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 17
{{ end }}
# output $main
i3bar_command i3bar -t
colors {
background $black$bar_trans
# border, bg, text color
# focused_workspace $inactive_ws_bg $bg $focused_ws_text
focused_workspace $inactive_ws_bg $bg $fg
active_workspace $inactive_ws_bg $fg$active_ws_trans $fg
inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_ws_trans $fg
}
status_command i3blocks -c ~/.config/i3blocks/i3blocks-secondary.conf
# status_command 2>/tmp/i3blocks-sam.err i3blocks -vvv -c ~/.config/i3blocks/sam-i3blocks.conf | tee /tmp/i3blocks-sam.out
tray_output none
wheel_up_cmd nop
wheel_down_cmd nop
}
# bar {
# 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 17
# {{ end }}
# # output $main
# i3bar_command i3bar -t
# colors {
# background $black$bar_trans
# # border, bg, text color
# # focused_workspace $inactive_ws_bg $bg $focused_ws_text
# focused_workspace $inactive_ws_bg $bg $fg
# active_workspace $inactive_ws_bg $fg$active_ws_trans $fg
# inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_ws_trans $fg
# }
# status_command i3blocks -c ~/.config/i3blocks/i3blocks-secondary.conf
# # status_command 2>/tmp/i3blocks-sam.err i3blocks -vvv -c ~/.config/i3blocks/sam-i3blocks.conf | tee /tmp/i3blocks-sam.out
# tray_output none
# wheel_up_cmd nop
# wheel_down_cmd nop
# }
# ]]] secondary bar #

View File

@@ -52,16 +52,40 @@ label=ETH
TICKER=ETHUSDC
interval=30
[kraken]
label=SOL
TICKER=SOLUSD
# [kraken]
# label=SOL
# TICKER=SOLUSD
# interval=30
# [kraken]
# label=SEI
# TICKER=SEIUSD
# interval=30
[dexscreener]
label=PIXL
CHAIN=ethereum
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
interval=30
[kraken]
label=SEI
TICKER=SEIUSD
# [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]
# label=SPY
# TICKER=SPY
@@ -90,16 +114,16 @@ interval=60
# SHORT_NAME=
# interval=5
[spotify]
# command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
# label=
label=
# label=🎧
# green
# color=#198c19
# aqua
# color=#2d7272
interval=5
# [spotify]
# # command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
# # label=
# label=
# # label=🎧
# # green
# # color=#198c19
# # aqua
# # color=#2d7272
# interval=5
{{ end }}
# ]]] volume/spotify #
@@ -167,9 +191,9 @@ WIDTH=220
# name [[[ #
[name]
label=
interval=30
# [name]
# label=
# interval=30
{{ end }}
# ]]] name #

View File

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

View File

@@ -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.

View File

@@ -705,7 +705,7 @@ map v. shell $EDITOR %f
source {{ .chezmoi.homeDir }}/.config/ranger/key_mappings.conf
map dg shell dragon-drag-and-drop -a -x %p
map dg shell dragon-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:
# https://github.com/alexanderjeurissen/ranger_devicons

View File

@@ -150,10 +150,10 @@ Plug 'vim-scripts/L9'
" find files from within Vim
" Plug 'vim-scripts/FuzzyFinder'
{{ if not .gui }}
" {{ if not .gui }}
" Gotham color scheme
Plug 'whatyouhide/vim-gotham'
{{ end }}
" {{ end }}
" " collection of Vim color schemes
" Plug 'flazz/vim-colorschemes'
@@ -254,6 +254,7 @@ 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_theme='supernova'
" continue Markdown lists when started
" arc
@@ -261,6 +262,9 @@ Plug 'dkarter/bullets.vim'
" coordinate Vim color scheme with terminal color scheme
Plug 'dylanaraps/wal.vim'
Plug 'AlphaTechnolog/pywal.nvim', { 'as': 'pywal' }
" Plug 'morhetz/gruvbox'
Plug 'bluz71/vim-nightfly-colors', { 'as': 'nightfly' }
" repeat plugin commands
Plug 'tpope/vim-repeat'
@@ -365,7 +369,11 @@ Plug 'jidn/vim-dbml'
call plug#end()
{{ if .gui }}
colorscheme wal
" autocmd vimenter * ++nested colorscheme gruvbox
" colorscheme wal
colorscheme pywal
" colorscheme nightfly
" colorscheme gotham256
{{ else }}
colorscheme gotham256
{{ end }}

14
scripts/executable_dexscreener Executable file
View File

@@ -0,0 +1,14 @@
# /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

20
txt/arch-2-aur.txt Normal file
View File

@@ -0,0 +1,20 @@
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

164
txt/arch-2-pkgs.txt Normal file
View File

@@ -0,0 +1,164 @@
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