Browse Source

Remove fix silent mouse

master
Kevin Mok 14 hours ago
parent
commit
13ab26afd9
Signed by: Kevin-Mok GPG Key ID: FB0DA56BEB5D98F3
  1. 21
      aliases/key_aliases.tmpl
  2. 22
      aliases/key_dirs.tmpl
  3. 8
      aliases/key_files.tmpl
  4. 11
      dot_config/fish/config.fish.tmpl
  5. 3
      dot_config/fish/functions/ipad/mpv-ipad-mov.fish
  6. 3
      dot_config/fish/functions/ipad/rsync-ipad-vid-mov.fish
  7. 3
      dot_config/fish/functions/ipad/rsync-ipad-vid.fish
  8. 4
      dot_config/fish/functions/ipad/unmount-ipad.fish
  9. 5
      dot_config/fish/functions/timetrace-list.fish
  10. 3
      dot_config/i3/config.tmpl
  11. 2
      dot_config/i3blocks/i3blocks-display.conf
  12. 2
      dot_config/i3blocks/i3blocks-secondary.conf.tmpl
  13. 40
      dot_config/i3blocks/i3blocks.conf.tmpl
  14. 4
      dot_config/i3blocks/scripts/executable_fn_level
  15. 1
      dot_config/mimeapps.list
  16. 16
      dot_config/msmtp/config
  17. 18
      dot_config/neomutt/neomuttrc
  18. 10
      dot_imwheelrc
  19. 5
      dot_taskrc
  20. 3
      scripts/executable_backup-pc
  21. 5
      scripts/executable_kraken
  22. 2
      txt/exclude-dirs-backup.txt.tmpl

21
aliases/key_aliases.tmpl

@ -169,6 +169,7 @@ llb "lsd -lF --group-dirs first --size short | bat"
lld "lsd -lF --group-dirs first --size short -d */"
lls "lsd -lF --group-dirs first --size short -Sr"
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"
{{ else }}
l "ls"
@ -210,7 +211,7 @@ uzl "unzip -l"
#s "xset dpms force off"
#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 . ~/Pictures/hevin | shuf | sxiv -S 5 -s f -i &"
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"
# so "xset dpms force off"
xx "exit"
@ -411,7 +412,7 @@ bh "buku -h | bat"
bi "buku --immutable 1 -zu"
bo "buku -o"
bp "buku -p"
br "buku -zd"
#br "buku -zd"
brp "buku --replace"
bs "buku --deep -n5 -s"
bsq "sqlitebrowser ~/.local/share/buku/bookmarks.db &"
@ -539,7 +540,7 @@ wc "wc -l"
wcw "wc -w"
wch "weechat"
# wg "wego"
# wg "curl wttr.in"
wtr "curl wttr.in/Toronto"
# wg "curl -L wthr.ml"
wgm "curl -L wthr.ml/m"
wgt "curl -L wthr.ml/t"
@ -561,6 +562,8 @@ pg "pass generate -c"
ps "pass show"
psr "pass rm"
psi "pass show info | bat"
pem "pass edit finances/metamask"
pes "pass edit finances/scotiabank"
pev "pass edit finances/visa-cash"
xc "xclip -selection clipboard"
@ -627,7 +630,7 @@ tte "timetrace edit record latest"
# ttc "timetrace create"
ttc "timetrace create project"
ttp "timetrace create project"
ttl "timetrace list records today"
#ttl "timetrace list records today"
ttlp "timetrace list projects"
ttr "timetrace report"
tts "timetrace stop"
@ -760,7 +763,7 @@ grso "git reset --soft orig/main"
grsh "git reset --hard"
grsho "git reset --hard origin/main"
grshh "git reset --hard HEAD"
grshh1 "git reset --hard HEAD~1"
grsh1 "git reset --hard HEAD~1"
# show files in git repo
# gls "git ls-tree -r HEAD --name-only"
gls "git ls-tree HEAD --name-only"
@ -856,7 +859,7 @@ zp "chezmoi -v apply"
# spotify-lib-vis [[[ #
# 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
spvdb "psql -d spotifyvis -U django"
mig "python manage.py makemigrations && python manage.py migrate --run-syncdb && ssv"
@ -940,7 +943,7 @@ rt "python ~/coding/rt-scraper/!rt-scraper.py"
# ada-mario [[[ #
mm "printf '\033c' && bear make clean move_mouse_with_head && ./move_mouse_with_head"
#mm "printf '\033c' && bear make clean move_mouse_with_head && ./move_mouse_with_head"
#med "printf '\033c' && bear make clean eye_detector && ./eye_detector"
mft "printf '\033c' && bear make clean face_detector && ./face_detector"
rft "~/coding/face-tracker/face_detector > /tmp/move_mouse_with_head.out"
@ -1042,9 +1045,11 @@ wob "watch -n60 'lsd -lF --group-dirs first --size short 2020*.mkv'"
fnpr "t timeline FNProgress | sed -n '2p'"
fnu "sxiv ~/Documents/fortnite/pics/maps/upgrade.png &"
fnl "python /mnt/linux-files-3/fortnite/show-level.py"
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"
ofa "lsof | grep '101APPLE'"

