3 Commits

Author SHA1 Message Date
13ab26afd9 Remove fix silent mouse 2025-11-04 09:18:15 -05:00
c970150de4 Update 2025-04-07 10:49:29 -04:00
7042aeb0f0 i3 secondary bar for GTX 1070 2025-03-30 18:57:57 -04:00
25 changed files with 179 additions and 65 deletions

View File

@@ -33,7 +33,7 @@ whi "whereis"
# nvt "nvidia-settings --assign CurrentMetaMode='DVI-I-1: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}, HDMI-0: nvidia-auto-select +3840+0 {ForceCompositionPipeline=On}'" # nvt "nvidia-settings --assign CurrentMetaMode='DVI-I-1: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}, HDMI-0: nvidia-auto-select +3840+0 {ForceCompositionPipeline=On}'"
xra "xrandr --auto" xra "xrandr --auto"
xrs "xrandr --auto && xrandr --output HDMI-0 --right-of DVI-I-1" xrs "xrandr --auto && xrandr --output HDMI-0 --right-of DVI-D-0"
xrn "xrandr --output HDMI-0 --rotate normal && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null" 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" xrr "xrandr --output HDMI-0 --rotate right && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null"
@@ -134,6 +134,8 @@ ssaw "ssh -t kevin@3.147.85.36 tmux a"
# postgres ssh tunnel # postgres ssh tunnel
sdt "ssh kevin@165.22.239.234 -L 5433:localhost:5432" sdt "ssh kevin@165.22.239.234 -L 5433:localhost:5432"
ssu "ssh -p 399 kevin@192.168.0.100"
# ]]] ssh # # ]]] ssh #
wh "watch" wh "watch"
@@ -167,6 +169,7 @@ llb "lsd -lF --group-dirs first --size short | bat"
lld "lsd -lF --group-dirs first --size short -d */" lld "lsd -lF --group-dirs first --size short -d */"
lls "lsd -lF --group-dirs first --size short -Sr" lls "lsd -lF --group-dirs first --size short -Sr"
llt "lsd -lF --group-dirs first --size short -tr" llt "lsd -lF --group-dirs first --size short -tr"
llw "lsd -lF --group-dirs first --size short | wc -l"
lla "lsd -AlF --group-dirs first --size short" lla "lsd -AlF --group-dirs first --size short"
{{ else }} {{ else }}
l "ls" l "ls"
@@ -192,7 +195,7 @@ rsy "rsync --ignore-existing -Ptr"
lhd "sudo fdisk -l" lhd "sudo fdisk -l"
# get disc space for mounted drives # get disc space for mounted drives
# ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null" # ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null"
dsp "df -h | head -n 1 && df -h | grep sd" dsp "df -h | head -n 1 && df -h | grep nvm"
chownw "sudo chown -R kevin:wheel" chownw "sudo chown -R kevin:wheel"
chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}" chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}"
# cd into backup folder and show backup sizes # cd into backup folder and show backup sizes
@@ -207,7 +210,8 @@ uzl "unzip -l"
#s "systemctl suspend" #s "systemctl suspend"
#s "xset dpms force off" #s "xset dpms force off"
#s "~/linux-config/scripts/executable_dual-monitor-slideshow" #s "~/linux-config/scripts/executable_dual-monitor-slideshow"
s "fdfind -t f -e jpg -e png -e jpeg -e gif -e webp . /mnt/linux-files-2/Pictures/hevin | shuf | sxiv -S 5 -s f -i &" s "systemctl suspend"
ss "xset s off -dpms && fdfind -t f -e jpg -e png -e jpeg -e gif -e webp . /mnt/linux-files-3/slideshow | shuf | sxiv -S 5 -s f -i &"
# sl "i3lock-fancy && systemctl suspend" # sl "i3lock-fancy && systemctl suspend"
# so "xset dpms force off" # so "xset dpms force off"
xx "exit" xx "exit"
@@ -408,7 +412,7 @@ bh "buku -h | bat"
bi "buku --immutable 1 -zu" bi "buku --immutable 1 -zu"
bo "buku -o" bo "buku -o"
bp "buku -p" bp "buku -p"
br "buku -zd" #br "buku -zd"
brp "buku --replace" brp "buku --replace"
bs "buku --deep -n5 -s" bs "buku --deep -n5 -s"
bsq "sqlitebrowser ~/.local/share/buku/bookmarks.db &" bsq "sqlitebrowser ~/.local/share/buku/bookmarks.db &"
@@ -536,7 +540,7 @@ wc "wc -l"
wcw "wc -w" wcw "wc -w"
wch "weechat" wch "weechat"
# wg "wego" # wg "wego"
# wg "curl wttr.in" wtr "curl wttr.in/Toronto"
# wg "curl -L wthr.ml" # wg "curl -L wthr.ml"
wgm "curl -L wthr.ml/m" wgm "curl -L wthr.ml/m"
wgt "curl -L wthr.ml/t" wgt "curl -L wthr.ml/t"
@@ -558,6 +562,8 @@ pg "pass generate -c"
ps "pass show" ps "pass show"
psr "pass rm" psr "pass rm"
psi "pass show info | bat" psi "pass show info | bat"
pem "pass edit finances/metamask"
pes "pass edit finances/scotiabank"
pev "pass edit finances/visa-cash" pev "pass edit finances/visa-cash"
xc "xclip -selection clipboard" xc "xclip -selection clipboard"
@@ -624,7 +630,7 @@ tte "timetrace edit record latest"
# ttc "timetrace create" # ttc "timetrace create"
ttc "timetrace create project" ttc "timetrace create project"
ttp "timetrace create project" ttp "timetrace create project"
ttl "timetrace list records today" #ttl "timetrace list records today"
ttlp "timetrace list projects" ttlp "timetrace list projects"
ttr "timetrace report" ttr "timetrace report"
tts "timetrace stop" tts "timetrace stop"
@@ -757,7 +763,7 @@ grso "git reset --soft orig/main"
grsh "git reset --hard" grsh "git reset --hard"
grsho "git reset --hard origin/main" grsho "git reset --hard origin/main"
grshh "git reset --hard HEAD" grshh "git reset --hard HEAD"
grshh1 "git reset --hard HEAD~1" grsh1 "git reset --hard HEAD~1"
# show files in git repo # show files in git repo
# gls "git ls-tree -r HEAD --name-only" # gls "git ls-tree -r HEAD --name-only"
gls "git ls-tree HEAD --name-only" gls "git ls-tree HEAD --name-only"
@@ -853,7 +859,7 @@ zp "chezmoi -v apply"
# spotify-lib-vis [[[ # # spotify-lib-vis [[[ #
# start spv server outside dir # start spv server outside dir
psv "source ../bin/activate.fish && python manage.py runserver" #psv "source ../bin/activate.fish && python manage.py runserver"
# open spv db in psql # open spv db in psql
spvdb "psql -d spotifyvis -U django" spvdb "psql -d spotifyvis -U django"
mig "python manage.py makemigrations && python manage.py migrate --run-syncdb && ssv" mig "python manage.py makemigrations && python manage.py migrate --run-syncdb && ssv"
@@ -937,7 +943,7 @@ rt "python ~/coding/rt-scraper/!rt-scraper.py"
# ada-mario [[[ # # ada-mario [[[ #
mm "printf '\033c' && bear make clean move_mouse_with_head && ./move_mouse_with_head" #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" mft "printf '\033c' && bear make clean face_detector && ./face_detector"
rft "~/coding/face-tracker/face_detector > /tmp/move_mouse_with_head.out" rft "~/coding/face-tracker/face_detector > /tmp/move_mouse_with_head.out"
@@ -1039,9 +1045,11 @@ wob "watch -n60 'lsd -lF --group-dirs first --size short 2020*.mkv'"
fnpr "t timeline FNProgress | sed -n '2p'" fnpr "t timeline FNProgress | sed -n '2p'"
fnu "sxiv ~/Documents/fortnite/pics/maps/upgrade.png &" fnu "sxiv ~/Documents/fortnite/pics/maps/upgrade.png &"
fnl "python /mnt/linux-files-3/fortnite/show-level.py"
mip "ifuse /mnt/ipad" mip "ifuse /mnt/ipad"
umip "fusermount -u /mnt/ipad" #umip "fusermount -u /mnt/ipad"
kip "fuser -km /mnt/ipad && fusermount -u /mnt/ipad"
fd1 "fd --changed-within 1d > cp.txt" fd1 "fd --changed-within 1d > cp.txt"
ofa "lsof | grep '101APPLE'" ofa "lsof | grep '101APPLE'"
@@ -1074,7 +1082,7 @@ xt "npm run type-check | tee logs/type-check.log"
#xsv "npx nodemon" #xsv "npx nodemon"
#xsv "nodemon --exec tsx src/server.ts" #xsv "nodemon --exec tsx src/server.ts"
xsv "npx nodemon --exitcrash --exec tsx src/server.ts" xsv "npx nodemon --exitcrash --exec tsx src/server.ts"
cl "npx ts-node src/cli.ts list-nfts -p 5 -t 100" #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" clw "watch npx ts-node src/cli.ts list-nfts -p 5 -t 100"
vp "vercel --prod" vp "vercel --prod"

