Compare commits
7 Commits
single-scr
...
d405f264db
| Author | SHA1 | Date | |
|---|---|---|---|
| d405f264db | |||
| f9c5f9afe0 | |||
| 072980eaf1 | |||
| adf0cb89b9 | |||
| d56c047782 | |||
| 71b0aa5ada | |||
| 11681ecc9f |
@@ -203,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"
|
||||||
@@ -335,6 +336,7 @@ 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"
|
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"
|
kgpg "kill -9 gpg-agent && gpg-agent"
|
||||||
|
|
||||||
@@ -417,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"
|
||||||
@@ -434,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"
|
||||||
@@ -458,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"
|
||||||
@@ -534,8 +540,9 @@ 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-cash"
|
pev "pass edit finances/visa"
|
||||||
|
|
||||||
xc "xclip -selection clipboard"
|
xc "xclip -selection clipboard"
|
||||||
xo "xclip -o >"
|
xo "xclip -o >"
|
||||||
@@ -1029,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"
|
||||||
@@ -1037,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 [[[ #
|
||||||
|
|
||||||
@@ -1076,7 +1080,7 @@ ghr "github-release"
|
|||||||
|
|
||||||
do "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"
|
||||||
@@ -1095,11 +1099,11 @@ dst "docker stop"
|
|||||||
# 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"
|
||||||
@@ -1234,6 +1238,7 @@ hu "helm upgrade"
|
|||||||
# ]]] helm #
|
# ]]] helm #
|
||||||
|
|
||||||
zr "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume.pdf"
|
zr "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume.pdf"
|
||||||
|
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"
|
zrw "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume-web-dev.pdf"
|
||||||
|
|
||||||
# ]]] red-hat #
|
# ]]] red-hat #
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -274,6 +276,9 @@ ltc ~/coding/leetcode
|
|||||||
jf ~/school/job-fair
|
jf ~/school/job-fair
|
||||||
jh ~/school/job-hunt
|
jh ~/school/job-hunt
|
||||||
jhi ~/school/job-hunt/interview-questions
|
jhi ~/school/job-hunt/interview-questions
|
||||||
|
jhig ~/school/job-hunt/interview-questions/grafana
|
||||||
|
|
||||||
|
el ~/coding/eliza
|
||||||
|
|
||||||
# ]]] sch #
|
# ]]] sch #
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ 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
|
||||||
@@ -97,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 #
|
||||||
|
|
||||||
@@ -116,13 +117,13 @@ rt ~/Documents/red-hat/todo.md
|
|||||||
|
|
||||||
lip ~/Documents/linkedin/linkedin-profile.md
|
lip ~/Documents/linkedin/linkedin-profile.md
|
||||||
jhi ~/school/job-hunt/info.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
|
||||||
|
|||||||
@@ -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
11
dot_Xmodmap-vm
Normal 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
|
||||||
@@ -140,6 +140,8 @@ set -x IPAD_IMG 18
|
|||||||
|
|
||||||
source /home/kevin/coding/aws.fish
|
source /home/kevin/coding/aws.fish
|
||||||
|
|
||||||
|
set -x LIBVIRT_DEFAULT_URI qemu:///system
|
||||||
|
|
||||||
# ]]] universal var's #
|
# ]]] universal var's #
|
||||||
|
|
||||||
# fish-specific [[[ #
|
# fish-specific [[[ #
|
||||||
@@ -307,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
|
||||||
|
|||||||
3
dot_config/fish/functions/qalc-update-amount.fish
Normal file
3
dot_config/fish/functions/qalc-update-amount.fish
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
function qalc-update
|
||||||
|
qalc -e "$argv[1]USD to CAD"
|
||||||
|
end
|
||||||
@@ -1,16 +1,15 @@
|
|||||||
# startup [[[ #
|
# startup [[[ #
|
||||||
|
|
||||||
set $term kitty
|
set $term kitty
|
||||||
set $term_alt urxvt
|
|
||||||
# set $term urxvt
|
|
||||||
# set $term_alt kitty
|
|
||||||
# set $term st
|
# set $term st
|
||||||
|
# set $term_alt urxvt
|
||||||
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||||
set $term urxvt
|
set $term urxvt
|
||||||
set $term_alt kitty
|
# set $term_alt 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
|
||||||
@@ -24,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 #
|
||||||
@@ -58,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
|
||||||
@@ -420,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 #
|
||||||
@@ -596,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
|
||||||
}
|
}
|
||||||
@@ -605,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
|
||||||
|
|||||||
@@ -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 #
|
||||||
|
|||||||
@@ -43,20 +43,15 @@ TICKER=BTCUSDC
|
|||||||
interval=30
|
interval=30
|
||||||
|
|
||||||
# [ticker]
|
# [ticker]
|
||||||
# label=BTC
|
# label=btc
|
||||||
# TICKER=BTC-USD
|
# ticker=btc-usd
|
||||||
# interval=30
|
# interval=30
|
||||||
|
|
||||||
[kraken]
|
[kraken]
|
||||||
label=ETH
|
label=SOL
|
||||||
TICKER=ETHUSDC
|
TICKER=SOLUSD
|
||||||
interval=30
|
interval=30
|
||||||
|
|
||||||
# [kraken]
|
|
||||||
# label=SOL
|
|
||||||
# TICKER=SOLUSD
|
|
||||||
# interval=30
|
|
||||||
|
|
||||||
# [kraken]
|
# [kraken]
|
||||||
# label=SEI
|
# label=SEI
|
||||||
# TICKER=SEIUSD
|
# TICKER=SEIUSD
|
||||||
@@ -68,23 +63,27 @@ CHAIN=ethereum
|
|||||||
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
|
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
|
||||||
interval=30
|
interval=30
|
||||||
|
|
||||||
# [dexscreener]
|
[kraken]
|
||||||
# label=BLAST
|
label=ETH
|
||||||
# CHAIN=blast
|
TICKER=ETHUSDC
|
||||||
# PAIR=0x9A0AA28d999a21d3cf6F2703CDBba9FeAF4a32F7
|
|
||||||
# interval=30
|
|
||||||
|
|
||||||
[dexscreener]
|
|
||||||
label=LOCK
|
|
||||||
CHAIN=solana
|
|
||||||
PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
|
|
||||||
interval=30
|
interval=30
|
||||||
|
|
||||||
# [dexscreener]
|
[dexscreener]
|
||||||
# label=FLT
|
label=PENGU
|
||||||
# CHAIN=ethereum
|
CHAIN=solana
|
||||||
# PAIR=0x983b92EA1F0A20844466f3E4BB988c1dE145293E
|
PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
|
||||||
# interval=30
|
interval=5
|
||||||
|
|
||||||
|
[kraken]
|
||||||
|
label=AVAX
|
||||||
|
TICKER=AVAXUSD
|
||||||
|
interval=30
|
||||||
|
|
||||||
|
#[dexscreener]
|
||||||
|
#label=LOCK
|
||||||
|
#CHAIN=solana
|
||||||
|
#PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
|
||||||
|
#interval=30
|
||||||
|
|
||||||
# [ticker]
|
# [ticker]
|
||||||
# label=SPY
|
# label=SPY
|
||||||
@@ -114,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 #
|
||||||
@@ -157,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
|
||||||
@@ -191,9 +190,9 @@ WIDTH=220
|
|||||||
|
|
||||||
# name [[[ #
|
# name [[[ #
|
||||||
|
|
||||||
[name]
|
# [name]
|
||||||
label=
|
# label=
|
||||||
interval=30
|
# interval=30
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
# ]]] name #
|
# ]]] name #
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
1
dot_qalcrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
decimal comma 1
|
||||||
@@ -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
|
||||||
@@ -360,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 [[[ "
|
||||||
@@ -465,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>
|
||||||
|
|||||||
@@ -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 &
|
||||||
|
|||||||
@@ -11,4 +11,8 @@ if (( $(echo "$price < .09" | bc -l) )); then
|
|||||||
printf "%0.4f\n" "$price" | cut -c 4-
|
printf "%0.4f\n" "$price" | cut -c 4-
|
||||||
elif (( $(echo "$price < .1" | bc -l) )); then
|
elif (( $(echo "$price < .1" | bc -l) )); then
|
||||||
printf "%0.3f\n" "$price" | cut -c 4-
|
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
|
fi
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
5
txt/terminal-art.txt
Normal file
5
txt/terminal-art.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
- cmatrix
|
||||||
|
- pipes.sh
|
||||||
|
- jp2a
|
||||||
|
- {pacman,invaders,colors}.sh, c screenfetch, archy, toilet/figlet, doge, etc.
|
||||||
|
- cbonsai
|
||||||
Reference in New Issue
Block a user