Browse Source

i3 Metamask shortcut

master
Kevin Mok 1 week ago
parent
commit
f9c5f9afe0
No known key found for this signature in database GPG Key ID: 6DEED612B26C08E2
  1. 11
      aliases/key_aliases.tmpl
  2. 2
      aliases/key_dirs.tmpl
  3. 7
      aliases/key_files.tmpl
  4. 2
      dot_Xmodmap
  5. 11
      dot_Xmodmap-vm
  6. 2
      dot_config/fish/config.fish.tmpl
  7. 10
      dot_config/i3/config.tmpl
  8. 51
      dot_config/i3blocks/i3blocks.conf.tmpl
  9. 6
      dot_imwheelrc
  10. 1
      dot_qalcrc
  11. 3
      dot_xinitrc.tmpl
  12. 2
      scripts/executable_dexscreener
  13. 2
      scripts/executable_kraken

11
aliases/key_aliases.tmpl

@ -435,7 +435,8 @@ 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"
#kal "killall"
ka "killall"
kc "killall chromium" kc "killall chromium"
kcm "killall compton" kcm "killall compton"
kd "killall Discord && killall Discord" kd "killall Discord && killall Discord"
@ -459,6 +460,7 @@ 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 &" pc "pcmanfm &"
@ -536,8 +538,9 @@ 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-cash"
pev "pass edit finances/visa"
xc "xclip -selection clipboard" xc "xclip -selection clipboard"
xo "xclip -o >" xo "xclip -o >"
@ -1094,11 +1097,11 @@ dst "docker stop"
# kubectl [[[ # # kubectl [[[ #
k "kubectl" k "kubectl"
ka "kubectl apply -f"
kap "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"

2
aliases/key_dirs.tmpl

@ -277,6 +277,8 @@ jh ~/school/job-hunt
jhi ~/school/job-hunt/interview-questions jhi ~/school/job-hunt/interview-questions
jhig ~/school/job-hunt/interview-questions/grafana jhig ~/school/job-hunt/interview-questions/grafana
el ~/coding/eliza
# ]]] sch # # ]]] sch #
# personal [[[ # # personal [[[ #

7
aliases/key_files.tmpl

@ -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/24/4.md
jt ~/Documents/journal/todo/25/1.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
@ -122,9 +122,8 @@ jhb ~/school/job-hunt/b.md
# ]]] pey # # ]]] pey #
ej ~/Documents/emojis/emojis.md ej ~/Documents/emojis/emojis.md
nf ~/Documents/twitter/nft-24.md
ra ~/Documents/chat/reddit/avatar.md
ds ~/Documents/nft/deep-sea-research.md
nf ~/Documents/twitter/nft-25.md
sg ~/Documents/chat/signal/jay-groups.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

2
dot_Xmodmap

@ -1,8 +1,8 @@
clear Lock clear Lock
keycode 9 = Caps_Lock keycode 9 = Caps_Lock
keycode 22 = BackSpace
keycode 66 = Escape keycode 66 = Escape
keycode 22 = BackSpace
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

11
dot_Xmodmap-vm

@ -0,0 +1,11 @@
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

2
dot_config/fish/config.fish.tmpl

@ -140,6 +140,8 @@ 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 [[[ #

10
dot_config/i3/config.tmpl

@ -8,7 +8,8 @@ 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,7 +24,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 $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 $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 #
@ -57,7 +58,8 @@ 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
@ -419,7 +421,7 @@ 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+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'

51
dot_config/i3blocks/i3blocks.conf.tmpl

@ -48,8 +48,8 @@ interval=30
# interval=30 # interval=30
[kraken] [kraken]
label=ETH
TICKER=ETHUSDC
label=SOL
TICKER=SOLUSD
interval=30 interval=30
# [kraken] # [kraken]
@ -57,45 +57,28 @@ interval=30
# TICKER=SEIUSD # TICKER=SEIUSD
# interval=30 # interval=30
[kraken]
label=SOL
TICKER=SOLUSD
interval=30
#[kraken]
#label=APE
#TICKER=APEUSD
#interval=30
#[dexscreener]
#label=GOAT
#CHAIN=solana
#PAIR=9Tb2ohu5P16BpBarqd3N27WnkF51Ukfs8Z1GzzLDxVZW
#interval=15
[dexscreener]
label=LOCK
CHAIN=solana
PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
interval=30
[dexscreener] [dexscreener]
label=PIXL label=PIXL
CHAIN=ethereum CHAIN=ethereum
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
interval=30 interval=30
# [dexscreener]
# label=BLAST
# CHAIN=blast
# PAIR=0x9A0AA28d999a21d3cf6F2703CDBba9FeAF4a32F7
# interval=30
[kraken]
label=ETH
TICKER=ETHUSDC
interval=30
# [dexscreener]
# label=FLT
# CHAIN=ethereum
# PAIR=0x983b92EA1F0A20844466f3E4BB988c1dE145293E
# interval=30
[dexscreener]
label=PENGU
CHAIN=solana
PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
interval=5
#[dexscreener]
#label=LOCK
#CHAIN=solana
#PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
#interval=30
# [ticker] # [ticker]
# label=SPY  # label=SPY 

6
dot_imwheelrc

@ -1,5 +1,7 @@
".*" ".*"
/* None, Up, Button4, 3 */ /* None, Up, Button4, 3 */
/* None, Down, Button5, 3 */ /* None, Down, Button5, 3 */
None, Up, Button4, .5
None, Down, Button5, .5
/* None, Up, Button4, .5 */
/* None, Down, Button5, .5 */
None, Up, Button4, .1
None, Down, Button5, .1

1
dot_qalcrc

@ -0,0 +1 @@
decimal comma 1

3
dot_xinitrc.tmpl

@ -14,7 +14,8 @@ 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 &

2
scripts/executable_dexscreener

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

2
scripts/executable_kraken

@ -15,6 +15,8 @@ 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
Loading…
Cancel
Save