Browse Source

Vim set colorscheme, notepad 4th workspace icon

single-screen
Kevin Mok 5 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" 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 #

10
dot_config/i3/config.tmpl

@ -1,12 +1,14 @@
# 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 st
set $term_alt kitty
# set $term_alt st
# set $term_alt urxvt # set $term_alt urxvt
exec dunst exec dunst
exec compton exec compton
@ -370,7 +372,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'

6
dot_config/i3blocks/i3blocks.conf.tmpl

@ -68,6 +68,12 @@ CHAIN=ethereum
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
interval=30 interval=30
# [dexscreener]
# label=BLAST
# CHAIN=blast
# PAIR=0x9A0AA28d999a21d3cf6F2703CDBba9FeAF4a32F7
# interval=30
[dexscreener] [dexscreener]
label=LOCK label=LOCK
CHAIN=solana CHAIN=solana

6
dot_vimrc.tmpl

@ -261,6 +261,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'
@ -365,7 +367,9 @@ Plug 'jidn/vim-dbml'
call plug#end() call plug#end()
{{ if .gui }} {{ if .gui }}
colorscheme wal
" colorscheme wal
" autocmd vimenter * ++nested colorscheme gruvbox
colorscheme nightfly
{{ else }} {{ else }}
colorscheme gotham256 colorscheme gotham256
{{ end }} {{ end }}

4
scripts/executable_dexscreener

@ -7,6 +7,8 @@ price=$(echo "$raw" | jq -r ".pairs | .[] | .priceUsd")
# 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-
if (( $(echo "$price < .1" | bc -l) )); then
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
printf "%0.3f\n" "$price" | cut -c 4-
fi fi
Loading…
Cancel
Save