11 Commits

Author SHA1 Message Date
d405f264db Pre-Ubuntu install 2025-01-17 11:43:32 -05:00
f9c5f9afe0 i3 Metamask shortcut 2025-01-14 14:48:37 -05:00
072980eaf1 Slow down scroll 2024-11-02 07:51:24 -04:00
adf0cb89b9 Fix Vim commenting 2024-10-30 10:42:09 -04:00
d56c047782 Vim commenting 2024-09-11 07:14:22 -04:00
71b0aa5ada Vim surround (brackets) 2024-09-03 14:05:12 -04:00
11681ecc9f Merge with single-screen branch 2024-08-27 10:45:29 -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
24 changed files with 381 additions and 148 deletions

View File

@@ -7,6 +7,7 @@
# 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"
@@ -190,7 +191,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"
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" 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
@@ -202,7 +203,8 @@ uzl "unzip -l"
# power options [[[ # # power options [[[ #
s "systemctl suspend" # s "systemctl suspend"
s "xset dpms force off"
# sl "i3lock-fancy && systemctl suspend" # sl "i3lock-fancy && systemctl suspend"
# so "xset dpms force off" # so "xset dpms force off"
xx "exit" xx "exit"
@@ -333,6 +335,11 @@ 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"
bkuh "sudo rsync -PraAX --exclude-from='/home/kevin/txt/exclude-dirs-backup-full.txt' /home '/mnt/linux-files-2/arch-2/full'"
kgpg "kill -9 gpg-agent && gpg-agent"
# system ]]] # system ]]]
# applications [[[ # # applications [[[ #
@@ -412,6 +419,7 @@ clc "cloc . --vcs=git"
cm "compton &" cm "compton &"
cv "cava" cv "cava"
dg "dragon-drop -x" dg "dragon-drop -x"
dgh "dragon-drop -x ."
fx "firefox -P" fx "firefox -P"
fxd "firefox -P default" fxd "firefox -P default"
fxw "firefox -P work" fxw "firefox -P work"
@@ -429,6 +437,7 @@ htm "htop -s PERCENT_MEM"
ia "sxiv -a" ia "sxiv -a"
it "sxiv -t *" it "sxiv -t *"
kill "kill -9" kill "kill -9"
#kal "killall"
ka "killall" ka "killall"
kc "killall chromium" kc "killall chromium"
kcm "killall compton" kcm "killall compton"
@@ -453,8 +462,10 @@ mra "man ranger"
n "nvim" n "nvim"
nl "nload devices wlp4s0 -u M" nl "nload devices wlp4s0 -u M"
nm "nomacs . &" nm "nomacs . &"
noti "/usr/lib/notification-daemon-1.0/notification-daemon &"
np "nvim --" np "nvim --"
ndu "ncdu" ndu "ncdu"
pc "pcmanfm &"
p3 "python3" p3 "python3"
pdft "pdftotext" pdft "pdftotext"
pdu "pdfunite" pdu "pdfunite"
@@ -504,6 +515,7 @@ 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"
@@ -512,7 +524,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"
@@ -528,6 +540,7 @@ pei "pass edit info"
pi "pass insert -m" pi "pass insert -m"
pg "pass generate -c" pg "pass generate -c"
ps "pass show" ps "pass show"
psr "pass rm"
psi "pass show info | bat" psi "pass show info | bat"
pev "pass edit finances/visa" pev "pass edit finances/visa"
@@ -639,7 +652,8 @@ 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"
@@ -765,7 +779,8 @@ 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"
@@ -1021,7 +1036,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"
@@ -1029,13 +1044,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" ttlo "timetrace start look@job"
ttle "timetrace start leetcode@job"
pvabn "npm run serve:localhost" # ]]] work #
pvafn "npm run start:localhost"
ssv "ssh -p 3022 kevin@127.0.0.1"
# ]]] school #
# red-hat [[[ # # red-hat [[[ #
@@ -1066,9 +1078,9 @@ ghr "github-release"
# docker [[[ # # docker [[[ #
d "docker" do "docker"
db "docker build" db "docker build"
dc "docker-compose" dcm "docker-compose"
dcu "docker-compose up -d" dcu "docker-compose up -d"
dcd "docker-compose down" dcd "docker-compose down"
di "docker image" di "docker image"
@@ -1080,18 +1092,18 @@ dp "docker push"
dr "docker run" dr "docker run"
drm "docker remove" drm "docker remove"
drmi "docker rmi -f" drmi "docker rmi -f"
ds "docker stop" dst "docker stop"
# ]]] docker # # ]]] docker #
# kubectl [[[ # # kubectl [[[ #
k "kubectl" k "kubectl"
ka "kubectl apply -f" kap "kubectl apply -f"
kcr "kubectl create" kcr "kubectl create"
kcf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito" kcf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito"
kct "kubectx" kct "kubectx"
kd "kubectl describe" #kd "kubectl describe"
kdd "kubectl describe deployment" kdd "kubectl describe deployment"
kdp "kubectl describe pod" kdp "kubectl describe pod"
kdi "kubectl describe kogitoinfra" kdi "kubectl describe kogitoinfra"
@@ -1128,6 +1140,14 @@ kt "kubectl status"
# ]]] kubectl # # ]]] kubectl #
tf "terraform"
tfa "terraform apply"
tfds "terraform destroy"
tfi "terraform init"
tfo "terraform output"
tfp "terraform plan"
tfs "terraform show"
# jenkins [[[ # # jenkins [[[ #
jk "java -jar ~/java/jenkins-cli.jar -s http://localhost:8090 -auth kevin:$JENKINS_TOKEN" jk "java -jar ~/java/jenkins-cli.jar -s http://localhost:8090 -auth kevin:$JENKINS_TOKEN"
@@ -1217,6 +1237,10 @@ hu "helm upgrade"
# ]]] helm # # ]]] helm #
zr "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume.pdf"
zra "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume-aws.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"

