Compare commits
2 Commits
d405f264db
...
single-scr
| Author | SHA1 | Date | |
|---|---|---|---|
| 8eed1c71db | |||
| 8781493ffb |
@@ -203,8 +203,7 @@ 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"
|
||||||
@@ -336,7 +335,6 @@ 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"
|
||||||
|
|
||||||
@@ -419,7 +417,6 @@ 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"
|
||||||
@@ -437,7 +434,6 @@ 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"
|
||||||
@@ -462,10 +458,8 @@ 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"
|
||||||
@@ -540,9 +534,8 @@ 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-cash"
|
||||||
|
|
||||||
xc "xclip -selection clipboard"
|
xc "xclip -selection clipboard"
|
||||||
xo "xclip -o >"
|
xo "xclip -o >"
|
||||||
@@ -1036,7 +1029,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"
|
||||||
@@ -1044,10 +1037,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 [[[ #
|
||||||
|
|
||||||
@@ -1080,7 +1076,7 @@ ghr "github-release"
|
|||||||
|
|
||||||
do "docker"
|
do "docker"
|
||||||
db "docker build"
|
db "docker build"
|
||||||
dcm "docker-compose"
|
dc "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"
|
||||||
@@ -1099,11 +1095,11 @@ dst "docker stop"
|
|||||||
# kubectl [[[ #
|
# kubectl [[[ #
|
||||||
|
|
||||||
k "kubectl"
|
k "kubectl"
|
||||||
kap "kubectl apply -f"
|
ka "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"
|
||||||
@@ -1238,7 +1234,6 @@ 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,7 +7,6 @@ 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
|
||||||
@@ -26,7 +25,6 @@ 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
|
||||||
@@ -276,9 +274,6 @@ 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/25/1.md
|
jt ~/Documents/journal/todo/24/4.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,7 +97,6 @@ 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 #
|
||||||
|
|
||||||
@@ -117,13 +116,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-25.md
|
nf ~/Documents/twitter/nft-24.md
|
||||||
sg ~/Documents/chat/signal/jay-groups.md
|
ra ~/Documents/chat/reddit/avatar.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 66 = Escape
|
|
||||||
keycode 22 = BackSpace
|
keycode 22 = BackSpace
|
||||||
|
keycode 66 = Escape
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
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,8 +140,6 @@ 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 [[[ #
|
||||||
@@ -309,5 +307,6 @@ 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
|
cat /home/kevin/.cache/wal/sequences
|
||||||
# ~/scripts/xmodmap-custom
|
# ~/scripts/xmodmap-custom
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
function qalc-update
|
|
||||||
qalc -e "$argv[1]USD to CAD"
|
|
||||||
end
|
|
||||||
@@ -1,15 +1,16 @@
|
|||||||
# 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
|
||||||
@@ -23,8 +24,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 #
|
||||||
@@ -58,8 +58,7 @@ 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
|
||||||
@@ -421,11 +420,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 #
|
||||||
@@ -581,8 +579,8 @@ bar {
|
|||||||
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||||
font pango:$sb_font 17
|
font pango:$sb_font 17
|
||||||
{{ else }}
|
{{ else }}
|
||||||
# font pango:$sb_font 17
|
font pango:$sb_font 17
|
||||||
font pango:$sb_font 16
|
# font pango:$sb_font 16
|
||||||
{{ end }}
|
{{ end }}
|
||||||
colors {
|
colors {
|
||||||
# 0 (transparent) -> 255 (opaque) in hex
|
# 0 (transparent) -> 255 (opaque) in hex
|
||||||
@@ -597,8 +595,8 @@ bar {
|
|||||||
tray_output none
|
tray_output none
|
||||||
# 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
|
output $secondary
|
||||||
wheel_up_cmd nop
|
wheel_up_cmd nop
|
||||||
wheel_down_cmd nop
|
wheel_down_cmd nop
|
||||||
}
|
}
|
||||||
@@ -607,32 +605,31 @@ 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
|
||||||
i3bar_command i3bar -t
|
# i3bar_command i3bar -t
|
||||||
colors {
|
# colors {
|
||||||
background $black$bar_trans
|
# background $black$bar_trans
|
||||||
# border, bg, text color
|
# # border, bg, text color
|
||||||
# focused_workspace $inactive_ws_bg $bg $focused_ws_text
|
# # focused_workspace $inactive_ws_bg $bg $focused_ws_text
|
||||||
focused_workspace $inactive_ws_bg $bg $fg
|
# focused_workspace $inactive_ws_bg $bg $fg
|
||||||
active_workspace $inactive_ws_bg $fg$active_ws_trans $fg
|
# active_workspace $inactive_ws_bg $fg$active_ws_trans $fg
|
||||||
inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_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 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
|
# # status_command 2>/tmp/i3blocks-sam.err i3blocks -vvv -c ~/.config/i3blocks/sam-i3blocks.conf | tee /tmp/i3blocks-sam.out
|
||||||
tray_output none
|
# tray_output none
|
||||||
wheel_up_cmd nop
|
# wheel_up_cmd nop
|
||||||
wheel_down_cmd nop
|
# wheel_down_cmd nop
|
||||||
}
|
# }
|
||||||
|
|
||||||
# ]]] secondary bar #
|
# ]]] secondary bar #
|
||||||
|
|
||||||
|
|||||||
@@ -26,12 +26,12 @@ interval=5
|
|||||||
|
|
||||||
[cpu_usage]
|
[cpu_usage]
|
||||||
label=
|
label=
|
||||||
interval=2
|
interval=5
|
||||||
|
|
||||||
[memory]
|
[memory]
|
||||||
label=
|
label=
|
||||||
# color=#3da061
|
# color=#3da061
|
||||||
interval=2
|
interval=5
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
# ]]] sys.monitoring #
|
# ]]] sys.monitoring #
|
||||||
|
|||||||
@@ -43,15 +43,20 @@ 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=SOL
|
label=ETH
|
||||||
TICKER=SOLUSD
|
TICKER=ETHUSDC
|
||||||
interval=30
|
interval=30
|
||||||
|
|
||||||
|
# [kraken]
|
||||||
|
# label=SOL
|
||||||
|
# TICKER=SOLUSD
|
||||||
|
# interval=30
|
||||||
|
|
||||||
# [kraken]
|
# [kraken]
|
||||||
# label=SEI
|
# label=SEI
|
||||||
# TICKER=SEIUSD
|
# TICKER=SEIUSD
|
||||||
@@ -63,27 +68,23 @@ CHAIN=ethereum
|
|||||||
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
|
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
|
||||||
interval=30
|
interval=30
|
||||||
|
|
||||||
[kraken]
|
# [dexscreener]
|
||||||
label=ETH
|
# label=BLAST
|
||||||
TICKER=ETHUSDC
|
# CHAIN=blast
|
||||||
interval=30
|
# PAIR=0x9A0AA28d999a21d3cf6F2703CDBba9FeAF4a32F7
|
||||||
|
# interval=30
|
||||||
|
|
||||||
[dexscreener]
|
[dexscreener]
|
||||||
label=PENGU
|
label=LOCK
|
||||||
CHAIN=solana
|
CHAIN=solana
|
||||||
PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
|
PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
|
||||||
interval=5
|
|
||||||
|
|
||||||
[kraken]
|
|
||||||
label=AVAX
|
|
||||||
TICKER=AVAXUSD
|
|
||||||
interval=30
|
interval=30
|
||||||
|
|
||||||
#[dexscreener]
|
# [dexscreener]
|
||||||
#label=LOCK
|
# label=FLT
|
||||||
#CHAIN=solana
|
# CHAIN=ethereum
|
||||||
#PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
|
# PAIR=0x983b92EA1F0A20844466f3E4BB988c1dE145293E
|
||||||
#interval=30
|
# interval=30
|
||||||
|
|
||||||
# [ticker]
|
# [ticker]
|
||||||
# label=SPY
|
# label=SPY
|
||||||
@@ -156,7 +157,7 @@ interval=5
|
|||||||
# time [[[ #
|
# time [[[ #
|
||||||
|
|
||||||
[calendar]
|
[calendar]
|
||||||
interval=5
|
interval=30
|
||||||
label=
|
label=
|
||||||
# {{ if eq .chezmoi.hostname "nzxt" }}
|
# {{ if eq .chezmoi.hostname "nzxt" }}
|
||||||
# DATEFMT=+%H:%M
|
# DATEFMT=+%H:%M
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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,7 +1,5 @@
|
|||||||
".*"
|
".*"
|
||||||
/* None, Up, Button4, 3 */
|
/* None, Up, Button4, 3 */
|
||||||
/* None, Down, Button5, 3 */
|
/* None, Down, Button5, 3 */
|
||||||
/* None, Up, Button4, .5 */
|
None, Up, Button4, 1
|
||||||
/* None, Down, Button5, .5 */
|
None, Down, Button5, 1
|
||||||
None, Up, Button4, .1
|
|
||||||
None, Down, Button5, .1
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
decimal comma 1
|
|
||||||
@@ -57,7 +57,6 @@ 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,
|
||||||
@@ -151,10 +150,10 @@ Plug 'vim-scripts/L9'
|
|||||||
" find files from within Vim
|
" find files from within Vim
|
||||||
" Plug 'vim-scripts/FuzzyFinder'
|
" Plug 'vim-scripts/FuzzyFinder'
|
||||||
|
|
||||||
{{ if not .gui }}
|
" {{ if not .gui }}
|
||||||
" Gotham color scheme
|
" Gotham color scheme
|
||||||
Plug 'whatyouhide/vim-gotham'
|
Plug 'whatyouhide/vim-gotham'
|
||||||
{{ end }}
|
" {{ end }}
|
||||||
|
|
||||||
" " collection of Vim color schemes
|
" " collection of Vim color schemes
|
||||||
" Plug 'flazz/vim-colorschemes'
|
" Plug 'flazz/vim-colorschemes'
|
||||||
@@ -234,6 +233,26 @@ 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:SuperTabDefaultCompletionType = '<C-n>'
|
||||||
|
|
||||||
|
" easily comment/uncomment lines
|
||||||
|
Plug 'scrooloose/nerdcommenter'
|
||||||
|
let g:NERDTrimTrailingWhitespace = 1
|
||||||
|
let g:NERDSpaceDelims = 1
|
||||||
|
|
||||||
|
" add quotes/brackets around chunks of text easily
|
||||||
|
Plug 'tpope/vim-surround'
|
||||||
|
nmap S ys
|
||||||
|
|
||||||
|
" navigate around file easily and precisely
|
||||||
|
Plug 'easymotion/vim-easymotion'
|
||||||
|
map <Space> <Plug>(easymotion-prefix)
|
||||||
|
|
||||||
|
" status bar displaying various info about the current buffer
|
||||||
|
Plug 'vim-airline/vim-airline'
|
||||||
|
let g:airline_section_c = '%F'
|
||||||
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
let g:airline_theme='supernova'
|
let g:airline_theme='supernova'
|
||||||
|
|
||||||
@@ -243,6 +262,7 @@ 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 'AlphaTechnolog/pywal.nvim', { 'as': 'pywal' }
|
||||||
" Plug 'morhetz/gruvbox'
|
" Plug 'morhetz/gruvbox'
|
||||||
Plug 'bluz71/vim-nightfly-colors', { 'as': 'nightfly' }
|
Plug 'bluz71/vim-nightfly-colors', { 'as': 'nightfly' }
|
||||||
|
|
||||||
@@ -342,9 +362,6 @@ 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 [[[ "
|
||||||
@@ -354,7 +371,9 @@ call plug#end()
|
|||||||
{{ if .gui }}
|
{{ if .gui }}
|
||||||
" autocmd vimenter * ++nested colorscheme gruvbox
|
" autocmd vimenter * ++nested colorscheme gruvbox
|
||||||
" colorscheme wal
|
" colorscheme wal
|
||||||
colorscheme nightfly
|
colorscheme pywal
|
||||||
|
" colorscheme nightfly
|
||||||
|
" colorscheme gotham256
|
||||||
{{ else }}
|
{{ else }}
|
||||||
colorscheme gotham256
|
colorscheme gotham256
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -450,7 +469,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,8 +14,7 @@ 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,8 +11,4 @@ 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,8 +15,6 @@ 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
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
- cmatrix
|
|
||||||
- pipes.sh
|
|
||||||
- jp2a
|
|
||||||
- {pacman,invaders,colors}.sh, c screenfetch, archy, toilet/figlet, doge, etc.
|
|
||||||
- cbonsai
|
|
||||||
Reference in New Issue
Block a user