8 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
f6a0c39228 Update 2025-03-29 19:52:15 -04:00
9c97e0e0ca Fix CPU temp 2025-03-28 17:56:19 -04:00
59a8d1f5ab Fix showing mute 2025-03-28 17:46:40 -04:00
e42cde1f54 Display volume num 2025-03-28 17:45:14 -04:00
2dc7427936 Doesn't show volume but scrolling works 2025-03-28 17:42:21 -04:00
29 changed files with 359 additions and 115 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
@@ -206,7 +209,9 @@ 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 "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"
@@ -343,7 +348,7 @@ id "identify"
mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install" mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install"
# mst "sudo ~/st/make-st.sh" # mst "sudo ~/st/make-st.sh"
mlf2 "sudo mount /dev/sdd1 /mnt/linux-files-2" mlf2 "sudo mount /dev/sdc1 /mnt/linux-files-2"
bkuh "sudo rsync -PraAX --exclude-from='/home/kevin/txt/exclude-dirs-backup-full.txt' /home '/mnt/linux-files-2/arch-2/full'" bkuh "sudo rsync -PraAX --exclude-from='/home/kevin/txt/exclude-dirs-backup-full.txt' /home '/mnt/linux-files-2/arch-2/full'"
kgpg "kill -9 gpg-agent && gpg-agent" kgpg "kill -9 gpg-agent && gpg-agent"
@@ -407,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 &"
@@ -535,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"
@@ -557,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"
@@ -623,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"
@@ -756,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"
@@ -852,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"
@@ -936,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"
@@ -1038,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'"
@@ -1073,10 +1082,12 @@ 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"
cr "~/Applications/cursor.AppImage --no-sandbox &"
# ]]] work # # ]]] work #
# red-hat [[[ # # red-hat [[[ #

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

@@ -2,6 +2,6 @@
. "/home/kevin/.cache/wal/colors.sh" . "/home/kevin/.cache/wal/colors.sh"
temps="$(sensors | rg 'temp1:.*' | awk '{ print $2 }' | rg -o '\d{2}' | \ # Read from k10temp's Tctl sensor for AMD CPU temperature
sort -r | sed 's/$/°C/' | tr '\n' ' ' | xargs)" temp="$(sensors | rg 'Tctl:' | awk '{ print $2 }' | rg -o '\d{2}' | sed 's/$/°C/')"
printf "%s\n\n%s\n" "$temps" "$color7" printf "%s\n\n%s\n" "$temp" "$color7"

View File