View File

@@ -7,6 +7,7 @@ cf ~/linux-config/dot_config
cfg ~/.config cfg ~/.config
cff ~/.config/fish cff ~/.config/fish
ch ~/Documents/chat ch ~/Documents/chat
dc ~/Documents/chat/discord
da /mnt/ipad/DCIM/101APPLE da /mnt/ipad/DCIM/101APPLE
dl ~/Downloads dl ~/Downloads
# dw ~/dwm # dw ~/dwm
@@ -25,6 +26,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
@@ -45,14 +47,16 @@ 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 mbd ~/coding/minikube
pig ~/coding/pigallery pig ~/coding/pigallery
mbk ~/coding/minikube-kompose
ms ~/coding/mf-site ms ~/coding/mf-site
msp ~/coding/mf-site/static/pdf msr ~/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
@@ -62,6 +66,7 @@ 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
@@ -268,60 +273,12 @@ 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
jhig ~/school/job-hunt/interview-questions/grafana
el ~/coding/eliza
# ]]] sch # # ]]] sch #

View File

@@ -46,11 +46,12 @@ hh ~/.habitctl/habits
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
id ~/Documents/journal/todo/ideas.md id ~/Documents/journal/todo/ideas.md
ig ./.gitignore ig ./.gitignore
jt ~/Documents/journal/todo/24/4.md jt ~/Documents/journal/todo/25/1.md
k ~/linux-config/dot_config/kitty/kitty.conf 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
@@ -96,6 +97,7 @@ sdv ~/Documents/stardew-valley-sdv/notes.md
snp ~/Documents/marvel-snap/strats.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
jop ~/Documents/journal/personal/jop.md
# ]]] gaming # # ]]] gaming #
@@ -114,13 +116,14 @@ 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
jhb ~/school/job-hunt/b.md
# ]]] pey # # ]]] pey #
ej ~/Documents/emojis/emojis.md ej ~/Documents/emojis/emojis.md
nf ~/Documents/twitter/nft-24.md nf ~/Documents/twitter/nft-25.md
ra ~/Documents/chat/reddit/avatar.md sg ~/Documents/chat/signal/jay-groups.md
ds ~/Documents/nft/deep-sea-research.md
wd ~/Documents/journal/personal/weed.md wd ~/Documents/journal/personal/weed.md
wo ~/Documents/workout-logs/7/running.md wo ~/Documents/workout-logs/7/running.md

