Browse Source

Vim set colorscheme, notepad 4th workspace icon

single-screen
Kevin Mok 4 months ago
parent
commit
a4946bf75d
No known key found for this signature in database GPG Key ID: 6DEED612B26C08E2
  1. 2
      aliases/key_aliases.tmpl
  2. 10
      dot_config/i3/config.tmpl
  3. 6
      dot_config/i3blocks/i3blocks.conf.tmpl
  4. 6
      dot_vimrc.tmpl
  5. 4
      scripts/executable_dexscreener

2
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 #

10
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'

6
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

6
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 }}

4
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
Loading…
Cancel
Save