@@ -92,14 +92,13 @@ done
# functions {{{ # # functions {{{ #
if [[ -z "$MIXER" ]] ; then if [[ -z "$MIXER" ]] ; then
# Use the default ALSA mixer
MIXER="default" MIXER="default"
if amixer -D pulse info >/dev/null 2>&1 ; then
MIXER="pulse"
fi
fi fi
if [[ -z "$SCONTROL" ]] ; then if [[ -z "$SCONTROL" ]] ; then
SCONTROL=$(amixer -D "$MIXER" scontrols | sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | head -n1) # Use the 'Master' control
SCONTROL="Master"
fi fi
CAPABILITY=$(amixer -D $MIXER get $SCONTROL | sed -n "s/ Capabilities:.*cvolume.*/Capture/p") CAPABILITY=$(amixer -D $MIXER get $SCONTROL | sed -n "s/ Capabilities:.*cvolume.*/Capture/p")
@@ -142,9 +141,7 @@ esac
# print_format {{{ # # print_format {{{ #
function print_format { function print_format {
# echo $NAME
case $NAME in case $NAME in
# *"USB"*)
*"Fiio"*) *"Fiio"*)
SINK_SYMB="" SINK_SYMB=""
;; ;;
@@ -155,8 +152,7 @@ function print_format {
SINK_SYMB=" " SINK_SYMB=" "
;; ;;
esac esac
# echo "$1" | envsubst '${SYMB}${VOL}${INDEX}${NAME}' eval "echo \"$1\""
echo "$1" | envsubst '${SINK_SYMB}${VOL}${INDEX}${NAME}'
} }
# }}} print_format # # }}} print_format #
@@ -164,38 +160,25 @@ function print_format {
# print_block {{{ # # print_block {{{ #
function print_block { function print_block {
for name in INDEX NAME VOL MUTED; do # Use amixer to get volume and mute status
read $name VOL_INFO=$(amixer -D $MIXER get $SCONTROL | grep -m1 -oE '[0-9]+%|\[on\]|\[off\]')
done < <(pacmd list-sinks | grep "index:\|name:\|volume: front\|muted:" | grep -A3 '*') VOL=$(echo "$VOL_INFO" | grep -oE '[0-9]+%' | head -1)
INDEX=$(echo "$INDEX" | grep -o '[0-9]\+')
VOL=$(echo "$VOL" | grep -o "[0-9]*%" | head -1 )
VOL="${VOL%?}" VOL="${VOL%?}"
MUTED=$(echo "$VOL_INFO" | grep -oE '\[on\]|\[off\]')
NAME=$(echo "$NAME") # Default name for ALSA
# NAME=$(echo "$NAME" | sed \ NAME=$(amixer -D $MIXER scontrols | sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | head -n1)
# 's/.*<.*\.\(.*\)>.*/\1/; t;'\
# 's/.*<\(.*\)>.*/\1/; t;'\
# 's/.*/unknown/')
# NAME=$(echo "$NAME" | sed \
# 's/.*<.*\.\(.*\)\..*>.*/\1/; t;')
if [[ $USE_ALSA_NAME == 1 ]] ; then if [[ $USE_ALSA_NAME == 1 ]] ; then
ALSA_NAME=$(pacmd list-sinks |\ ALSA_NAME=$(amixer -D $MIXER scontrols | sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | head -n1)
awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\
grep "alsa.name\|alsa.mixer_name" |\
head -n1 |\
sed 's/.*= "\(.*\)".*/\1/')
NAME=${ALSA_NAME:-$NAME} NAME=${ALSA_NAME:-$NAME}
elif [[ $USE_DESCRIPTION == 1 ]] ; then elif [[ $USE_DESCRIPTION == 1 ]] ; then
DESCRIPTION=$(pacmd list-sinks |\ DESCRIPTION=$(amixer -D $MIXER scontrols | sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | head -n1)
awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\
grep "device.description" |\
head -n1 |\
sed 's/.*= "\(.*\)".*/\1/')
NAME=${DESCRIPTION:-$NAME} NAME=${DESCRIPTION:-$NAME}
fi fi
if [[ $MUTED =~ "no" ]] ; then # Fix mute status check
if [[ $MUTED == "[on]" ]] ; then
SYMB=$AUDIO_HIGH_SYMBOL SYMB=$AUDIO_HIGH_SYMBOL
[[ $VOL -le $AUDIO_MED_THRESH ]] && SYMB=$AUDIO_MED_SYMBOL [[ $VOL -le $AUDIO_MED_THRESH ]] && SYMB=$AUDIO_MED_SYMBOL
[[ $VOL -le $AUDIO_LOW_THRESH ]] && SYMB=$AUDIO_LOW_SYMBOL [[ $VOL -le $AUDIO_LOW_THRESH ]] && SYMB=$AUDIO_LOW_SYMBOL
@@ -222,3 +205,141 @@ if [[ $SUBSCRIBE == 1 ]] ; then
print_block print_block
done < <(pactl subscribe | stdbuf -oL grep change) done < <(pactl subscribe | stdbuf -oL grep change)
fi fi
# Hardware Configuration
#CARD=2
#SINK="alsa_output.pci-0000_30_00.6.analog-stereo"
#FRONT="Front Playback Switch"
#REAR="Surround Playback Switch"
#FRONT_VOL="Front Playback Volume"
#REAR_VOL="Surround Playback Volume"
## Debugging output
#LOG_FILE=~/.audio-toggle.log
#echo "=== $(date) ===" >> $LOG_FILE
## Get current active output (PulseAudio fallback)
#get_active_output() {
## Get full sink info for debugging
#SINK_INFO=$(pacmd list-sinks)
#echo "Full sink info:" >> $LOG_FILE
#echo "$SINK_INFO" >> $LOG_FILE
## Try alternative port detection method
#PORT=$(echo "$SINK_INFO" | awk -v sink="$SINK" '
#$1 == "name:" && $2 == "<"sink">" {active=1}
#active && /active port:/ {
## Extract port name between angle brackets
#match($0, /<[^>]+>/)
#port = substr($0, RSTART+1, RLENGTH-2)
#print port
#exit
#}
#')
#echo "Raw port detection: $PORT" >> $LOG_FILE
#if [[ "$PORT" == "analog-output-headphones" ]]; then
#echo "front"
#elif [[ "$PORT" == "analog-output-lineout" ]]; then
#echo "rear"
#else
#echo "unknown"
#fi
#}
## Switch outputs with hardware-level control
#switch_output() {
#echo "Starting switch to $1" >> $LOG_FILE
## First disable both outputs
#echo "Disabling both outputs" >> $LOG_FILE
## ALSA controls
#amixer -c $CARD set "$FRONT" mute >/dev/null
#amixer -c $CARD set "$FRONT_VOL" 0% >/dev/null
#amixer -c $CARD set "$REAR" mute >/dev/null
#amixer -c $CARD set "$REAR_VOL" 0% >/dev/null
## PulseAudio controls
#pactl set-sink-mute "$SINK" 1 >/dev/null
#sleep 0.2
#if [[ "$1" == "front" ]]; then
#echo "Enabling front output" >> $LOG_FILE
## Check if headphones port exists
#if echo "$SINK_INFO" | grep -q "analog-output-headphones"; then
#echo "Attempting to set port to analog-output-headphones" >> $LOG_FILE
#if ! pacmd set-sink-port "$SINK" "analog-output-headphones" 2>>$LOG_FILE; then
#echo "Port switch failed, trying alternative method" >> $LOG_FILE
#pactl set-sink-port "$SINK" "analog-output-headphones" 2>>$LOG_FILE || true
#fi
#else
#echo "Headphones port not available, using hardware controls only" >> $LOG_FILE
#fi
## Additional hardware control
#amixer -c $CARD set 'Headphone' unmute >/dev/null
#amixer -c $CARD set 'Speaker' mute >/dev/null
#pactl set-sink-mute "$SINK" 0 >/dev/null
## ALSA controls
#amixer -c $CARD set "$FRONT" unmute >/dev/null
#amixer -c $CARD set "$FRONT_VOL" 100% >/dev/null
#OUTPUT=" FRONT"
#else
#echo "Enabling rear output" >> $LOG_FILE
## PulseAudio controls
#echo "Attempting to set port to analog-output-lineout" >> $LOG_FILE
#if ! pacmd set-sink-port "$SINK" "analog-output-lineout" 2>>$LOG_FILE; then
#echo "Port switch failed, trying alternative method" >> $LOG_FILE
#pactl set-sink-port "$SINK" "analog-output-lineout" 2>>$LOG_FILE || true
#fi
## Additional hardware control
#amixer -c $CARD set 'Speaker' unmute >/dev/null
#amixer -c $CARD set 'Headphone' mute >/dev/null
#pactl set-sink-mute "$SINK" 0 >/dev/null
## ALSA controls
#amixer -c $CARD set "$REAR" unmute >/dev/null
#amixer -c $CARD set "$REAR_VOL" 100% >/dev/null
#OUTPUT=" REAR"
#fi
## Reset audio pipeline
#echo "Resetting audio pipeline" >> $LOG_FILE
#{ pactl suspend-sink "$SINK" 1 && sleep 0.2 && pactl suspend-sink "$SINK" 0; } >/dev/null 2>&1
## Verify switch
#echo "Verifying switch..." >> $LOG_FILE
#CURRENT=$(get_active_output)
#echo "Current output: $CURRENT" >> $LOG_FILE
#if [[ "$CURRENT" != "$1" ]]; then
#echo "Switch verification failed!" >> $LOG_FILE
## Force hardware-level switch
#echo "Forcing hardware-level switch..." >> $LOG_FILE
#if [[ "$1" == "front" ]]; then
#amixer -c $CARD set 'Headphone' unmute >/dev/null
#amixer -c $CARD set 'Speaker' mute >/dev/null
#else
#amixer -c $CARD set 'Speaker' unmute >/dev/null
#amixer -c $CARD set 'Headphone' mute >/dev/null
#fi
#fi
#echo "Switch complete" >> $LOG_FILE
#echo "$OUTPUT" # Output to i3blocks
#}
## Main execution
#case "${BLOCK_BUTTON:-}" in
#1)
#CURRENT=$(get_active_output)
#if [[ "$CURRENT" == "front" ]]; then
#switch_output "rear"
#else
#switch_output "front"
#fi
#;;
#*)
#CURRENT=$(get_active_output)
#[[ "$CURRENT" == "front" ]] && echo " FRONT" || echo " REAR"
#;;
#esac
#exit 0

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

@@ -64,6 +64,7 @@ autocmd FileType *css,gitcommit,haskell,htmldjango,html,graphql,javascript,javas
\racket,tex,text,typescript,typescriptreact,yaml set tabstop=2 shiftwidth=2 \racket,tex,text,typescript,typescriptreact,yaml set tabstop=2 shiftwidth=2
" autocmd BufNewFile,BufRead *.md set filetype=markdown " autocmd BufNewFile,BufRead *.md set filetype=markdown
" autocmd Filetype markdown set textwidth=0 " autocmd Filetype markdown set textwidth=0
autocmd Filetype markdown set textwidth=55
" autocmd Filetype html set foldmarker=0 " autocmd Filetype html set foldmarker=0
autocmd BufNewFile,BufRead *.gd set expandtab! autocmd BufNewFile,BufRead *.gd set expandtab!
autocmd Filetype go set noexpandtab sw=4 autocmd Filetype go set noexpandtab sw=4

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 )
@@ -18,6 +19,9 @@ case $1 in
ubuntu ) ubuntu )
backup_dest="$mount_dir/ubuntu" backup_dest="$mount_dir/ubuntu"
;; ;;
ubuntu-h7 )
backup_dest="$mount_dir/ubuntu-h7"
;;
esac esac
exclude_dirs_list="/home/kevin/txt/exclude-dirs-backup.txt" exclude_dirs_list="/home/kevin/txt/exclude-dirs-backup.txt"
exclude_dirs_list_full="/home/kevin/txt/exclude-dirs-backup-full.txt" exclude_dirs_list_full="/home/kevin/txt/exclude-dirs-backup-full.txt"

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

@@ -1,7 +1,6 @@
#!/bin/bash #!/bin/bash
picom & picom &
pulseaudio --start
imwheel imwheel
xmodmap ~/.Xmodmap xmodmap ~/.Xmodmap
@@ -11,6 +10,9 @@ 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
#pulseaudio --start
wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/editing") & wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/editing") &

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