22
aliases/key_dirs.tmpl

@ -8,7 +8,7 @@ cfg ~/.config
cfgf ~/.config/fish
ch ~/Documents/chat
dc ~/Documents/chat/discord
da /mnt/ipad/DCIM/103APPLE
da /mnt/ipad/DCIM/105APPLE
dl ~/Downloads
# dw ~/dwm
D ~/Documents
@ -23,6 +23,7 @@ lfv2 /mnt/linux-files-2/Videos
lfv2s /mnt/linux-files-2/Videos/shows
lfy /mnt/linux-files/Videos/yt
a2 /mnt/linux-files-2/arch-2/full/home/kevin
lf3 /mnt/linux-files-3
medi /media/kevin
o /
pd ~/.password-store
@ -103,7 +104,8 @@ swd ~/coding/swex
# tb ~/coding/trapbot/src/trapbot
tb ~/coding/twitter-bot
ur ~/coding/uranium-godot
# wo ~/Documents/workout-logs
wo ~/Documents/workout-logs/25/4
# gaming [[[ #
@ -155,12 +157,13 @@ fni /mnt/ipad/DCIM/100APPLE
#fnm ~/Documents/fortnite/pics/maps
fnn ~/Documents/fortnite/notes
fnp ~/Documents/fortnite/pics
fns ~/Documents/fortnite/stats/api
fnsp ~/Documents/fortnite/stats/pics
fns ~/Videos/fortnite/stats
# fnsp ~/Documents/fortnite/stats/pics
fnv /mnt/linux-files/Videos/personal-fortnite-games/review
fnv2 /mnt/linux-files-2/Videos/ipad/fortnite/name
fn ~/Videos/fortnite
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 #
@ -172,8 +175,6 @@ twt ~/Documents/twitter
sdv ~/Documents/stardew-valley-aha
wo ~/Documents/workout-logs/7
dap /mnt/linux-files-2/Pictures/ipad
dau /mnt/linux-files-2/Videos/ipad/unsorted
@ -295,6 +296,8 @@ me2 ~/coding/me-sniper/backend-copy
kb ~/coding/kanban-calendar
ac ~/coding/astral-challenge-txt
rbc ~/coding/rbc-aml/src
# ]]] sch #
# personal [[[ #
@ -311,5 +314,8 @@ sm /mnt/linux-files-2/Videos/sam-smith/named
wg /mnt/linux-files-2/Pictures/weed-grow-23
sdc /run/media/kevin/6339-3234
obs /mnt/linux-files-3/obs
br ~/Documents/fortnite/brainrot
# ]]] personal #

8
aliases/key_files.tmpl

@ -46,7 +46,7 @@ hh ~/.habitctl/habits
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
id ~/Documents/journal/todo/ideas.md
ig ./.gitignore
jt ~/Documents/journal/todo/25/4.md
jt ~/Documents/journal/todo/25/8.md
k ~/linux-config/dot_config/kitty/kitty.conf
lh ~/Documents/listening-history/polarbier.csv
mc ~/coding/mf-site/assets/sass/main.scss
@ -84,7 +84,8 @@ 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
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
fw ~/Documents/fortnite/notes/warmup.md
fp ~/Documents/fortnite/notes/post.md
@ -128,3 +129,6 @@ wd ~/Documents/journal/personal/weed.md
wo ~/Documents/workout-logs/7/running.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