View File

@@ -8,7 +8,7 @@ cfg ~/.config
cfgf ~/.config/fish cfgf ~/.config/fish
ch ~/Documents/chat ch ~/Documents/chat
dc ~/Documents/chat/discord dc ~/Documents/chat/discord
da /mnt/ipad/DCIM/101APPLE da /mnt/ipad/DCIM/105APPLE
dl ~/Downloads dl ~/Downloads
# dw ~/dwm # dw ~/dwm
D ~/Documents D ~/Documents
@@ -23,16 +23,18 @@ lfv2 /mnt/linux-files-2/Videos
lfv2s /mnt/linux-files-2/Videos/shows lfv2s /mnt/linux-files-2/Videos/shows
lfy /mnt/linux-files/Videos/yt lfy /mnt/linux-files/Videos/yt
a2 /mnt/linux-files-2/arch-2/full/home/kevin a2 /mnt/linux-files-2/arch-2/full/home/kevin
lf3 /mnt/linux-files-3
medi /media/kevin medi /media/kevin
o / o /
pd ~/.password-store pd ~/.password-store
pfp /mnt/linux-files-2/arch-2/full/home/kevin/Pictures/profile-pics pfp /mnt/linux-files-2/arch-2/full/home/kevin/Pictures/profile-pics
pfpp ~/Pictures/profile-pics/profiles-by-moto pfpp ~/Pictures/profile-pics/profiles-by-moto
P ~/Pictures P ~/Pictures
ssu ~/Pictures/screenshots/desktop/unsorted ssus ~/Pictures/screenshots/desktop/unsorted
std ~/st std ~/st
# tm /tmp # tm /tmp
tm ~/tmp tm ~/tmp
V ~/Videos
{{ if and (eq .chezmoi.username "root") (eq .linux_os "debian") }} {{ if and (eq .chezmoi.username "root") (eq .linux_os "debian") }}
ng /etc/nginx/sites-available ng /etc/nginx/sites-available
@@ -78,10 +80,11 @@ b1 ~/coding/mf-site/themes/base16
ada ~/coding/ada-mario ada ~/coding/ada-mario
# ft ~/coding/face-tracker # ft ~/coding/face-tracker
#hv ~/Documents/hevin #hv ~/Documents/hevin
hv /mnt/linux-files-2/Pictures/hevin #hv /mnt/linux-files-2/Pictures/hevin
hv ~/Pictures/hevin
hvs ~/Documents/hevin/shopping hvs ~/Documents/hevin/shopping
j ~/Documents/journal j ~/Documents/journal
jt ~/Documents/journal/todo/24 jt ~/Documents/journal/todo/25
# lh ~/Documents/listening-history # lh ~/Documents/listening-history
mmd ~/coding/move-mouse-with-head mmd ~/coding/move-mouse-with-head
mh ~/coding/mf-site/layouts mh ~/coding/mf-site/layouts
@@ -101,7 +104,8 @@ swd ~/coding/swex
# tb ~/coding/trapbot/src/trapbot # tb ~/coding/trapbot/src/trapbot
tb ~/coding/twitter-bot tb ~/coding/twitter-bot
ur ~/coding/uranium-godot ur ~/coding/uranium-godot
# wo ~/Documents/workout-logs wo ~/Documents/workout-logs/25/4
# gaming [[[ # # gaming [[[ #
@@ -147,17 +151,19 @@ Css ~/Pictures/screenshots/mobile/codm
# fortnite [[[ # # fortnite [[[ #
fn ~/Documents/fortnite #fn ~/Documents/fortnite
fnc /mnt/linux-files/Videos/yt/fortnite/clips/4 fnc /mnt/linux-files/Videos/yt/fortnite/clips/4
fni /mnt/ipad/DCIM/100APPLE fni /mnt/ipad/DCIM/100APPLE
#fnm ~/Documents/fortnite/pics/maps #fnm ~/Documents/fortnite/pics/maps
fnn ~/Documents/fortnite/notes fnn ~/Documents/fortnite/notes
fnp ~/Documents/fortnite/pics fnp ~/Documents/fortnite/pics
fns ~/Documents/fortnite/stats/api fns ~/Videos/fortnite/stats
fnsp ~/Documents/fortnite/stats/pics # fnsp ~/Documents/fortnite/stats/pics
fnv /mnt/linux-files/Videos/personal-fortnite-games/review fnv /mnt/linux-files/Videos/personal-fortnite-games/review
fnv2 /mnt/linux-files-2/Videos/ipad/fortnite/name fnv2 /mnt/linux-files-2/Videos/ipad/fortnite/name
tcd /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader #fn ~/Videos/fortnite
fn /mnt/linux-files-3/fortnite
tcd Videos/yt/fortnite/clips/twitch-clip-downloader
# ]]] fortnite # # ]]] fortnite #
@@ -169,8 +175,6 @@ twt ~/Documents/twitter
sdv ~/Documents/stardew-valley-aha sdv ~/Documents/stardew-valley-aha
wo ~/Documents/workout-logs/7
dap /mnt/linux-files-2/Pictures/ipad dap /mnt/linux-files-2/Pictures/ipad
dau /mnt/linux-files-2/Videos/ipad/unsorted dau /mnt/linux-files-2/Videos/ipad/unsorted
@@ -292,6 +296,8 @@ me2 ~/coding/me-sniper/backend-copy
kb ~/coding/kanban-calendar kb ~/coding/kanban-calendar
ac ~/coding/astral-challenge-txt ac ~/coding/astral-challenge-txt
rbc ~/coding/rbc-aml/src
# ]]] sch # # ]]] sch #
# personal [[[ # # personal [[[ #
@@ -308,5 +314,8 @@ sm /mnt/linux-files-2/Videos/sam-smith/named
wg /mnt/linux-files-2/Pictures/weed-grow-23 wg /mnt/linux-files-2/Pictures/weed-grow-23
sdc /run/media/kevin/6339-3234 sdc /run/media/kevin/6339-3234
obs /mnt/linux-files-3/obs
br ~/Documents/fortnite/brainrot
# ]]] personal # # ]]] personal #

