diff --git a/aliases/key_aliases.tmpl b/aliases/key_aliases.tmpl index d7c915c..c074df3 100644 --- a/aliases/key_aliases.tmpl +++ b/aliases/key_aliases.tmpl @@ -10,7 +10,7 @@ d "cd ~/Downloads && printf '\033c'" e "echo \$" hst "history" # nft "printf '\033c' && neofetch | lolcat" -nft "printf '\033c' && neofetch" +nfth "printf '\033c' && neofetch" fi "fish" # reload urxvt ru "xrdb ~/.Xresources && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null" @@ -33,6 +33,8 @@ whi "whereis" xr "xrandr" {{ if eq .chezmoi.hostname "nzxt" }} +xra "xrandr --auto" +xrs "xrandr --auto && xrandr --output HDMI-0 --right-of DVI-I-1" xrn "xrandr --output HDMI-0 --rotate normal && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null" xrr "xrandr --output HDMI-0 --rotate right && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null" {{ end }} @@ -89,7 +91,7 @@ nctr "sudo systemctl restart netctl-auto@wlp4s0.service" # ssh [[[ # -ss "ssh" +# ss "ssh" cpssh "ssh-copy-id -i ~/.ssh/id_rsa.pub" xcssh "bat ~/.ssh/id_rsa.pub | xclip -selection clipboard" # digital ocean @@ -97,11 +99,24 @@ ssd "mosh --ssh='ssh -p 399' kevin@165.22.239.234 tmux a" sdh "mosh --ssh='ssh -p 399' kevin@165.22.239.234 htop" scd "scp -P 399 kevin@165.22.239.234" sfd "sftp -rP 399 kevin@165.22.239.234" -# phone +# phone [[[ # + ssp "mosh --ssh='ssh -p 8022' $PHONE_IP" scpp "scp -P 8022 $PHONE_IP:" sfp "sftp -rP 8022 $PHONE_IP" rsp "rsync --ignore-existing -Ptre 'ssh -p 8022' $PHONE_IP:" + +# ]]] phone # + +# pixel [[[ # + +sspx "mosh --ssh='ssh -p 8022' $PIXEL_IP" +scpx "scp -P 8022 $PIXEL_IP:" +sfpx "sftp -rP 8022 $PIXEL_IP" +rspx "rsync --ignore-existing -Ptre 'ssh -p 8022' $PIXEL_IP:" + +# ]]] pixel # + # vultr ssa "mosh atxadmin@45.32.87.10" ssv "mosh kevin@45.32.87.10" @@ -156,7 +171,7 @@ f "cd" fz "fzf -e" fbg "cd ~/Pictures/Backgrounds && ranger --selectfile (fzf -e --delimiter '/' --with-nth -1)" fnd "find . -type f -name" -p "pwd" +# p "pwd" rmr "rm -rf" # rmd "rm ~/Downloads/*" @@ -174,6 +189,8 @@ chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}" # cd into backup folder and show backup sizes lbu "cd /run/media/kevin/backup-hd/{{ .chezmoi.hostname }}/tar && lsd -l" +uzl "unzip -l" + # ]]] directory-related # # power options [[[ # @@ -268,13 +285,15 @@ apu "apt upgrade" # python [[[ # -py "python" +p "python" +# py "python" py2 "python2" # pyt "printf '\033c' && pytest -vvs" -pyt "clear && tmux clear-history && pytest -vvs" +# pyt "clear && tmux clear-history && pytest -vvs" +pyt "clear && tmux clear-history && pytest --cov" pyts "clear && tmux clear-history && pytest -vv" pyu "python -m unittest" -pipi "pip install --user" +pipi "pip install" spipi "sudo pip install" # ]]] python # @@ -328,6 +347,7 @@ aay "task add proj:pey" ac "task context" acn "task context none && task" ach "task context home && task" +acm "task context mny && task" aco "task context out && task" acp "task context pey && task" acnp "task context not-pey && task" @@ -375,10 +395,13 @@ cci "calcurse -i" ccs "calcurse-caldav" chr "google-chrome" cht "chatterino" -clc "cloc ." +# clc "cloc ." +clc "cloc . --vcs=git" cv "cava" dg "dragon-drag-and-drop -x" -fox "firefox" +fx "firefox -P" +fxd "firefox -P default" +fxw "firefox -P work" fh "feh" fi "fish" gpd "gpg --decrypt" @@ -414,6 +437,7 @@ np "nvim --" ndu "ncdu" p3 "python3" pdft "pdftotext" +pdu "pdfunite" pipes "pipes.sh -t 3" pcp "pycp" pmv "pymv" @@ -432,6 +456,7 @@ sn "sudo nvim" sqlb "sqlitebrowser" # ss "mosh" stp "termdown" +h "termdown" # sw "swex" # t "tmux"#[[[ # ta "tmux a -t" @@ -454,7 +479,8 @@ tnb "tmux new -s backup" #]]] usn "usernames --num 20" vmd "vimdiff" -wc "wc -l" +wcl "wc -l" +wcw "wc -w" wch "weechat" # wg "wego" wg "curl wttr.in" @@ -536,10 +562,12 @@ wrw "watson report -Gc" tt "timetrace" tta "timetrace start" -tte "timetrace edit" +ttaa "timetrace start a3@300" +tte "timetrace edit record latest" ttc "timetrace create" ttp "timetrace create project" -ttl "timetrace list records today" +ttlp "timetrace list projects" +ttlr "timetrace list records today" ttr "timetrace report" tts "timetrace stop" ttt "timetrace status" @@ -565,6 +593,7 @@ gbu "git branch --no-merged" gbm "git branch --merged" gbr "git branch -m" gbu "git branch --set-upstream-to=" +gbv "git branch -vv" gsm "git submodule" gsma "git submodule add" @@ -650,8 +679,8 @@ gfo "git fetch orig" gch "git checkout" gchn "git checkout -b" -gchm "git checkout master" -gchmn "git checkout main" +gchm "git checkout main" +gchms "git checkout master" gchnw "git checkout -b wip" gchw "git checkout wip" gchh "git checkout HEAD --" @@ -684,7 +713,7 @@ gsts "git stash show stash@\{0\} -p" gstcl "git stash clear" gpl "git pull --rebase" -gplo "git fetch orig && git pull --rebase . orig/main" +gplo "git fetch origin && git pull --rebase . origin/main" grb "git rebase -i" grba "git rebase --abort" grbc "git rebase --continue" @@ -707,7 +736,8 @@ gps "git push" gpso "git push origin" gpsoh "git push -f origin HEAD:" gpsg "git push gitea" -gpsd "git push origin --delete" +gpsk "git push kevin" +gpsdl "git push origin --delete" # gpsi "git config credential.helper store && git push" # gpsn "git push --set-upstream origin main" gpsn "eval (git push 2>&1 | tail -n 2)" @@ -723,11 +753,22 @@ gunc "git update-index --assume-unchanged" # coding projs [[[ # +# pm "python main.py" +pmn "python main.py" tld "tldr" # fsl "zathura --fork ~/coding/fastest-languages.pdf" fsl "bat ~/Documents/fastest-languages/fastest-languages.md" rgt "rg TODO" +# django [[[ # + +# pmn "python manage.py" +pm "python manage.py" +pmk "python manage.py makemigrations" +pmg "python manage.py migrate" + +# ]]] django # + # make [[[ # # ma "printf '\033c' && bear make" @@ -792,6 +833,7 @@ wr0 "watson report --all --project=309 --tag=phase2" # server [[[ # no "node" +noe "node --experimental-json-modules" ndm "nodemon" knd "killall node" mg "mongo" @@ -799,7 +841,7 @@ mg "mongo" 0ht "cd ~/school/309-proj && python3 -m http.server" mgd "mongod --dbpath mongo-data" # nds "killall node && nodemon server.js" -nds "nodemon server.js" +# nds "nodemon server.js" # ]]] server # @@ -853,6 +895,39 @@ nst "cp ~/Documents/workout-logs/stretching.md /tmp && nvim /tmp/stretching.md" rde "pyenv shell red-discord-bot-test" rbd "redbot --dev --debug" +lo7 "libreoffice ~/Documents/expenses/2021.ods &" + +nps "npm start" + +# rarity surf [[[ # + +# po "python ~/coding/rarity-sniper/opensea.py | tail -n30" +# po "python ~/coding/rarity-sniper/opensea.py" +# poa "python ~/coding/rarity-sniper/opensea.py" +# pp "python scrape.py" +# pr "python rarity.py" +# pu "python ~/coding/rarity-sniper/opensea.py update" + +po "python manage.py opensea" +pr "python manage.py rarity" +bz "python manage.py rarity -t Bitz -n" +pmp "python manage.py makemigrations project" +srs "source ~/.venv/rarity-sniper/bin/activate.fish" + +yra "yarn add" +yrb "yarn build" +yrbs "yarn build && serve -s build" +yrr "yarn remove" +yrs "yarn start" +sv "serve -s build" + +ssrr "mosh root@161.35.107.30" +ssr "mosh 161.35.107.30" + +# ]]] rarity surf # + + + # ]]] coding projs # # games [[[ # @@ -894,7 +969,7 @@ twf "watch -n300 'twitchy-game Fortnite'" # ]]] twitchy # lob "lsd -F --group-dirs first 2020*.mkv" -wo "watch -n60 'lsd -lF --group-dirs first --size short 2020*.mkv'" +wob "watch -n60 'lsd -lF --group-dirs first --size short 2020*.mkv'" fnp "t timeline FNProgress | sed -n '2p'" fnu "sxiv ~/Documents/fortnite/pics/maps/upgrade.png &" @@ -909,6 +984,14 @@ fnu "sxiv ~/Documents/fortnite/pics/maps/upgrade.png &" gpa "column -ts',' ~/Documents/gpa.md" ssc "mosh mokkar@teach.cs.utoronto.ca" +spc "source ~/.venv/price-calc/bin/activate.fish" +scv "source ~/.venv/covid-monitor/bin/activate.fish" +fr "flask run" +pmd "python manage.py db" +pmdm "python manage.py db migrate" +pmdu "python manage.py db upgrade" +# pt "pytest --cov" + # ]]] school # # red-hat [[[ # @@ -916,15 +999,17 @@ ssc "mosh mokkar@teach.cs.utoronto.ca" vpu "nmcli con up id '1 - Red Hat Global VPN' --ask" vpd "nmcli con down id '1 - Red Hat Global VPN'" +loe "libreoffice ~/Documents/expenses/2021.ods &" +loi "libreoffice ~/Documents/expenses/investments.ods &" + # laptop # gcfr "git config user.email 'kmok@redhat.com' && git config user.signingkey 10B001347552F396" gchk "git checkout KOGITO-" +gchnk "git checkout -b KOGITO-" gch3 "git checkout KOGITO-1031-diff-3" # ssh [[[ # -loe "libreoffice ~/Documents/expenses/2021.ods &" -loi "libreoffice ~/Documents/expenses/investments.ods &" ssw "mosh $WORK_LAPTOP_IP tmux a" ssw2 "mosh $WORK_LAPTOP_IP -- tmux a -t nzxt-2" ssi "mosh $WORK_LAPTOP_IP -- tmux a -t weechat" @@ -940,7 +1025,7 @@ ghr "github-release" o "kubectl" oa "kubectl apply -f" -oc "kubectl create" +ocr "kubectl create" ocf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito" oct "kubectx" od "kubectl describe" @@ -1002,13 +1087,14 @@ mvpr "mvn clean package -DskipTests && ./server-control.sh start" # make [[[ # -mk "make -j8" -mb4 "make -j8 before-pr" +mk "make" +mb4 "make before-pr" mbc "make build-cli && scp build/_output/bin/kogito $WORK_LAPTOP_IP:/home/kmok/go/bin" mc "make clean" mct "make clean test" mi "make install" ml "make lint" +mr "make run" mt "make test" # mvet "make vet" # mvett "make vet test" @@ -1021,7 +1107,7 @@ mvtt "make vet test" # minikube [[[ # -mb "minikube" +# mb "minikube" mba "minikube start" mbd "minikube delete" mbs "minikube stop" @@ -1052,13 +1138,28 @@ dks "docker images" sb "ansible" sbp "ansible-playbook" -h "helm" +# helm [[[ # + +# h "helm" hd "helm delete" hi "helm install" +him "helm install --set openshift=false" ht "helm template" hu "helm upgrade" +# ]]] helm # + # ]]] red-hat # # tet "ticker (cat ~/Documents/expenses/etf.md) | xclip -selection clipboard" tet "ticker (xclip -o) | xclip -selection clipboard" + +# vpn [[[ # + +eip "curl ifconfig.me" +fdb "firefox -P discord-" +sip "curl ifconfig.me" +vpc "nordvpn connect && curl ifconfig.me" +vpd "nordvpn disconnect" + +# ]]] vpn # diff --git a/aliases/key_dirs.tmpl b/aliases/key_dirs.tmpl index 85efc71..c44f9ba 100644 --- a/aliases/key_dirs.tmpl +++ b/aliases/key_dirs.tmpl @@ -1,4 +1,4 @@ -# vim: fdm=marker ft=sh.go-template syntax=sh +# vim: fdm=marker ft=sh.go-template syntax=sh # sys [[[ # @@ -14,12 +14,15 @@ D ~/Documents k ~/ lc ~/linux-config lf /mnt/linux-files +lf2 /mnt/linux-files-2 lfp /mnt/linux-files/Pictures lfv /mnt/linux-files/Videos +lfv2 /mnt/linux-files-2/Videos lfy /mnt/linux-files/Videos/yt me /run/media/kevin o / pd ~/.password-store +pfp ~/Pictures/profile-pics P ~/Pictures ssu ~/Pictures/screenshots/desktop/unsorted std ~/st @@ -28,7 +31,7 @@ tm ~/tmp {{ if and (eq .chezmoi.username "root") (eq .linux_os "debian") }} ng /etc/nginx/sites-available -sv /etc/systemd/system +# sv /etc/systemd/system {{ end }} # ]]] sys # @@ -52,6 +55,8 @@ rdp ~/coding/discord-bots/pinky/cogs/CogManager/cogs/adventure sr ~/linux-config/scripts snp ~/.vim/plugged/vim-snippets/UltiSnips sw ~/.local/share/nvim/swap/ +ttd ~/.timetrace +ttdr ~/.timetrace/records tx ~/linux-config/txt wd ~/.config/watson @@ -70,6 +75,10 @@ msl ~/coding/mf-site/content/letter # mp ~/coding/mf-site/static/pdf pk ~/Documents/journal/packing-lists pn ~/coding/red-discord-bot +rs ~/coding/rarity-surf/backend/rarity_check/project +rsf ~/coding/rarity-surf/frontend +rsc ~/coding/rarity-surf/backend/rarity_check/project/management/commands +rsm ~/coding/rarity-surf/backend/rarity_check/project/migrations sv ~/coding/spotify-lib-vis/src svg ~/coding/spotify-lib-vis/src/graphs/static/graphs/scripts swd ~/coding/swex @@ -100,11 +109,13 @@ ads ~/coding/ada-mario/scripts adP ~/Pictures/ada-mario {{ end }} + # ]]] cdn # # gaming [[[ # lfo /mnt/linux-files/Videos/obs +lfo2 /mnt/linux-files-2/Videos/obs pxv /mnt/linux-files/Videos/pixel # codm [[[ # @@ -132,10 +143,13 @@ tcd /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader pgv /mnt/linux-files/Videos/pokemon-go tr ~/.local/share/Terraria +dc ~/Documents/chat/discord twt ~/Documents/twitter sdv ~/Documents/stardew-valley-aha +wo ~/Documents/workout-logs/3 + # ]]] gaming # # sch [[[ # @@ -143,15 +157,48 @@ sdv ~/Documents/stardew-valley-aha sc ~/school lt ~/school/latex-notes -lb ~/coding/linux-basics -xy ~/Documents/ataraxy-venture -xd ~/Documents/ataraxy-venture/discord +0 ~/school/300 +0a ~/school/latex-notes/300/a4 +0d ~/school/300/diversity +0e ~/school/300/exam +0p ~/school/300/pdf +0n ~/school/300/notes + +# 301 [[[ # + +1 ~/school/301 +1a ~/school/301/a2 +1af ~/school/301/a1/price-calc/src +# 1ab ~/school/301/a1/backend +1ab ~/school/301/todo-app-medium-demo/flask_app +1as ~/school/301/a2/scripts +1apr ~/coding/pull-requests/301/a1 +1d ~/school/301/korotu/deliverables/deliverable-2/minter/src +1d3 ~/school/301/korotu/deliverables/deliverable-3 +1dc ~/school/301/korotu/deliverables/deliverable-2/nft-contract +1k ~/school/301/korotu +1kd ~/school/301/korotu/deliverables/deliverable-1 +1pr ~/coding/pull-requests/301/d3 + +# ]]] 301 # + +# solidity [[[ # + +sl ~/coding/solidity +shd ~/coding/solidity/dotenv +shw ~/coding/solidity/hello-world +shws ~/coding/solidity/hello-world-part-four-tutorial/starter-files/src +snf ~/coding/solidity/nft +snm ~/coding/solidity/nft-minter-tutorial/minter-starter-files/src + +# ]]] solidity # # ]]] sch # # pey [[[ # atx ~/Documents/ataraxy-venture +em ~/Documents/emails li ~/Documents/linkedin lic ~/Documents/linkedin/msgs rh ~/Documents/red-hat @@ -173,7 +220,8 @@ kex ~/coding/kogito/kogito-examples keh ~/coding/kogito/kogito-examples/process-scripts-quarkus/target kep ~/coding/kogito/kogito-examples/process-postgresql-persistence-quarkus kfl ~/coding/kogito/kogito-apps -kh ~/coding/kogito/kogito-helm-chart +kh ~/coding/kogito/kogito-helm-charts +kho ~/coding/kogito/kogito-helm-chart-old ki ~/coding/kogito/kogito-images kj ~/coding/kogito/jenkins-test kjb ~/coding/kogito/jenkins-test-bot @@ -199,6 +247,7 @@ kot ~/coding/kogito/optaplanner kp ~/coding/kogito/kogito-pipelines kp2 ~/coding/kogito/kogito-pipelines-2 kpr ~/coding/pull-requests/red-hat +kprh ~/coding/pull-requests/red-hat/helm kr ~/coding/kogito/kogito-runtimes krj ~/coding/kogito/kogito-runtimes/jenkins-spock-tests ky ~/coding/kogito/kogito-kmok-yamls @@ -214,3 +263,6 @@ dv ~/coding/devops-sre-knowledge nxo ~/coding/kogito/nexus-operator # ]]] pey # + +mb ~/coding/mint-bot +nft ~/Documents/nft diff --git a/aliases/key_files.tmpl b/aliases/key_files.tmpl index 66d9d4a..d722a55 100644 --- a/aliases/key_files.tmpl +++ b/aliases/key_files.tmpl @@ -45,7 +45,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/21/8.md +jt ~/Documents/journal/todo/22/2.md k ~/linux-config/dot_config/kitty/kitty.conf lh ~/Documents/listening-history/polarbier.csv mc ~/coding/mf-site/assets/sass/main.scss @@ -73,6 +73,7 @@ lb ~/coding/linux-basics/linux-basics.md # gaming [[[ # +bn ~/Documents/discord-burners/burners.md cmr ~/Documents/codm/discord-recruitment.md cra ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/data/default/attribs.json crm ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/data/default/monsters.json @@ -80,6 +81,7 @@ fn ~/Documents/fortnite/notes/fortnite-notes.md fp ~/Documents/fortnite/notes/post.md fv ~/Documents/fortnite/notes/vods.md mta ~/.minetest/clientmods/custom_aliases/init.lua +nb ~/Documents/chat/discord/pistol.md pk ~/Downloads/pokecord/pokecord2.md tc /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader/clips.txt tdb ~/Documents/journal/todo/b.md @@ -101,3 +103,6 @@ rm ~/Documents/red-hat/meeting.md rt ~/Documents/red-hat/todo.md # ]]] pey # + +nf ~/Documents/twitter/nft.md +ds ~/Documents/nft/deep-sea-research.md diff --git a/dot_Xresources.tmpl b/dot_Xresources.tmpl index ce97737..827d1fd 100644 --- a/dot_Xresources.tmpl +++ b/dot_Xresources.tmpl @@ -4,6 +4,8 @@ ! Xft.dpi: 240 Xft.dpi: 230 {{ else }} +! Xft.dpi: 90 +! Xft.dpi: 100 Xft.dpi: 135 ! Xft.dpi: 170 {{ end }} diff --git a/dot_config/fish/config.fish.tmpl b/dot_config/fish/config.fish.tmpl index 34d07fb..9d77802 100755 --- a/dot_config/fish/config.fish.tmpl +++ b/dot_config/fish/config.fish.tmpl @@ -30,7 +30,7 @@ set -x HASTE_SERVER https://pste.gq set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64 set -x GOPATH ~/go # set -x PATH $GRAALVM_BIN $PATH ~/.local/bin ~/scripts ~/scripts/colors ~/go/bin ~/.minetest/minetest/bin ~/.gem/ruby/2.6.0/bin -set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/*/bin +set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/*/bin ~/.yarn/bin set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig # Java [[[ # @@ -68,24 +68,27 @@ set -xU XSET_DELAY 200 xset r rate $XSET_DELAY $XSET_RATE {{ end }}#]]] -# set -U BROWSER "chromium" set -xU BROWSER "firefox" +# set -U BROWSER "chromium" set -xU FZF_DEFAULT_COMMAND "find ." -set -x PHONE_IP "192.168.0.18" -set -x PIXEL_IP "192.168.0.12" +set -x PHONE_IP "192.168.0.12" +set -x PIXEL_IP "192.168.0.18" set -x WORK_LAPTOP_IP "kmok@192.168.0.11" {{ if eq .chezmoi.hostname "nzxt" }} -set -x CALCURSE_CALDAV_PASSWORD (pass show technology/linux/baikal | head -n1) +# set -x CALCURSE_CALDAV_PASSWORD (pass show technology/linux/baikal | head -n1) set -x JENKINS_TOKEN 114a1b2e8693b57fa6f4bce88e2deee8cc status --is-interactive; and source (pyenv init -|psub) {{ end }} set -xU MINIKUBE_IP "http://192.168.49.2" set -xU LOCAL_KOGITO_SERVICE_PORT "32000" -set -xU LOCAL_KOGITO_SERVICE_URL "$MINIKUBE_IP:$LOCAL_KOGITO_SERVICE_PORT" +# set -xU LOCAL_KOGITO_SERVICE_URL "$MINIKUBE_IP:$LOCAL_KOGITO_SERVICE_PORT" + +set -x FLASK_DEBUG 1 +set -x DB_NAME "covid_monitor" # ]]] universal var's # @@ -101,12 +104,12 @@ builtin cd $last_dir && ls > /dev/null bind \ce edit_command_buffer bind \cr forward-word -chezmoi apply +# chezmoi apply {{ if not (eq .linux_os "termux") }} ~/scripts/sync-shortcuts {{ end }} # source ~/.config/fish/key_abbr.fish > /dev/null -set -U fish_fxn_dir "{{ .chezmoi.homedir }}/linux-config/dot_config/fish/functions" +set -U fish_fxn_dir "{{ .chezmoi.homeDir }}/linux-config/dot_config/fish/functions" # set -U fish_fxn_dir "~/.config/fish/functions" abbr ff "cd $fish_fxn_dir" for fxn in (find $fish_fxn_dir -name '*.fish') @@ -157,6 +160,7 @@ abbr ag "grep-aliases" abbr bk "buku-fzf" abbr bkf "buku-fzf fq" abbr bq "benq-brightness" +abbr bn "discord-burner" abbr bun "backup nzxt" abbr bupp "backup-phone-pics" abbr ca "cad-to-us" @@ -168,11 +172,12 @@ abbr cpp "copy echo (pwd)" abbr cff "create-fish-function" abbr ctr "systemctl-restart" abbr def "define" +abbr drs "dump-rarity-check" abbr ens "enable-site" abbr ev "evince-silent" abbr ff "fzf-cd" # abbr fbg "find-bg" -abbr fr "fzf-ranger" +# abbr fr "fzf-ranger" abbr fv "fzf-vim" abbr fvft "find-vim-filetype" # git [[[ # @@ -208,7 +213,8 @@ abbr qu "qalc-update" abbr re "reminder ''" abbr rf "refresh-config" abbr rl "readlink-cp" -abbr rs "redshift-set" +abbr rds "redshift-set" +abbr scf "scp-vid fn" abbr sma "smol-add" abbr smd "smol-delete" abbr sml "smol-slist" @@ -219,6 +225,8 @@ abbr svp "server-pages" abbr ta "tmux-attach" abbr taa "tmux-attach atx" abbr taf "tmux-attach fn" +abbr tan "tmux-attach nft" +abbr tan2 "tmux-attach nft-2" abbr tao "tmux-attach obs" abbr thes "thesaurus" # abbr usc "us-to-cad" diff --git a/dot_config/fish/functions/discord-burner.fish b/dot_config/fish/functions/discord-burner.fish new file mode 100644 index 0000000..ade3d06 --- /dev/null +++ b/dot_config/fish/functions/discord-burner.fish @@ -0,0 +1,15 @@ +function discord-burner + # echo nordvpn connect ca1$argv[1] && curl ifconfig.me + # nordvpn connect ca1$argv[1] && \ + # nordvpn connect ca10$argv[1] + nordvpn connect + curl ifconfig.me + if test (count $argv) -gt 1 + firefox -P discord-$argv[2] $argv[1] & + else + firefox -P discord-$argv[1] & + end + # for i in (seq $argv[1] $argv[2]) + # firefox -P discord-$i $argv[3] & + # end +end \ No newline at end of file diff --git a/dot_config/fish/functions/dump-rarity-check.fish b/dot_config/fish/functions/dump-rarity-check.fish new file mode 100644 index 0000000..d4b4231 --- /dev/null +++ b/dot_config/fish/functions/dump-rarity-check.fish @@ -0,0 +1,3 @@ +function dump-rarity-check + pg_dump -U rarity_check rarity_check > $argv[1].sql +end \ No newline at end of file diff --git a/dot_config/fish/functions/git/git-push-new-gitea.fish b/dot_config/fish/functions/git/git-push-new-gitea.fish index 71ba6a7..337a13a 100644 --- a/dot_config/fish/functions/git/git-push-new-gitea.fish +++ b/dot_config/fish/functions/git/git-push-new-gitea.fish @@ -1,4 +1,4 @@ function git-push-new-gitea git remote add origin ssh://git@kevin-mok.com:399/Kevin-Mok/$argv[1].git - and git push --set-upstream origin master + and git push --set-upstream origin main end diff --git a/dot_config/fish/functions/refresh-config-task.fish b/dot_config/fish/functions/refresh-config-task.fish new file mode 100644 index 0000000..ca9865a --- /dev/null +++ b/dot_config/fish/functions/refresh-config-task.fish @@ -0,0 +1,13 @@ +function refresh-config + chezmoi apply + and echo 'Applied chezmoi.' + # and tmux source-file ~/.tmux.conf + # and echo 'Sourced tmux config.' + + sync-shortcuts + echo 'Synced shortcuts.' + source ~/.config/fish/key_abbr.fish > /dev/null + and echo 'Sourced shortcuts.' + and echo 'Reloading fish.' + and exec fish +end diff --git a/dot_config/fish/functions/scp-vid.fish b/dot_config/fish/functions/scp-vid.fish new file mode 100644 index 0000000..c556d19 --- /dev/null +++ b/dot_config/fish/functions/scp-vid.fish @@ -0,0 +1,7 @@ +function scp-vid + set dest_dir "/mnt/linux-files/Videos/personal-fortnite-games/review" + if test $argv[1] = 'pogo' + set dest_dir "/mnt/linux-files/Videos/pokemon-go" + end + scp -P 8022 192.168.0.18:/data/data/com.termux/files/home/storage/dcim/\'Screen\ recordings\'/$argv[2] $dest_dir +end \ No newline at end of file diff --git a/dot_config/fish/functions/task/task-delete.fish b/dot_config/fish/functions/task/task-delete.fish index 1a6425f..40d4c4b 100644 --- a/dot_config/fish/functions/task/task-delete.fish +++ b/dot_config/fish/functions/task/task-delete.fish @@ -1,5 +1,4 @@ function task-delete task $argv[1] delete - and task sync and task end diff --git a/dot_config/fish/functions/task/task-done.fish b/dot_config/fish/functions/task/task-done.fish index a9f9923..740c01b 100644 --- a/dot_config/fish/functions/task/task-done.fish +++ b/dot_config/fish/functions/task/task-done.fish @@ -1,5 +1,4 @@ function task-done task $argv[1] done - and task sync and task end diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl index ff715d8..2cb6bde 100755 --- a/dot_config/i3/config.tmpl +++ b/dot_config/i3/config.tmpl @@ -13,13 +13,16 @@ exec imwheel exec numlockx on exec xbacklight -set 10 # exec wal -i "$(/home/kevin/scripts/shuffler \"/home/kevin/Pictures/Backgrounds/dim/non-editing\")" -exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing") +exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/editing") {{ end }} # exec xrdb ~/.Xresources && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null # 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 $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 $ws1; exec $term -e fish -c 'tmux-attach school' # ]]] startup # @@ -27,7 +30,9 @@ exec --no-startup-id i3-msg 'workspace $ws3; exec $browser' set $mod Mod1 set $browser "firefox" +set $browser_secondary "chromium" # set $browser "chromium" +# set $browser_secondary "firefox" set $scripts_path "/home/kevin/scripts" set $sch_dir "$HOME/Documents/School" @@ -57,7 +62,7 @@ bindsym Mod4+$mod+c exec $browser # bindsym Mod4+e exec ~/scripts/twem # bindsym Mod4+f exec firefox # bindsym Mod4+f exec firefox --private-window -bindsym Mod4+f exec firefox --private-window google.ca +# bindsym Mod4+f exec firefox --private-window google.ca # bindsym Mod4+$mod+f exec printf 'Kevin@fosstodon.org' | xclip -selection clipboard # bindsym Mod4+h exec sleep .2 && xdotool type '.hint' # bindsym Mod4+$mod+h exec $type_delay_cmd && xdotool type 'kevin.mok@live.ca' @@ -70,9 +75,8 @@ bindsym Mod4+m exec $type_delay_cmd && xdotool type 'me@kevin-mok.com' # bindsym Mod4+$mod+m exec pass -c uoft/markus bindsym Mod4+n exec $term -e nvim # bindsym Mod4+$mod+o exec xset dpms force off -# bindsym Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail && $type_delay_cmd && xdotool key 'Control_L+v' -bindsym Mod4+o workspace $ws11; exec obs -bindSym $mod+Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail && $type_delay_cmd && xdotool key 'Control_L+v' +bindsym Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail && $type_delay_cmd && xdotool key 'Control_L+v' +bindsym $mod+Mod4+o workspace $ws11; exec obs # bindsym Mod4+p workspace $ws4; exec pgadmin3 # bindsym Mod4+p exec pycharm bindsym Mod4+p exec passmenu @@ -86,7 +90,7 @@ bindsym Mod4+$mod+r exec pass show -c career/redhat && $type_delay_cmd && xdotoo # bindsym Mod4+$mod+r exec $term -e ranger # bindsym Mod4+$mod+r exec notify-send "watson restart" "$(watson restart)" bindsym Mod4+$mod+s exec $type_delay_cmd && xdotool type 'https://smol.gq/' -bindsym Mod4+t exec xclip -selection clipboard ~/.password-store/social/trapbot && $type_delay_cmd && xdotool key 'Control_L+v' +bindsym Mod4+$mod+t exec xclip -selection clipboard ~/.password-store/social/trapbot && $type_delay_cmd && xdotool key 'Control_L+v' bindsym Mod4+u exec $type_delay_cmd && xdotool type 'kevin.mok@mail.utoronto.ca' # bindsym Mod4+$mod+u exec pass -c uoft/acorn # bindsym Mod4+w exec notify-send "watson status" "$(watson status)" @@ -329,7 +333,8 @@ set $main "HDMI-0" workspace $ws1 output $secondary bindsym $mod+F1 workspace $ws1; exec $term bindsym Mod4+$mod+F1 workspace $ws1; exec chatterino -bindsym Control+Shift+F1 workspace $ws1; exec $term -e fish -c 'tmux-attach red-hat' +# bindsym Control+Shift+F1 workspace $ws1; exec $term -e fish -c 'tmux-attach school' +bindsym Control+Shift+F1 workspace $ws1; exec $term -e fish -c 'tmux-attach nft' set $ws2 "2 " set $work_laptop_ip "192.168.0.11" @@ -337,7 +342,8 @@ workspace $ws2 output $secondary bindsym $mod+F2 workspace $ws2; exec $term # bindsym Control+Shift+F2 workspace $ws2; exec $term -e mosh kmok@$work_laptop_ip -- tmux a -t nzxt # bindsym Control+Shift+F2 workspace $ws2; exec $term -e fish -c 'tmux-attach fortnite' -bindsym Control+Shift+F2 workspace $ws2; exec $term -e fish -c 'tmux-attach red-hat-2' +bindsym Control+Shift+F2 workspace $ws2; exec $term -e fish -c 'tmux-attach nft-2' +# bindsym Control+Shift+F2 workspace $ws2; exec $term -e fish -c 'tmux-attach school-2' bindsym $mod+Shift+F2 workspace $ws2; exec $term -e mosh kmok@$work_laptop_ip -- tmux a -t nzxt-2 # ws3 [[[ # @@ -348,7 +354,10 @@ set $ws3 "3 " # bindsym $mod+F3 workspace $ws3; exec $browser # bindsym $mod+F3 exec $browser; move container to workspace $ws3; workspace $ws3 bindsym $mod+F3 exec $browser -bindsym Mod4+$mod+F3 workspace $ws3; exec firefox -P work +bindsym Control+Shift+F3 workspace $ws3; exec firefox -P work +# bindsym Mod4+$mod+F3 workspace $ws3; exec $browser_secondary +bindsym Mod4+$mod+F3 workspace $ws3; exec firefox -P default +# bindsym Mod4+$mod+F3 workspace $ws3; exec firefox -P work # bindsym Mod4+b workspace $ws3; layout stacked; exec $term -e fish -c "buku-fzf" # bindsym Mod4+$mod+b workspace $ws3; layout stacked; exec $term -e fish -c "buku-fzf fq" # bindsym Mod4+b layout stacked; exec $term -e fish -c "buku-fzf" @@ -372,15 +381,18 @@ set $ws5 "5 " # workspace $ws5 output $secondary assign [class="Steam"] $ws5 bindsym $mod+F5 workspace $ws5; exec $browser -bindsym $mod+Mod4+F5 workspace $ws5; exec firefox -P work +# bindsym $mod+Mod4+F5 workspace $ws5; exec firefox -P work +bindsym $mod+Mod4+F5 workspace $ws5; exec firefox -P nft # bindsym $mod+Mod4+F5 workspace $ws5; exec firefox --private-window +bindsym Control+Shift+F5 workspace $ws5; exec firefox -P work +bindsym Mod4+f workspace $ws5; exec firefox --private-window google.ca bindsym $mod+Shift+F5 workspace $ws5; exec chromium # bindsym Mod4+g workspace $ws5; layout stacking; exec $term -e steam # bindsym Mod4+g workspace $ws5; layout tabbed; exec gimp # bindsym Mod4+g workspace $ws5; exec mgba-qt # bindsym Mod4+i workspace $ws5; exec idea # bindsym Mod4+m workspace $ws5; layout tabbed; exec $term -e ~/.minetest/minetest/bin/minetest -bindsym Mod4+$mod+t workspace $ws5; exec thunderbird +# bindsym Mod4+$mod+t workspace $ws5; exec thunderbird # bindsym Mod4+$mod+w workspace $ws5; exec $term -e twitchy # bindsym Mod4+w workspace $ws5; exec $term -e twitchy bindsym Mod4+5 workspace $ws5; exec godot @@ -399,14 +411,9 @@ for_window [class="ada-mario"] move absolute position 640 0 set $ws6 "6 " workspace $ws6 output $secondary assign [class="Slack"] $ws6 -# bindsym Mod4+$mod+d workspace $ws6; exec discord -bindsym Mod4+d workspace $ws6; exec element-desktop +bindsym Mod4+d workspace $ws6; exec discord +bindsym Mod4+$mod+d workspace $ws6; exec element-desktop # bindsym Mod4+d workspace $ws6; exec firefox -new-window https://riot.im/app -bindsym Mod4+$mod+d workspace $ws6; exec discord -# bindsym Mod4+d workspace $ws6; exec discord -# bindsym Mod4+$mod+d workspace $ws6; exec riot-desktop -# bindsym Mod4+d workspace $ws6; exec firefox --new-window https://discordapp.com/channels/430798446723727367/443950744996020228 -# bindsym Mod4+i workspace $ws6; exec firefox -new-window https://riot.im/app 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' @@ -417,8 +424,10 @@ bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'mosh kmok@$work_laptop_ip set $ws7 "7 " workspace $ws7 output $secondary # bindsym $mod+F7 workspace $ws7; exec $term -bindsym $mod+F7 workspace $ws7; exec $term -e mosh kmok@$work_laptop_ip -- tmux a -t nzxt +# bindsym $mod+F7 workspace $ws7; exec $term -e mosh kmok@$work_laptop_ip -- tmux a -t nzxt +bindsym $mod+F7 workspace $ws7; exec $term bindsym Mod4+$mod+F7 workspace $ws7; exec $term -e mosh --ssh='ssh -p 399' kevin@165.22.239.234 tmux a +bindsym $mod+Shift+F7 workspace $ws7; exec chromium https://txstreet.com/v/eth bindsym Mod4+a workspace $ws7; exec android-file-transfer # bindsym Mod4+v workspace $ws7; exec VBoxManage startvm "369-a1" @@ -455,6 +464,7 @@ workspace $ws11 output $secondary # bindsym $mod+F11 workspace $ws11; exec $term -e htop -s PERCENT_CPU bindsym $mod+F11 workspace $ws11; exec $term -e htop -s PERCENT_MEM bindsym Mod4+$mod+F11 workspace $ws11; exec $term -e fish -c 'tmux-attach obs' +bindsym Mod4+t workspace $ws11; exec nordvpn connect && transmission-gtk # bindsym $mod+F11 workspace $ws11; exec $term -e gotop -m # bindsym Mod4+a workspace $ws11; exec antimicro diff --git a/dot_config/i3blocks/i3blocks.conf.tmpl b/dot_config/i3blocks/i3blocks.conf.tmpl index d37e656..f3ac7ff 100755 --- a/dot_config/i3blocks/i3blocks.conf.tmpl +++ b/dot_config/i3blocks/i3blocks.conf.tmpl @@ -16,35 +16,19 @@ color=#cbe4ff # ticker [[[ # # [ticker] -# label=PEJ  -# TICKER=PEJ -# interval=30 - -# [ticker] -# # label=DOGE  -# label=🐶  -# TICKER=DOGE-USD +# label=BTC  +# TICKER=BTC-USD # interval=30 -[ticker] -label=BTC  -TICKER=BTC-USD -interval=30 - [ticker] label=ETH  TICKER=ETH-USD interval=30 -[ticker] -label=ADA  -TICKER=ADA-USD -interval=30 - -[ticker] -label=DAQ  -TICKER=^IXIC -interval=30 +# [ticker] +# label=DAQ  +# TICKER=^IXIC +# interval=30 # ]]] ticker # diff --git a/dot_config/mimeapps-ffox.list b/dot_config/mimeapps-ffox.list new file mode 100644 index 0000000..866a74b --- /dev/null +++ b/dot_config/mimeapps-ffox.list @@ -0,0 +1,33 @@ +[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 +x-scheme-handler/ftp=firefox.desktop +x-scheme-handler/chrome=firefox.desktop +application/x-extension-htm=firefox.desktop +application/x-extension-html=firefox.desktop +application/x-extension-shtml=firefox.desktop +application/xhtml+xml=firefox.desktop +application/x-extension-xhtml=firefox.desktop +application/x-extension-xht=firefox.desktop +x-scheme-handler/mailto=userapp-Thunderbird-DQE3YZ.desktop +message/rfc822=userapp-Thunderbird-DQE3YZ.desktop +image/jpeg=sxiv.desktop +image/png=sxiv.desktop +x-scheme-handler/discord-409416265891971072=discord-409416265891971072.desktop + +[Added Associations] +x-scheme-handler/http=firefox.desktop; +x-scheme-handler/https=firefox.desktop; +text/html=firefox.desktop; +application/pdf=org.gnome.Evince.desktop;org.pwmt.zathura-pdf-mupdf.desktop; +text/plain=nvim.desktop; +x-scheme-handler/mailto=userapp-Thunderbird-DQE3YZ.desktop; +message/rfc822=userapp-Thunderbird-DQE3YZ.desktop; +text/x-python=nvim.desktop;gvim.desktop; +application/json=firefox.desktop; +image/jpeg=gimp.desktop;imv.desktop; +text/markdown=nvim.desktop; +image/png=imv.desktop; diff --git a/dot_config/mimeapps.list b/dot_config/mimeapps.list index 866a74b..4a5ebd1 100644 --- a/dot_config/mimeapps.list +++ b/dot_config/mimeapps.list @@ -2,8 +2,8 @@ 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 +x-scheme-handler/about=firefox.desktop +x-scheme-handler/unknown=firefox.desktop x-scheme-handler/ftp=firefox.desktop x-scheme-handler/chrome=firefox.desktop application/x-extension-htm=firefox.desktop @@ -17,6 +17,7 @@ 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 [Added Associations] x-scheme-handler/http=firefox.desktop; diff --git a/dot_config/ranger/rc.conf.tmpl b/dot_config/ranger/rc.conf.tmpl index c08c89b..ca18d56 100755 --- a/dot_config/ranger/rc.conf.tmpl +++ b/dot_config/ranger/rc.conf.tmpl @@ -702,7 +702,7 @@ map zr shell unzip %f && rm %f map e. open_with evince f map v. shell $EDITOR %f -source {{ .chezmoi.homedir }}/.config/ranger/key_mappings.conf +source {{ .chezmoi.homeDir }}/.config/ranger/key_mappings.conf map dg shell dragon-drag-and-drop -a -x %p # map shell dragon-drag-and-drop -a -x %p diff --git a/dot_config/spotify/Users/polarbier-user/prefs.tmpl b/dot_config/spotify/Users/polarbier-user/prefs.tmpl index bfe246a..f535343 100644 --- a/dot_config/spotify/Users/polarbier-user/prefs.tmpl +++ b/dot_config/spotify/Users/polarbier-user/prefs.tmpl @@ -1,7 +1,7 @@ -gaia.attached_device_id="6ca6cdc7bc677d43534460982c3a13959dd1939c" -audio.crossfade_v2=true -audio.sync_bitrate_enumeration=4 audio.play_bitrate_non_metered_migrated=true +audio.sync_bitrate_enumeration=4 +audio.crossfade_v2=true +gaia.attached_device_id="6ca6cdc7bc677d43534460982c3a13959dd1939c" audio.play_bitrate_enumeration=4 ui.hide_hpto=true ui.track_notifications_enabled=false @@ -9,5 +9,4 @@ audio.play_bitrate_non_metered_enumeration=4 audio.normalize_v2=false ui.show_friend_feed=false app.player.volume=40000 -audio.episode.speed=150 app.browser.zoom-level=75 diff --git a/dot_config/zathura/zathurarc b/dot_config/zathura/zathurarc index b5cc5a8..e1ff79d 100755 --- a/dot_config/zathura/zathurarc +++ b/dot_config/zathura/zathurarc @@ -1,4 +1,4 @@ -# set recolor true +set recolor true # black set recolor-darkcolor "#ffffff" set recolor-lightcolor "#000000" diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 8c4bb0d..0df604c 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -1,7 +1,7 @@ [user] - email = kmok@redhat.com + email = kevin.mok@mail.utoronto.ca name = Kevin Mok - signingkey = 10B001347552F396 + signingkey = C072BD80DB66DE18 [color] ui = auto [core] diff --git a/dot_imwheelrc b/dot_imwheelrc index 3a005ba..f2ef25a 100644 --- a/dot_imwheelrc +++ b/dot_imwheelrc @@ -1,3 +1,3 @@ ".*" -None, Up, Button4, 5 -None, Down, Button5, 5 +None, Up, Button4, 1 +None, Down, Button5, 1 diff --git a/dot_kube/private_config.tmpl b/dot_kube/private_config.tmpl deleted file mode 100644 index 7b6269e..0000000 --- a/dot_kube/private_config.tmpl +++ /dev/null @@ -1,67 +0,0 @@ -apiVersion: v1 -clusters: -- cluster: - server: https://c116-e.us-south.containers.cloud.ibm.com:31225 - name: c116-e-us-south-containers-cloud-ibm-com:31225 -- cluster: - certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM1ekNDQWMrZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeE1EVXhOREU1TVRjeU1Gb1hEVE14TURVeE1qRTVNVGN5TUZvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBS3ptCkhnUXd2bm9LcmkyaGVTckgxMWViQjJGZ0czUVNCQllRTURHUTQxWGp4SUxWemMyd2JlMk0zTmFtZH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0.1:43193 - name: kind-kogito -- cluster: - certificate-authority: /home/kevin/.minikube/ca.crt - extensions: - - extension: - last-update: Tue, 08 Jun 2021 07:20:13 EDT - provider: minikube.sigs.k8s.io - version: v1.20.0 - name: cluster_info - server: https://192.168.49.2:8443 - name: minikube -contexts: -- context: - cluster: c116-e-us-south-containers-cloud-ibm-com:31225 - namespace: kmok - user: IAM#kmok@redhat.com/c116-e-us-south-containers-cloud-ibm-com:31225 - name: default/c116-e-us-south-containers-cloud-ibm-com:31225/IAM#kmok@redhat.com -- context: - cluster: kind-kogito - namespace: kogito - user: kind-kogito - name: kind-kogito -- context: - cluster: minikube - extensions: - - extension: - last-update: Tue, 08 Jun 2021 07:20:13 EDT - provider: minikube.sigs.k8s.io - version: v1.20.0 - name: context_info - namespace: kogito - user: minikube - name: minikube -- context: - cluster: minikube - extensions: - - extension: - last-update: Tue, 08 Jun 2021 07:20:13 EDT - provider: minikube.sigs.k8s.io - version: v1.20.0 - name: context_info - namespace: helm - user: minikube - name: minikube-helm -current-context: minikube -kind: Config -preferences: {} -users: -- name: IAM#kmok@redhat.com/c116-e-us-south-containers-cloud-ibm-com:31225 - user: - token: {{ pass "career/ibm-cloud-ocp" }} -- name: kind-kogito - user: - client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURFekNDQWZ1Z0F3SUJBZ0lJVnFJYURDOERjT293RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TVRBMU1UUXhPVEUzTWpCYUZ3MHlNakExTVRReE9URTNNalJhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lEVlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXhxbXowSUw4YU16M29FVU8KaGkzNjFzZU15UDZtOUMvaHJ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h3cVlQQ3ZIMnVQVGNLYWJWdGNLZUN2Z0N1QnoweVZJTldhTTJsRENYUkZoRApKbjRnb2R4Z1hYTE5kTjg4cTQwUVdsSHE2cWtIenJmbXNuWUJzR0c4T1h1S2FQa29mRGduCi0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg== -- name: minikube - user: - client-certificate: /home/kevin/.minikube/profiles/minikube/client.crt - client-key: /home/kevin/.minikube/profiles/minikube/client.key diff --git a/dot_taskrc b/dot_taskrc index 6667c60..b5743b9 100644 --- a/dot_taskrc +++ b/dot_taskrc @@ -56,12 +56,13 @@ urgency.user.project.fn.coefficient=5 urgency.user.project.mny.coefficient=10 urgency.user.project.ms.coefficient=3 urgency.user.project.pey.coefficient=10 -urgency.user.project.pogo.coefficient=7 +urgency.user.project.pogo.coefficient=0 urgency.user.project.sch.coefficient=7 urgency.uda.priority.H.coefficient=10 urgency.uda.priority.M.coefficient=4 urgency.uda.priority.L.coefficient=-7 urgency.uda.priority..coefficient=1 +urgency.user.tag.helm.coefficient=5 urgency.user.tag.jira.coefficient=5 # urgency.user.tag.nx.coefficient=15 urgency.user.tag.nexus.coefficient=3 @@ -75,14 +76,16 @@ report.ready.sort=urgency- # context.home=project.not:ieas project.not:out project.not:sch tag.not:amn context.home=project.not:ieas project.not:out context.ieas=project:ieas -context.not-pey=project.not:pey +context.not-pey=project.not:pey project.not:sch context.out=project:out +context.mny=project:mny context.pey=project:pey context.sch=project:sch # context=home # context=out # context=sch -context=pey +context=mny +# context=pey # context=not-pey # }}} context # diff --git a/dot_vimrc.tmpl b/dot_vimrc.tmpl index 4d55966..ee5a02f 100644 --- a/dot_vimrc.tmpl +++ b/dot_vimrc.tmpl @@ -27,8 +27,8 @@ set smartcase set tabstop=4 " set t_Co=256 " set termguicolors -" set timeoutlen=350 -set timeoutlen=200 +set timeoutlen=350 +" set timeoutlen=200 " set tw=75 " set tw=70 set tw=60 @@ -59,7 +59,7 @@ autocmd CursorHold * if !bufexists("[Command Line]") | checktime | endif autocmd BufNewFile,BufRead .* set syntax=sh autocmd BufRead,BufNewFile /tmp/calcurse*,~/.calcurse/notes/* set filetype=markdown -autocmd FileType *css,gitcommit,haskell,htmldjango,html,javascript,json,lisp,markdown, +autocmd FileType *css,gitcommit,haskell,htmldjango,html,graphql,javascript,javascriptreact,json,lisp,markdown, \racket,tex,text,yaml set tabstop=2 shiftwidth=2 " autocmd BufNewFile,BufRead *.md set filetype=markdown " autocmd Filetype markdown set textwidth=0 @@ -67,8 +67,10 @@ autocmd FileType *css,gitcommit,haskell,htmldjango,html,javascript,json,lisp,mar autocmd BufNewFile,BufRead *.gd set expandtab! autocmd Filetype go set noexpandtab sw=4 " autocmd FileType go,html,java,javascript,python,lua set fdm=indent -autocmd FileType go,html,java,javascript,Jenkinsfile,python,lua set fdm=indent +" autocmd FileType go,html,java,javascript,javascriptreact,Jenkinsfile,python,lua set fdm=indent +autocmd FileType go,html,java,Jenkinsfile,python,lua set fdm=indent " autocmd FileType html,javascript,Jenkinsfile,python,lua set fdm=indent +autocmd BufNewFile,BufRead *.gql setfiletype graphql autocmd Filetype markdown let g:AutoPairs = {'(':')', '[':']', '{':'}','"':'"', "`":"`", '```':'```', '"""':'"""', "'''":"'''", "*":"*"} " autocmd Filetype markdown map :LivedownToggle autocmd Filetype markdown map :InstantMarkdownPreview @@ -174,22 +176,27 @@ Plug 'lervag/vimtex' " au BufWritePost *.tex silent call Tex_RunLaTeX() au BufWritePost *.tex silent !pkill -USR1 xdvi.bin let g:Tex_MultipleCompileFormats = 'dvi,pdf' - let g:vimtex_view_general_viewer = 'evince' - let g:vimtex_quickfix_latexlog = { - \ 'overfull' : 0, - \ 'underfull' : 0, - \ 'global' : 0, - \ 'packages' : { - \ 'biblatex' : 0, - \ 'gensymb' : 0, - \ }, - \ 'references' : 0, - \ 'unused' : 0, - \} + " let g:vimtex_view_general_viewer = 'evince' + let g:vimtex_view_general_viewer = 'zathura' + " let g:vimtex_quickfix_latexlog = { + " \ 'overfull' : 0, + " \ 'underfull' : 0, + " \ 'global' : 0, + " \ 'packages' : { + " \ 'biblatex' : 0, + " \ 'gensymb' : 0, + " \ }, + " \ 'references' : 0, + " \ 'unused' : 0, + " \} + let g:vimtex_quickfix_ignore_filters = [ + \'Overfull', + \] let g:vimtex_quickfix_autoclose_after_keystrokes = 5 - " let g:vimtex_compiler_latexmk = { + let g:vimtex_compiler_latexmk = { + \ 'continuous' : 1, + \} " \ 'continuous' : 0, - " \} {{ if not (eq .chezmoi.username "root") }} " auto-completion for various languages @@ -342,6 +349,12 @@ Plug 'martinda/Jenkinsfile-vim-syntax' Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } let g:go_fmt_command = "" Plug 'buoto/gotests-vim' +Plug 'tomlion/vim-solidity' +Plug 'jparise/vim-graphql' +Plug 'maxmellon/vim-jsx-pretty' +Plug 'mlaursen/vim-react-snippets', { 'branch': 'main' } +Plug 'cristianoliveira/vim-react-html-snippets' +Plug 'jidn/vim-dbml' " ]]] vim-plug " " Mappings [[[ " @@ -358,6 +371,7 @@ colorscheme gotham256 nnoremap nnoremap +nnoremap Y yy " visual select across lines by default " nnoremap v @@ -608,6 +622,7 @@ autocmd Filetype markdown inoremap c - [ ] autocmd Filetype markdown nnoremap e 0f[lr autocmd Filetype markdown inoremap t TODO: autocmd Filetype markdown vnoremap r q:is/\[x/[ /g:set nohlsearch +autocmd Filetype markdown vnoremap x q:is/\[ /[x/g:set nohlsearch autocmd Filetype markdown nnoremap x 0f[lrx " nnoremap x 0f[lrx @@ -618,13 +633,14 @@ autocmd Filetype go nnoremap r yawq:iGoRename p autocmd Filetype go nnoremap t :GoTest autocmd Filetype go-template inoremap e {{"{{ else }}"}} -autocmd Filetype go-template inoremap hd {{"{{ .chezmoi.homedir }}"}} +autocmd Filetype go-template inoremap hd {{"{{ .chezmoi.homeDir }}"}} autocmd Filetype go-template nnoremap fp :%s/{{"{{{"}}/[[[/g:%s/}}}/]]]/g autocmd Filetype Jenkinsfile nnoremap q :.s/"/'/g autocmd Filetype Jenkinsfile vnoremap q :s/"/'/g autocmd Filetype python inoremap bp breakpoint() +autocmd Filetype python inoremap ip from pprint import pprint autocmd Filetype python inoremap s self. " ]]] Local Mappings " diff --git a/dot_xinitrc.tmpl b/dot_xinitrc.tmpl index fd021a1..59dd0a2 100644 --- a/dot_xinitrc.tmpl +++ b/dot_xinitrc.tmpl @@ -20,7 +20,8 @@ numlockx on & 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/non-editing") & +wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/editing") & {{ end }} exec i3 diff --git a/scripts/executable_backup b/scripts/executable_backup index d9309df..1495033 100755 --- a/scripts/executable_backup +++ b/scripts/executable_backup @@ -1,6 +1,7 @@ #!/bin/bash -mount_dir="/run/media/kevin/backup-hd" +# mount_dir="/run/media/kevin/backup-hd" +mount_dir="/mnt/linux-files-2" # Backup destination case $1 in nzxt )