11
dot_config/fish/config.fish.tmpl

@ -124,7 +124,7 @@ set -xU BROWSER "firefox"
set -xU FZF_DEFAULT_COMMAND "find ."
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 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 IPAD_IMG 34
set -x IPAD_IMG 55
#source /home/kevin/coding/aws.fish
@ -150,6 +150,9 @@ set -x LIBVIRT_DEFAULT_URI qemu:///system
set --erase DB_NAME
#set -x NODE_OPTIONS '--loader ts-node/esm'
#set NODE_OPTIONS '--loader ts-node/esm'
# ]]] universal var's #
# fish-specific [[[ #
@ -266,6 +269,7 @@ abbr lo "libreoffice-silent"
abbr ma "man-vim task"
abbr mat "math"
abbr mi "mpv-ipad"
abbr mm "mpv-ipad-mov"
abbr mn "man-vim"
abbr mdf "mkdir-cd"
abbr mps "mpv-sub"
@ -282,6 +286,7 @@ abbr rl "readlink-cp"
abbr rds "redshift-set"
abbr rmi "rm-ipad"
abbr rsi "rsync-ipad-vid"
abbr rsm "rsync-ipad-vid-mov"
abbr scf "scp-vid fn"
abbr sma "smol-add"
abbr smd "smol-delete"
@ -297,8 +302,10 @@ abbr tam "tmux-attach misc"
abbr tan "tmux-attach nft"
abbr tan2 "tmux-attach nft-2"
abbr tao "tmux-attach obs"
abbr ttl "timetrace-list"
abbr thes "thesaurus"
abbr ubs "ubuntu-start"
abbr umip "unmount-ipad"
# abbr usc "us-to-cad"
#abbr us "us-to-cad"
abbr ut "unix-timestamp"

3
dot_config/fish/functions/ipad/mpv-ipad-mov.fish

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

3
dot_config/fish/functions/ipad/rsync-ipad-vid-mov.fish

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

3
dot_config/fish/functions/ipad/rsync-ipad-vid.fish

@ -1,4 +1,5 @@
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 ~/Videos/fortnite/
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

4
dot_config/fish/functions/ipad/unmount-ipad.fish

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

5
dot_config/fish/functions/timetrace-list.fish

@ -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

3
dot_config/i3/config.tmpl

@ -1,6 +1,7 @@
# startup [[[ #
set $term kitty
#set $term gnome-terminal
# set $term st
# set $term_alt urxvt
{{ 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 $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 $ws6; exec vesktop'
# 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
@ -116,6 +118,7 @@ set $scripts_path "/home/kevin/scripts"
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 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 Control+Print --release exec "scrot -u ~/Pictures/screenshots/desktop/unsorted/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
{{ else }}

2
dot_config/i3blocks/i3blocks-display.conf

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

2
dot_config/i3blocks/i3blocks-secondary.conf.tmpl

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

40
dot_config/i3blocks/i3blocks.conf.tmpl

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

4
dot_config/i3blocks/scripts/executable_fn_level

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

1
dot_config/mimeapps.list

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

16
dot_config/msmtp/config

@ -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

18
dot_config/neomutt/neomuttrc

@ -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"

10
dot_imwheelrc

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

5
dot_taskrc

@ -82,12 +82,13 @@ context.mny=project:mny
context.pey=project:pey
context.sch=project:sch
#context.sniper=project:sniper project:job
context.sniper=project:sniper
#context.sniper=(project:sniper or project:job)
context.linux=project:linux
#context=none
#context=sniper
context=linux
context=sniper
#context=linux
# context=home
# context=out
#context=sch

3
scripts/executable_backup-pc

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

5
scripts/executable_kraken

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

2
txt/exclude-dirs-backup.txt.tmpl

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