View File

@@ -1,8 +1,8 @@
clear Lock clear Lock
keycode 9 = Caps_Lock keycode 9 = Caps_Lock
keycode 22 = BackSpace
keycode 66 = Escape keycode 66 = Escape
keycode 22 = BackSpace
pointer = 1 2 3 6 7 4 5 10 11 12 8 9 pointer = 1 2 3 6 7 4 5 10 11 12 8 9
! side thumb button as middle click ! side thumb button as middle click

11
dot_Xmodmap-vm Normal file
View File

@@ -0,0 +1,11 @@
clear Lock
! keycode 9 = Caps_Lock
! keycode 66 = Escape
keycode 9 = Escape
keycode 66 = Caps_Lock
keycode 22 = BackSpace
pointer = 1 2 3 6 7 4 5 10 11 12 8 9
! side thumb button as middle click
! pointer = 1 10 3 6 7 4 5 2 11 12 8 9

View File

@@ -138,6 +138,10 @@ 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
set -x LIBVIRT_DEFAULT_URI qemu:///system
# ]]] universal var's # # ]]] universal var's #
# fish-specific [[[ # # fish-specific [[[ #
@@ -305,5 +309,5 @@ 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 cat /home/kevin/.cache/wal/sequences
# ~/scripts/xmodmap-custom # ~/scripts/xmodmap-custom

View File

@@ -0,0 +1,3 @@
function qalc-update
qalc -e "$argv[1]USD to CAD"
end

View File

@@ -8,7 +8,8 @@ set $term urxvt
# set $term_alt kitty # set $term_alt kitty
set $term_alt st set $term_alt st
# set $term_alt urxvt # set $term_alt urxvt
exec dunst #exec dunst
exec /usr/lib/notification-daemon-1.0/notification-daemon
exec compton exec compton
exec imwheel exec imwheel
exec numlockx on exec numlockx on
@@ -22,7 +23,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 #
@@ -56,7 +58,8 @@ bindsym Mod4+Return exec /home/kevin/scripts/dmenu-history -nb "$fg" -nf "$bg" -
# bindsym Mod4+b layout tabbed; exec zathura # bindsym Mod4+b layout tabbed; exec zathura
# bindsym Mod4+c exec $browser # bindsym Mod4+c exec $browser
# bindsym Mod4+$mod+c exec chatterino # bindsym Mod4+$mod+c exec chatterino
bindsym Mod4+c exec chatterino #bindsym Mod4+c exec chatterino
bindsym Mod4+c exec pass -c finances/metamask
bindsym Mod4+$mod+c exec $browser bindsym Mod4+$mod+c exec $browser
# bindsym Mod4+e exec notify-send "HPS Word Count" "$(pdftotext /home/kevin/school/latex-notes/hps/essay.pdf - | wc -w)" # bindsym Mod4+e exec notify-send "HPS Word Count" "$(pdftotext /home/kevin/school/latex-notes/hps/essay.pdf - | wc -w)"
# bindsym Mod4+e exec emacs # bindsym Mod4+e exec emacs
@@ -370,7 +373,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'
@@ -418,10 +421,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 #
@@ -594,6 +598,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
} }
@@ -603,12 +608,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 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

@@ -26,12 +26,12 @@ interval=5
[cpu_usage] [cpu_usage]
label= label=
interval=5 interval=2
[memory] [memory]
label= label=
# color=#3da061 # color=#3da061
interval=5 interval=2
{{ end }} {{ end }}
# ]]] sys.monitoring # # ]]] sys.monitoring #