View File

@@ -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/25/2.md jt ~/Documents/journal/todo/25/8.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
@@ -84,7 +84,8 @@ bn ~/Documents/discord-burners/burners.md
cmr ~/Documents/codm/discord-recruitment.md cmr ~/Documents/codm/discord-recruitment.md
cra ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/data/default/attribs.json 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 crm ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/data/default/monsters.json
fn ~/Documents/fortnite/notes/fortnite-notes.md #fn ~/Documents/fortnite/notes/fortnite-notes.md
fn ~/Documents/fortnite/notes/vods.md
fb ~/Documents/fortnite/notes/building-drills.md fb ~/Documents/fortnite/notes/building-drills.md
fw ~/Documents/fortnite/notes/warmup.md fw ~/Documents/fortnite/notes/warmup.md
fp ~/Documents/fortnite/notes/post.md fp ~/Documents/fortnite/notes/post.md
@@ -128,3 +129,6 @@ wd ~/Documents/journal/personal/weed.md
wo ~/Documents/workout-logs/7/running.md wo ~/Documents/workout-logs/7/running.md
str ~/Documents/workout-logs/stretching.md str ~/Documents/workout-logs/stretching.md
be ~/Documents/workout-logs/25/4/back-exercises.md
ms ~/Documents/journal/personal/meds-sched.md
mg ~/Documents/journal/personal/meds-gpt.md

