From a4946bf75dff99ef70cc673bc9a14e021acba7bd Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Wed, 10 Jul 2024 22:20:47 -0400 Subject: [PATCH] Vim set colorscheme, notepad 4th workspace icon --- aliases/key_aliases.tmpl | 2 +- dot_config/i3/config.tmpl | 10 ++++++---- dot_config/i3blocks/i3blocks.conf.tmpl | 6 ++++++ dot_vimrc.tmpl | 6 +++++- scripts/executable_dexscreener | 4 +++- 5 files changed, 21 insertions(+), 7 deletions(-) diff --git a/aliases/key_aliases.tmpl b/aliases/key_aliases.tmpl index f08aa6a..41a1053 100644 --- a/aliases/key_aliases.tmpl +++ b/aliases/key_aliases.tmpl @@ -1085,7 +1085,7 @@ dp "docker push" dr "docker run" drm "docker remove" drmi "docker rmi -f" -ds "docker stop" +dst "docker stop" # ]]] docker # diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl index 9747055..a4b58bb 100755 --- a/dot_config/i3/config.tmpl +++ b/dot_config/i3/config.tmpl @@ -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' diff --git a/dot_config/i3blocks/i3blocks.conf.tmpl b/dot_config/i3blocks/i3blocks.conf.tmpl index 660c8bb..a74aad1 100755 --- a/dot_config/i3blocks/i3blocks.conf.tmpl +++ b/dot_config/i3blocks/i3blocks.conf.tmpl @@ -68,6 +68,12 @@ CHAIN=ethereum PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc interval=30 +# [dexscreener] +# label=BLAST +# CHAIN=blast +# PAIR=0x9A0AA28d999a21d3cf6F2703CDBba9FeAF4a32F7 +# interval=30 + [dexscreener] label=LOCK CHAIN=solana diff --git a/dot_vimrc.tmpl b/dot_vimrc.tmpl index 3aa5e96..f87e2a1 100644 --- a/dot_vimrc.tmpl +++ b/dot_vimrc.tmpl @@ -261,6 +261,8 @@ Plug 'dkarter/bullets.vim' " coordinate Vim color scheme with terminal color scheme Plug 'dylanaraps/wal.vim' +" Plug 'morhetz/gruvbox' +Plug 'bluz71/vim-nightfly-colors', { 'as': 'nightfly' } " repeat plugin commands Plug 'tpope/vim-repeat' @@ -365,7 +367,9 @@ Plug 'jidn/vim-dbml' call plug#end() {{ if .gui }} -colorscheme wal +" colorscheme wal +" autocmd vimenter * ++nested colorscheme gruvbox +colorscheme nightfly {{ else }} colorscheme gotham256 {{ end }} diff --git a/scripts/executable_dexscreener b/scripts/executable_dexscreener index 10eda57..c3c8886 100755 --- a/scripts/executable_dexscreener +++ b/scripts/executable_dexscreener @@ -7,6 +7,8 @@ price=$(echo "$raw" | jq -r ".pairs | .[] | .priceUsd") # 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 < .1" | bc -l) )); then +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