View File

@@ -43,15 +43,10 @@ TICKER=BTCUSDC
interval=30 interval=30
# [ticker] # [ticker]
# label=BTC # label=btc
# TICKER=BTC-USD # ticker=btc-usd
# interval=30 # interval=30
[kraken]
label=ETH
TICKER=ETHUSDC
interval=30
[kraken] [kraken]
label=SOL label=SOL
TICKER=SOLUSD TICKER=SOLUSD
@@ -62,11 +57,33 @@ interval=30
# TICKER=SEIUSD # TICKER=SEIUSD
# interval=30 # interval=30
# [dexscreener] [dexscreener]
# label=FLT label=PIXL
# CHAIN=ethereum CHAIN=ethereum
# PAIR=0x983b92EA1F0A20844466f3E4BB988c1dE145293E PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
# interval=30 interval=30
[kraken]
label=ETH
TICKER=ETHUSDC
interval=30
[dexscreener]
label=PENGU
CHAIN=solana
PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
interval=5
[kraken]
label=AVAX
TICKER=AVAXUSD
interval=30
#[dexscreener]
#label=LOCK
#CHAIN=solana
#PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
#interval=30
# [ticker] # [ticker]
# label=SPY # label=SPY
@@ -96,16 +113,16 @@ interval=60
# SHORT_NAME= # SHORT_NAME=
# interval=5 # interval=5
[spotify] # [spotify]
# command=python ~/linux-config/configs/i3blocks-scripts/spotify.py # # command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
# label= # # label=
label= # label=
# label=🎧 # # label=🎧
# green # # green
# color=#198c19 # # color=#198c19
# aqua # # aqua
# color=#2d7272 # # color=#2d7272
interval=5 # interval=5
{{ end }} {{ end }}
# ]]] volume/spotify # # ]]] volume/spotify #
@@ -139,7 +156,7 @@ interval=5
# time [[[ # # time [[[ #
[calendar] [calendar]
interval=30 interval=5
label= label=
# {{ if eq .chezmoi.hostname "nzxt" }} # {{ if eq .chezmoi.hostname "nzxt" }}
# DATEFMT=+%H:%M # DATEFMT=+%H:%M
@@ -173,9 +190,9 @@ WIDTH=220
# name [[[ # # name [[[ #
[name] # [name]
label= # label=
interval=30 # interval=30
{{ end }} {{ end }}
# ]]] name # # ]]] name #

View File

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

View File

@@ -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 RIGHT seek 5 exact
LEFT seek -3 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

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

View File

@@ -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) js)
# cat "${FILE_PATH}" && exit 5 bat "${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-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 # 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

@@ -1,5 +1,7 @@
".*" ".*"
/* None, Up, Button4, 3 */ /* None, Up, Button4, 3 */
/* None, Down, Button5, 3 */ /* None, Down, Button5, 3 */
None, Up, Button4, 1 /* None, Up, Button4, .5 */
None, Down, Button5, 1 /* None, Down, Button5, .5 */
None, Up, Button4, .1
None, Down, Button5, .1

1
dot_qalcrc Normal file
View File

@@ -0,0 +1 @@
decimal comma 1

View File