View File

@@ -71,7 +71,7 @@ set -x HASTE_SERVER https://pste.gq
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64 set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64
set -x GOPATH ~/go 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 $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 ~/.yarn/bin ~/.linuxbrew/bin ~/.fnm/current/bin ~/.nimble/bin set -x PATH $PATH ~/.local/bin ~/scripts ~/scripts/colors $GOPATH/bin ~/.minetest/minetest/bin ~/.gem/ruby/*/bin ~/.yarn/bin ~/.linuxbrew/bin ~/.fnm/current/bin ~/.nimble/bin ~/miniconda3/bin
set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
# Java [[[ # # Java [[[ #
@@ -124,7 +124,7 @@ set -xU BROWSER "firefox"
set -xU FZF_DEFAULT_COMMAND "find ." set -xU FZF_DEFAULT_COMMAND "find ."
set -x LAPTOP_IP "192.168.0.19" set -x LAPTOP_IP "192.168.0.19"
set -x PHONE_IP "192.168.0.104" set -x PHONE_IP "192.168.0.241"
set -x PIXEL_IP "192.168.0.18" set -x PIXEL_IP "192.168.0.18"
set -x WORK_LAPTOP_IP "kmok@192.168.0.11" set -x WORK_LAPTOP_IP "kmok@192.168.0.11"
@@ -142,7 +142,7 @@ set -x FLASK_DEBUG 1
set -x FULLNODE_API_INFO wss://api.chain.love set -x FULLNODE_API_INFO wss://api.chain.love
set -x IPAD_IMG 18 set -x IPAD_IMG 55
#source /home/kevin/coding/aws.fish #source /home/kevin/coding/aws.fish
@@ -150,6 +150,9 @@ set -x LIBVIRT_DEFAULT_URI qemu:///system
set --erase DB_NAME set --erase DB_NAME
#set -x NODE_OPTIONS '--loader ts-node/esm'
#set NODE_OPTIONS '--loader ts-node/esm'
# ]]] universal var's # # ]]] universal var's #
# fish-specific [[[ # # fish-specific [[[ #
@@ -226,7 +229,7 @@ abbr bun "backup nzxt"
abbr bupp "backup-phone-pics" abbr bupp "backup-phone-pics"
#abbr ca "cad-to-us" #abbr ca "cad-to-us"
abbr cccs "sync-alt-cal class" abbr cccs "sync-alt-cal class"
#abbr cl "clip" abbr cl "clip"
#abbr cli "clip-ipad" #abbr cli "clip-ipad"
abbr cpc "copy cat" abbr cpc "copy cat"
abbr cpe "copy echo" abbr cpe "copy echo"
@@ -266,6 +269,7 @@ abbr lo "libreoffice-silent"
abbr ma "man-vim task" abbr ma "man-vim task"
abbr mat "math" abbr mat "math"
abbr mi "mpv-ipad" abbr mi "mpv-ipad"
abbr mm "mpv-ipad-mov"
abbr mn "man-vim" abbr mn "man-vim"
abbr mdf "mkdir-cd" abbr mdf "mkdir-cd"
abbr mps "mpv-sub" abbr mps "mpv-sub"
@@ -282,6 +286,7 @@ abbr rl "readlink-cp"
abbr rds "redshift-set" abbr rds "redshift-set"
abbr rmi "rm-ipad" abbr rmi "rm-ipad"
abbr rsi "rsync-ipad-vid" abbr rsi "rsync-ipad-vid"
abbr rsm "rsync-ipad-vid-mov"
abbr scf "scp-vid fn" abbr scf "scp-vid fn"
abbr sma "smol-add" abbr sma "smol-add"
abbr smd "smol-delete" abbr smd "smol-delete"
@@ -297,7 +302,10 @@ abbr tam "tmux-attach misc"
abbr tan "tmux-attach nft" abbr tan "tmux-attach nft"
abbr tan2 "tmux-attach nft-2" abbr tan2 "tmux-attach nft-2"
abbr tao "tmux-attach obs" abbr tao "tmux-attach obs"
abbr ttl "timetrace-list"
abbr thes "thesaurus" abbr thes "thesaurus"
abbr ubs "ubuntu-start"
abbr umip "unmount-ipad"
# abbr usc "us-to-cad" # abbr usc "us-to-cad"
#abbr us "us-to-cad" #abbr us "us-to-cad"
abbr ut "unix-timestamp" abbr ut "unix-timestamp"
@@ -334,3 +342,16 @@ cat /home/kevin/.cache/wal/sequences
#ssh-add ~/.ssh/ai16z-test.pem > /dev/null #ssh-add ~/.ssh/ai16z-test.pem > /dev/null
# keychain --agents ssh id_rsa # keychain --agents ssh id_rsa
#set -Ux SSH_AUTH_SOCK (keychain --eval --agents ssh id_rsa | grep setenv | sed -E 's/setenv (\S+) (\S+);/\2/') #set -Ux SSH_AUTH_SOCK (keychain --eval --agents ssh id_rsa | grep setenv | sed -E 's/setenv (\S+) (\S+);/\2/')
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
#if test -f /home/kevin/miniconda3/bin/conda
#eval /home/kevin/miniconda3/bin/conda "shell.fish" "hook" $argv | source
#else
#if test -f "/home/kevin/miniconda3/etc/fish/conf.d/conda.fish"
#. "/home/kevin/miniconda3/etc/fish/conf.d/conda.fish"
#else
#set -x PATH "/home/kevin/miniconda3/bin" $PATH
#end
#end
# <<< conda initialize <<<

View File

@@ -0,0 +1,3 @@
function conda_activate
source ~/miniconda3/bin/activate $argv
end

View File

@@ -0,0 +1,3 @@
function mpv-ipad-mov
mpv IMG_$IPAD_IMG$argv[1].MOV
end

View File

@@ -0,0 +1,3 @@
function rsync-ipad-vid-mov
rsync --ignore-existing -Ptr IMG_$IPAD_IMG$argv[1].MOV ~/Videos/fortnite/
end

View File

@@ -1,3 +1,5 @@
function rsync-ipad-vid function rsync-ipad-vid
rsync --ignore-existing -Ptr IMG_$IPAD_IMG$argv[1].MP4 /mnt/linux-files-2/Videos/ipad/fortnite/name #rsync --ignore-existing -Ptr IMG_$IPAD_IMG$argv[1].MP4 /mnt/linux-files-2/Videos/ipad/fortnite/name
rsync --ignore-existing -Ptr IMG_$IPAD_IMG$argv[1].MP4 /mnt/linux-files-3/fortnite
#rsync --ignore-existing -Ptr IMG_$IPAD_IMG$argv[1].MP4 ~/Videos/fortnite/
end end

View File

@@ -0,0 +1,4 @@
function unmount-ipad
fuser -km /mnt/ipad
fusermount -u /mnt/ipad
end

View File

@@ -0,0 +1,5 @@
function timetrace-list
timetrace list records today | head -n 6
timetrace list records today | awk 'NR>6 && /^\+/{exit} NR>6' | sort -t '|' -k3,3
timetrace list records today | tail -n 3
end

View File

@@ -1,6 +1,7 @@
# startup [[[ # # startup [[[ #
set $term kitty set $term kitty
#set $term gnome-terminal
# set $term st # set $term st
# set $term_alt urxvt # set $term_alt urxvt
{{ if eq .chezmoi.hostname "x1-carbon" }} {{ if eq .chezmoi.hostname "x1-carbon" }}
@@ -21,6 +22,7 @@ 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 $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 $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 $browser'
exec --no-startup-id i3-msg 'workspace $ws6; exec vesktop'
# 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
@@ -115,7 +117,8 @@ set $scripts_path "/home/kevin/scripts"
# bindsym Mod4+x exec ~/scripts/xmodmap-custom # bindsym Mod4+x exec ~/scripts/xmodmap-custom
bindsym Mod4+x exec notify-send "xmodmap" "$(~/scripts/xmodmap-custom)" bindsym Mod4+x exec notify-send "xmodmap" "$(~/scripts/xmodmap-custom)"
# 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 Print --release exec "scrot -s $screenshot_folder/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'" #bindsym Print --release exec "scrot -s $screenshot_folder/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
#bindsym Print --release exec --no-startup-id scrot -s "/home/kevin/Pictures/screenshots/desktop/unsorted/screenshot-$(date +%F_%T).png" -e 'xclip -selection c -t image/png < $f'
bindsym Print --release exec "maim -su | tee ~/Pictures/screenshots/desktop/unsorted/screenshot-$(date +%F_%T).png | xclip -selection clipboard -t image/png" bindsym Print --release exec "maim -su | tee ~/Pictures/screenshots/desktop/unsorted/screenshot-$(date +%F_%T).png | xclip -selection clipboard -t image/png"
bindsym Control+Print --release exec "scrot -u ~/Pictures/screenshots/desktop/unsorted/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'" bindsym Control+Print --release exec "scrot -u ~/Pictures/screenshots/desktop/unsorted/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
{{ else }} {{ else }}
@@ -337,7 +340,7 @@ set $secondary "DVI-I-1"
set $main "HDMI-0" set $main "HDMI-0"
{{ end }} {{ end }}
set $secondary "DVI-I-1" set $secondary "DVI-D-0"
set $main "HDMI-0" set $main "HDMI-0"
# workspace $ws1 output $main # workspace $ws1 output $main

View File

@@ -36,7 +36,7 @@ markup=pango
[time] [time]
label= label=
command=date '+%H:%M.%a-%m-%d' command=date '+%H:%M.%a-%m-%d'
interval=30 interval=1
color=#acc0cd color=#acc0cd
[spotify] [spotify]

View File

@@ -64,7 +64,7 @@ interval=60
# time [[[ # # time [[[ #
[calendar] [calendar]
interval=30 interval=1
label= label=
# DATEFMT=+%H:%M.%a-%m-%d # DATEFMT=+%H:%M.%a-%m-%d
# DATEFMT=+%H:%M # DATEFMT=+%H:%M

View File

@@ -42,29 +42,29 @@ label=HERO
command=/home/kevin/.config/i3blocks/scripts/dexscreener abstract 0x3771b51b5a705338fa19702f249afcaa94b0cd8c command=/home/kevin/.config/i3blocks/scripts/dexscreener abstract 0x3771b51b5a705338fa19702f249afcaa94b0cd8c
interval=5 interval=5
[kraken] #[kraken]
label=BTC #label=BTC
#TICKER=BTCUSDC ##TICKER=BTCUSDC
##command=/home/kevin/.config/i3blocks/scripts/kraken BTCUSDC
#command=/home/kevin/.config/i3blocks/scripts/kraken BTCUSDC #command=/home/kevin/.config/i3blocks/scripts/kraken BTCUSDC
command=/home/kevin/.config/i3blocks/scripts/kraken BTCUSDC #interval=30
interval=30
[kraken] #[kraken]
label=ETH #label=ETH
#TICKER=ETHUSDC ##TICKER=ETHUSDC
command=/home/kevin/.config/i3blocks/scripts/kraken ETHUSDC #command=/home/kevin/.config/i3blocks/scripts/kraken ETHUSDC
interval=30 #interval=30
# [ticker] ## [ticker]
# label=btc ## label=btc
# ticker=btc-usd ## ticker=btc-usd
# interval=30 ## interval=30
[kraken] #[kraken]
label=SOL #label=SOL
#TICKER=SOLUSD ##TICKER=SOLUSD
command=/home/kevin/.config/i3blocks/scripts/kraken SOLUSD #command=/home/kevin/.config/i3blocks/scripts/kraken SOLUSD
interval=30 #interval=30
# [kraken] # [kraken]
# label=SEI # label=SEI
@@ -177,7 +177,7 @@ interval=5
# time [[[ # # time [[[ #
[calendar] [calendar]
interval=5 interval=1
label= label=
# DATEFMT=+%H:%M # DATEFMT=+%H:%M
# DATEFMT=+%H:%M.%a-%m-%d # DATEFMT=+%H:%M.%a-%m-%d

View File

@@ -0,0 +1,4 @@
#!/bin/bash
. "/home/kevin/.cache/wal/colors.sh"
printf "Kevin\n\n%s\n" "$color7"

View File

@@ -19,6 +19,7 @@ image/png=sxiv.desktop
x-scheme-handler/discord-409416265891971072=discord-409416265891971072.desktop x-scheme-handler/discord-409416265891971072=discord-409416265891971072.desktop
x-scheme-handler/eclipse+command=_usr_lib_dbeaver_.desktop x-scheme-handler/eclipse+command=_usr_lib_dbeaver_.desktop
video/mp4=mpv.desktop video/mp4=mpv.desktop
x-scheme-handler/discord=vesktop.desktop
[Added Associations] [Added Associations]
x-scheme-handler/http=firefox.desktop; x-scheme-handler/http=firefox.desktop;

16
dot_config/msmtp/config Normal file
View File

@@ -0,0 +1,16 @@
defaults
logfile ~/.config/msmtp/msmtp.log
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
account firemail
host mail.cock.li
port 465
auth on
user vole@firemail.cc
password iavli3JYQT0bmuJlvL82ShQ
tls_starttls off
from vole@firemail.cc
account default : firemail

View File

@@ -0,0 +1,18 @@
set from = "vole@firemail.cc"
set realname = "Vole"
set mbox_type = Maildir
set folder = "~/mail/firemail"
set spoolfile = "+INBOX"
set record = "+Sent"
set postponed = "+Drafts"
set trash = "+Trash"
set sendmail = "/usr/bin/msmtp"
set sendmail_wait = 0
set editor = "nano"
set charset = "utf-8"
auto_view text/html
alternative_order text/plain text/html
macro index <F5> "<shell-escape>mbsync firemail<enter><enter>" "Sync mail"

View File

@@ -705,13 +705,15 @@ 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-drop -a -x %p #map dg shell dragon-drop -a -x %p
map dg shell dragon -x %p
# map <C-d> shell dragon-drag-and-drop -a -x %p # map <C-d> shell dragon-drag-and-drop -a -x %p
# a plugin that adds file glyphs / icon support to Ranger: # a plugin that adds file glyphs / icon support to Ranger:
# https://github.com/alexanderjeurissen/ranger_devicons # https://github.com/alexanderjeurissen/ranger_devicons
default_linemode devicons default_linemode devicons
set clipboard_program xclip set clipboard_program xclip
set clipboard_cmd xclip -selection clipboard
map tsx set editor nvim map tsx set editor nvim
set editor nvim set editor nvim

View File

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

View File

@@ -82,14 +82,17 @@ context.mny=project:mny
context.pey=project:pey context.pey=project:pey
context.sch=project:sch context.sch=project:sch
#context.sniper=project:sniper project:job #context.sniper=project:sniper project:job
context.sniper=(project:sniper or project:job) context.sniper=project:sniper
#context.sniper=(project:sniper or project:job)
context.linux=project:linux
#context=none #context=none
context=sniper context=sniper
#context=linux
# context=home # context=home
# context=out # context=out
#context=sch #context=sch
# context=mny #context=mny
# context=pey # context=pey
# context=not-pey # context=not-pey
# }}} context # # }}} context #

View File

@@ -18,7 +18,8 @@ xset r rate $XSET_DELAY $XSET_RATE
picom & picom &
imwheel & imwheel &
numlockx on & numlockx on &
start-pulseaudio-x11 & #start-pulseaudio-x11 &
#sudo alsa force-reload
# 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\")" && /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") &

View File

@@ -1,7 +1,8 @@
#!/bin/bash #!/bin/bash
# mount_dir="/run/media/kevin/backup-hd" # mount_dir="/run/media/kevin/backup-hd"
mount_dir="/mnt/linux-files-2" #mount_dir="/mnt/linux-files-2"
mount_dir="/backup"
# Backup destination # Backup destination
case $1 in case $1 in
nzxt ) nzxt )

View File

@@ -8,6 +8,11 @@ if [ "$1" = "BTCUSDC" ]; then
else else
price=$(echo "$raw" | jq -r ".result.$1.b[0]") price=$(echo "$raw" | jq -r ".result.$1.b[0]")
fi fi
if [ "$1" = "BTCUSDC" ]; then
price=$(echo "$raw" | jq -r ".result.XBTUSDC.b[0]")
else
price=$(echo "$raw" | jq -r ".result.$1.b[0]")
fi
#if [ $(echo "$price < 1" | bc -l) -eq 1 ]; then #if [ $(echo "$price < 1" | bc -l) -eq 1 ]; then
#printf "%0.3f\n" "$price" | cut -c 3- #printf "%0.3f\n" "$price" | cut -c 3-
#elif [ $(echo "$price < 10" | bc -l) -eq 1 ]; then #elif [ $(echo "$price < 10" | bc -l) -eq 1 ]; then

View File

@@ -10,6 +10,7 @@
/home/kevin/Android /home/kevin/Android
/home/kevin/coding/archived/opencv /home/kevin/coding/archived/opencv
/home/kevin/Downloads/build /home/kevin/Downloads/build
/backup
/lost+found /lost+found
/mnt /mnt
/opt /opt
@@ -28,3 +29,4 @@
/var/lib/apt/lists /var/lib/apt/lists
/var/lib/dpkg/info /var/lib/dpkg/info
/var/lib/snapd /var/lib/snapd