Browse Source

Fix Vim commenting

master
Kevin Mok 2 months ago
parent
commit
adf0cb89b9
No known key found for this signature in database GPG Key ID: 6DEED612B26C08E2
  1. 6
      aliases/key_aliases.tmpl
  2. 1
      aliases/key_dirs.tmpl
  3. 1
      aliases/key_files.tmpl
  4. 3
      dot_config/fish/functions/qalc-update-amount.fish
  5. 2
      dot_config/i3/config.tmpl
  6. 50
      dot_config/i3blocks/i3blocks.conf.tmpl
  7. 3
      dot_vimrc.tmpl
  8. 2
      scripts/executable_dexscreener

6
aliases/key_aliases.tmpl

@ -203,7 +203,8 @@ uzl "unzip -l"
# power options [[[ #
s "systemctl suspend"
# s "systemctl suspend"
s "xset dpms force off"
# sl "i3lock-fancy && systemctl suspend"
# so "xset dpms force off"
xx "exit"
@ -434,7 +435,7 @@ htm "htop -s PERCENT_MEM"
ia "sxiv -a"
it "sxiv -t *"
kill "kill -9"
ka "killall"
kal "killall"
kc "killall chromium"
kcm "killall compton"
kd "killall Discord && killall Discord"
@ -460,6 +461,7 @@ nl "nload devices wlp4s0 -u M"
nm "nomacs . &"
np "nvim --"
ndu "ncdu"
pc "pcmanfm &"
p3 "python3"
pdft "pdftotext"
pdu "pdfunite"

1
aliases/key_dirs.tmpl

@ -275,6 +275,7 @@ ltc ~/coding/leetcode
jf ~/school/job-fair
jh ~/school/job-hunt
jhi ~/school/job-hunt/interview-questions
jhig ~/school/job-hunt/interview-questions/grafana
# ]]] sch #

1
aliases/key_files.tmpl

@ -117,6 +117,7 @@ rt ~/Documents/red-hat/todo.md
lip ~/Documents/linkedin/linkedin-profile.md
jhi ~/school/job-hunt/info.md
jhb ~/school/job-hunt/b.md
# ]]] pey #

3
dot_config/fish/functions/qalc-update-amount.fish

@ -0,0 +1,3 @@
function qalc-update
qalc -e "$argv[1]USD to CAD"
end

2
dot_config/i3/config.tmpl

@ -23,7 +23,7 @@ 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 firefox -P nft'
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 $ws6; exec signal-desktop'
# exec --no-startup-id i3-msg workspace $ws1; exec $term -e fish -c 'tmux-attach school'
# ]]] startup #

50
dot_config/i3blocks/i3blocks.conf.tmpl

@ -43,8 +43,8 @@ TICKER=BTCUSDC
interval=30
# [ticker]
# label=BTC
# TICKER=BTC-USD
# label=btc
# ticker=btc-usd
# interval=30
[kraken]
@ -62,6 +62,18 @@ label=SOL
TICKER=SOLUSD
interval=30
[dexscreener]
label=GOAT
CHAIN=solana
PAIR=9Tb2ohu5P16BpBarqd3N27WnkF51Ukfs8Z1GzzLDxVZW
interval=15
[dexscreener]
label=LOCK
CHAIN=solana
PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
interval=30
[dexscreener]
label=PIXL
CHAIN=ethereum
@ -74,12 +86,6 @@ interval=30
# PAIR=0x9A0AA28d999a21d3cf6F2703CDBba9FeAF4a32F7
# interval=30
# [dexscreener]
# label=LOCK
# CHAIN=solana
# PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
# interval=30
# [dexscreener]
# label=FLT
# CHAIN=ethereum
@ -114,16 +120,16 @@ interval=60
# SHORT_NAME=
# interval=5
[spotify]
# command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
# label=
label=
# label=🎧
# green
# color=#198c19
# aqua
# color=#2d7272
interval=5
# [spotify]
# # command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
# # label=
# label=
# # label=🎧
# # green
# # color=#198c19
# # aqua
# # color=#2d7272
# interval=5
{{ end }}
# ]]] volume/spotify #
@ -157,7 +163,7 @@ interval=5
# time [[[ #
[calendar]
interval=30
interval=5
label=
# {{ if eq .chezmoi.hostname "nzxt" }}
# DATEFMT=+%H:%M
@ -191,9 +197,9 @@ WIDTH=220
# name [[[ #
[name]
label=
interval=30
# [name]
# label=
# interval=30
{{ end }}
# ]]] name #

3
dot_vimrc.tmpl

@ -343,7 +343,8 @@ Plug 'cristianoliveira/vim-react-html-snippets'
Plug 'jidn/vim-dbml'
" Plug 'FuDesign2008/emoji-snippets.vim'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
" Plug 'tpope/vim-commentary'
Plug 'preservim/nerdcommenter'
" ]]] vim-plug "
" Mappings [[[ "

2
scripts/executable_dexscreener

@ -11,4 +11,6 @@ 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-
elif (( $(echo "$price < 1" | bc -l) )); then
printf "%0.3f\n" "$price" | cut -c 3-
fi
Loading…
Cancel
Save