diff --git a/aliases/key_aliases.tmpl b/aliases/key_aliases.tmpl index 14672b0..ae2b7b5 100644 --- a/aliases/key_aliases.tmpl +++ b/aliases/key_aliases.tmpl @@ -51,7 +51,8 @@ ngb "sudo nvim /etc/default/grub" mgb "sudo grub-mkconfig -o /boot/grub/grub.cfg" # a "bat" -b "bat" +#b "bat" +b "vimpager" # ba "bat *" awkp "awk -F',' '{print \$0}'" cpr "cp -r" @@ -417,6 +418,7 @@ bw "buku --immutable 1 -w -1" # ]]] buku # ca "currency CAD USD" us "currency USD CAD" +qe "currency USD CAD 1" cc "calcurse" ccc "calcurse -D ~/.calcurse/alt-cals/class" cci "calcurse -i" @@ -484,7 +486,7 @@ pcp "pycp" pmv "pymv" py "python" q "qalc '" -qe "qalc -e '1USD to CAD'" +#qe "qalc -e '1USD to CAD'" qg "qalculate-gtk" r "ranger" rbg "ranger --selectfile (grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2)" @@ -514,6 +516,7 @@ tas3 "tmux a -t school-3 || tmux new -s school-3" tas4 "tmux a -t school-4 || tmux new -s school-4" tal "tmux a" tc "clear && tmux clear-history" +th "thunar . &" # tk "tmux kill-server" tks "tmux kill-session -t" tksv "tmux kill-server" @@ -552,7 +555,7 @@ pg "pass generate -c" ps "pass show" psr "pass rm" psi "pass show info | bat" -pev "pass edit finances/visa" +pev "pass edit finances/visa-cash" xc "xclip -selection clipboard" xo "xclip -o >" @@ -932,7 +935,7 @@ rt "python ~/coding/rt-scraper/!rt-scraper.py" # ada-mario [[[ # mm "printf '\033c' && bear make clean move_mouse_with_head && ./move_mouse_with_head" -med "printf '\033c' && bear make clean eye_detector && ./eye_detector" +#med "printf '\033c' && bear make clean eye_detector && ./eye_detector" mft "printf '\033c' && bear make clean face_detector && ./face_detector" rft "~/coding/face-tracker/face_detector > /tmp/move_mouse_with_head.out" # gpsb "git push bitbucket" @@ -1058,6 +1061,14 @@ ttlo "timetrace start look@job" ttle "timetrace start leetcode@job" ts "npx tsc" +njs "node src/download-json.js" +xi "npx ts-node src/index.ts" +xs "npx ts-node src/sync.ts" +#xsv "nodemon --exec node --loader ts-node/esm src/server.ts" +#xsv "npx nodemon" +xsv "nodemon --exec tsx src/server.ts" +cl "npx ts-node src/cli.ts list-nfts -p 5 -t 100" +clw "watch npx ts-node src/cli.ts list-nfts -p 5 -t 100" # ]]] work # diff --git a/aliases/key_dirs.tmpl b/aliases/key_dirs.tmpl index e9377d5..081f409 100644 --- a/aliases/key_dirs.tmpl +++ b/aliases/key_dirs.tmpl @@ -5,7 +5,7 @@ bg ~/Pictures/Backgrounds cf ~/linux-config/dot_config cfg ~/.config -cff ~/.config/fish +cfgf ~/.config/fish ch ~/Documents/chat dc ~/Documents/chat/discord da /mnt/ipad/DCIM/101APPLE @@ -23,7 +23,7 @@ lfv2 /mnt/linux-files-2/Videos lfv2s /mnt/linux-files-2/Videos/shows lfy /mnt/linux-files/Videos/yt a2 /mnt/linux-files-2/arch-2/full/home/kevin -me /run/media/kevin +medi /media/kevin o / pd ~/.password-store pfp /mnt/linux-files-2/arch-2/full/home/kevin/Pictures/profile-pics @@ -149,7 +149,7 @@ Css ~/Pictures/screenshots/mobile/codm fn ~/Documents/fortnite fnc /mnt/linux-files/Videos/yt/fortnite/clips/4 fni /mnt/ipad/DCIM/100APPLE -fnm ~/Documents/fortnite/pics/maps +#fnm ~/Documents/fortnite/pics/maps fnn ~/Documents/fortnite/notes fnp ~/Documents/fortnite/pics fns ~/Documents/fortnite/stats/api @@ -282,6 +282,13 @@ anb ~/coding/ai-nft-proj/backend anf ~/coding/ai-nft-proj/frontend tt ~/coding/try-eliza-twitter-client +me ~/coding/me-sniper +mef ~/coding/me-sniper-fe +med ~/coding/me-sniper-discord +me2 ~/coding/me-sniper-2 + +mu ~/coding/stakemetrix + # ]]] sch # # personal [[[ # diff --git a/aliases/key_files.tmpl b/aliases/key_files.tmpl index 9212da9..3ce8fd5 100644 --- a/aliases/key_files.tmpl +++ b/aliases/key_files.tmpl @@ -46,7 +46,7 @@ hh ~/.habitctl/habits hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log id ~/Documents/journal/todo/ideas.md ig ./.gitignore -jt ~/Documents/journal/todo/25/1.md +jt ~/Documents/journal/todo/25/2.md k ~/linux-config/dot_config/kitty/kitty.conf lh ~/Documents/listening-history/polarbier.csv mc ~/coding/mf-site/assets/sass/main.scss diff --git a/dot_config/fish/config.fish.tmpl b/dot_config/fish/config.fish.tmpl index e6e996c..0f1d5bd 100755 --- a/dot_config/fish/config.fish.tmpl +++ b/dot_config/fish/config.fish.tmpl @@ -139,7 +139,6 @@ set -xU LOCAL_KOGITO_SERVICE_PORT "32000" # set -xU LOCAL_KOGITO_SERVICE_URL "$MINIKUBE_IP:$LOCAL_KOGITO_SERVICE_PORT" set -x FLASK_DEBUG 1 -set -x DB_NAME "covid_monitor" set -x FULLNODE_API_INFO wss://api.chain.love @@ -149,6 +148,8 @@ set -x IPAD_IMG 18 set -x LIBVIRT_DEFAULT_URI qemu:///system +set --erase DB_NAME + # ]]] universal var's # # fish-specific [[[ # @@ -224,8 +225,8 @@ abbr bun "backup nzxt" abbr bupp "backup-phone-pics" #abbr ca "cad-to-us" abbr cccs "sync-alt-cal class" -abbr cl "clip" -abbr cli "clip-ipad" +#abbr cl "clip" +#abbr cli "clip-ipad" abbr cpc "copy cat" abbr cpe "copy echo" abbr cpp "copy echo (pwd)" diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl index 26aea19..ae2e032 100755 --- a/dot_config/i3/config.tmpl +++ b/dot_config/i3/config.tmpl @@ -21,10 +21,11 @@ exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/editi # exec --no-startup-id i3-msg 'workspace $ws1; exec $term' # exec --no-startup-id i3-msg 'workspace $ws2; exec $term -e fish -c "tmux-attach fortnite"' exec --no-startup-id i3-msg 'workspace $ws3; exec $browser' +exec --no-startup-id i3-msg 'workspace $ws3; exec chrome' # 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 # diff --git a/dot_config/i3blocks/i3blocks.conf.tmpl b/dot_config/i3blocks/i3blocks.conf.tmpl index ca9dfa7..28ddff3 100755 --- a/dot_config/i3blocks/i3blocks.conf.tmpl +++ b/dot_config/i3blocks/i3blocks.conf.tmpl @@ -35,6 +35,13 @@ color=#cbe4ff # TICKER=ETH-USD # interval=30 +[dexscreener] +label=HERO +#CHAIN=solana +#PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV +command=/home/kevin/.config/i3blocks/scripts/dexscreener abstract 0x3771b51b5a705338fa19702f249afcaa94b0cd8c +interval=5 + [kraken] label=BTC #TICKER=BTCUSDC @@ -71,12 +78,12 @@ label=PIXL command=/home/kevin/.config/i3blocks/scripts/dexscreener ethereum 0x31c0ba10e4e12be6cdceb612e5e829d977532bfc interval=30 -[dexscreener] -label=PENGU -#CHAIN=solana -#PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV -command=/home/kevin/.config/i3blocks/scripts/dexscreener solana B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV -interval=5 +#[dexscreener] +#label=PENGU +##CHAIN=solana +##PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV +#command=/home/kevin/.config/i3blocks/scripts/dexscreener solana B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV +#interval=5 #[dexscreener-fdv] #label=TRUMP diff --git a/dot_config/mimeapps-ffox.list b/dot_config/mimeapps-ffox.list index 866a74b..0977292 100644 --- a/dot_config/mimeapps-ffox.list +++ b/dot_config/mimeapps-ffox.list @@ -1,9 +1,9 @@ [Default Applications] -text/html=firefox.desktop -x-scheme-handler/http=firefox.desktop -x-scheme-handler/https=firefox.desktop -x-scheme-handler/about=chromium.desktop -x-scheme-handler/unknown=chromium.desktop +text/html=firefox_firefox.desktop +x-scheme-handler/http=firefox_firefox.desktop +x-scheme-handler/https=firefox_firefox.desktop +x-scheme-handler/about=firefox_firefox.desktop +x-scheme-handler/unknown=firefox_firefox.desktop x-scheme-handler/ftp=firefox.desktop x-scheme-handler/chrome=firefox.desktop application/x-extension-htm=firefox.desktop @@ -17,6 +17,8 @@ message/rfc822=userapp-Thunderbird-DQE3YZ.desktop image/jpeg=sxiv.desktop image/png=sxiv.desktop x-scheme-handler/discord-409416265891971072=discord-409416265891971072.desktop +x-scheme-handler/eclipse+command=_usr_lib_dbeaver_.desktop +video/mp4=mpv.desktop [Added Associations] x-scheme-handler/http=firefox.desktop; @@ -31,3 +33,4 @@ application/json=firefox.desktop; image/jpeg=gimp.desktop;imv.desktop; text/markdown=nvim.desktop; image/png=imv.desktop; +video/mp4=mpv.desktop; diff --git a/dot_config/mimeapps.list b/dot_config/mimeapps.list index 0977292..3942a27 100644 --- a/dot_config/mimeapps.list +++ b/dot_config/mimeapps.list @@ -1,9 +1,9 @@ [Default Applications] -text/html=firefox_firefox.desktop -x-scheme-handler/http=firefox_firefox.desktop -x-scheme-handler/https=firefox_firefox.desktop -x-scheme-handler/about=firefox_firefox.desktop -x-scheme-handler/unknown=firefox_firefox.desktop +text/html=google-chrome.desktop +x-scheme-handler/http=google-chrome.desktop +x-scheme-handler/https=google-chrome.desktop +x-scheme-handler/about=google-chrome.desktop +x-scheme-handler/unknown=google-chrome.desktop x-scheme-handler/ftp=firefox.desktop x-scheme-handler/chrome=firefox.desktop application/x-extension-htm=firefox.desktop diff --git a/dot_imwheelrc b/dot_imwheelrc index bea1368..c31b73e 100644 --- a/dot_imwheelrc +++ b/dot_imwheelrc @@ -3,5 +3,5 @@ /* None, Down, Button5, 3 */ /* None, Up, Button4, .5 */ /* None, Down, Button5, .5 */ -None, Up, Button4, .1 -None, Down, Button5, .1 +None, Up, Button4, .01 +None, Down, Button5, .01 diff --git a/dot_xinitrc.tmpl b/dot_xinitrc.tmpl index 76253ff..cb46c70 100644 --- a/dot_xinitrc.tmpl +++ b/dot_xinitrc.tmpl @@ -13,10 +13,9 @@ redshift -O 3000 xset r rate $XSET_DELAY $XSET_RATE # exec /home/kevin/Downloads/dwm/reload-dwm.sh -{{ if eq .chezmoi.hostname "nzxt" }} # dunst & /usr/lib/notification-daemon-1.0/notification-daemon & -compton -b +picom & imwheel & numlockx on & start-pulseaudio-x11 & @@ -24,8 +23,6 @@ start-pulseaudio-x11 & # wal -i "$(/home/kevin/scripts/shuffler \"$HOME/Pictures/Backgrounds/dim/non-editing\")" && /home/kevin/st/make-st.sh & # wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing") & wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/editing") & -{{ end }} -exec i3 # # Statusbar loop # while true; do diff --git a/scripts/executable_glhf-metadata b/scripts/executable_glhf-metadata new file mode 100644 index 0000000..97a96b4 --- /dev/null +++ b/scripts/executable_glhf-metadata @@ -0,0 +1,36 @@ +#!/usr/bin/env python + +import requests + +def get_tier_value(num): + url = f"https://www.glhfers.com/api/rom-metadata/{num}" + try: + response = requests.get(url) + response.raise_for_status() # Raise an error for bad status codes + data = response.json() + + # Find the Tier trait value + for attribute in data.get("attributes", []): + if attribute.get("trait_type") == "Tier": + return attribute.get("value") + # value = attribute.get("value") + + return "Tier not found" + except requests.exceptions.RequestException as e: + return f"Error fetching data: {e}" + +def main(): + while True: + try: + num = input("Enter a number: ") + if num.lower() == 'exit': + break + + num = int(num) # Convert input to integer + tier_value = get_tier_value(num) + print(f"{tier_value}") + except ValueError: + print("Invalid input. Please enter a number or 'exit' to quit.") + +if __name__ == "__main__": + main() diff --git a/scripts/executable_ubuntu-start b/scripts/executable_ubuntu-start new file mode 100644 index 0000000..68589ad --- /dev/null +++ b/scripts/executable_ubuntu-start @@ -0,0 +1,16 @@ +#!/bin/bash + +picom & +pulseaudio --start +imwheel +xmodmap ~/.Xmodmap + +redshift -O 3000 +xset r rate $XSET_DELAY $XSET_RATE +/usr/lib/notification-daemon-1.0/notification-daemon & +picom & +imwheel & +numlockx on & +start-pulseaudio-x11 & + +wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/editing") &