@@ -57,6 +57,7 @@ autocmd CursorHold * if !bufexists("[Command Line]") | checktime | endif
" commands for file types [[[ " " commands for file types [[[ "
filetype plugin indent on
autocmd BufNewFile,BufRead .* set syntax=sh autocmd BufNewFile,BufRead .* set syntax=sh
autocmd BufRead,BufNewFile /tmp/calcurse*,~/.calcurse/notes/* set filetype=markdown autocmd BufRead,BufNewFile /tmp/calcurse*,~/.calcurse/notes/* set filetype=markdown
autocmd FileType *css,gitcommit,haskell,htmldjango,html,graphql,javascript,javascriptreact,json,lisp,markdown, autocmd FileType *css,gitcommit,haskell,htmldjango,html,graphql,javascript,javascriptreact,json,lisp,markdown,
@@ -233,27 +234,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:airline_powerline_fonts = 1
let g:SuperTabDefaultCompletionType = '<C-n>' let g:airline_theme='supernova'
" 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
@@ -261,6 +243,8 @@ 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'
@@ -358,6 +342,9 @@ Plug 'mlaursen/vim-react-snippets', { 'branch': 'main' }
Plug 'cristianoliveira/vim-react-html-snippets' Plug 'cristianoliveira/vim-react-html-snippets'
Plug 'jidn/vim-dbml' Plug 'jidn/vim-dbml'
" Plug 'FuDesign2008/emoji-snippets.vim' " Plug 'FuDesign2008/emoji-snippets.vim'
Plug 'tpope/vim-surround'
" Plug 'tpope/vim-commentary'
Plug 'preservim/nerdcommenter'
" ]]] vim-plug " " ]]] vim-plug "
" Mappings [[[ " " Mappings [[[ "
@@ -365,7 +352,9 @@ Plug 'jidn/vim-dbml'
call plug#end() call plug#end()
{{ if .gui }} {{ if .gui }}
colorscheme wal " autocmd vimenter * ++nested colorscheme gruvbox
" colorscheme wal
colorscheme nightfly
{{ else }} {{ else }}
colorscheme gotham256 colorscheme gotham256
{{ end }} {{ end }}
@@ -461,7 +450,7 @@ nnoremap <leader>m :vert Man
" apply normal command to selection " apply normal command to selection
vnoremap <leader>n q:anorm vnoremap <leader>n q:anorm
" turn off autoformat" " turn off autoformat"
nnoremap <leader>na :set spell spelllang=en_us formatoptions=cjMqtvw<CR> " nnoremap <leader>na :set spell spelllang=en_us formatoptions=cjMqtvw<CR>
nnoremap <leader>nt :NERDTree<CR> nnoremap <leader>nt :NERDTree<CR>
" check if in neovim " check if in neovim
nnoremap <leader>nv :echo has('nvim')<CR> nnoremap <leader>nv :echo has('nvim')<CR>

View File

@@ -14,7 +14,8 @@ xset r rate $XSET_DELAY $XSET_RATE
# exec /home/kevin/Downloads/dwm/reload-dwm.sh # exec /home/kevin/Downloads/dwm/reload-dwm.sh
{{ if eq .chezmoi.hostname "nzxt" }} {{ if eq .chezmoi.hostname "nzxt" }}
dunst & # dunst &
/usr/lib/notification-daemon-1.0/notification-daemon &
compton -b compton -b
imwheel & imwheel &
numlockx on & numlockx on &

View File

@@ -1 +1,18 @@
curl -s https://api.dexscreener.com/latest/dex/pairs/$1/$2| jq -r '.pairs | .[] | .priceUsd' # /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-
elif (( $(echo "$price < 1" | bc -l) )); then
printf "%0.3f\n" "$price" | cut -c 3-
elif (( $(echo "$price < 10" | bc -l) )); then
printf "%0.2f\n" "$price"
fi

View File

@@ -15,6 +15,8 @@ elif (( $(echo "$price < 1000" | bc -l) )); then
printf "%'0.1f\n" "$price" | sed 's/,//' printf "%'0.1f\n" "$price" | sed 's/,//'
elif (( $(echo "$price < 10000" | bc -l) )); then elif (( $(echo "$price < 10000" | bc -l) )); then
printf "%'0.0f\n" "$price" | sed 's/,//' printf "%'0.0f\n" "$price" | sed 's/,//'
elif (( $(echo "$price > 100000" | bc -l) )); then
printf "%'0.0f\n" "$price" | sed 's/,//' | cut -c -4
else else
echo "$price" | cut -c -3 echo "$price" | cut -c -3
fi 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

5
txt/terminal-art.txt Normal file
View File

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