@@ -91,8 +91,8 @@ 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" | |||
sfd "sftp -rP 399 kevin@165.22.239.234" | |||
# phone | |||
ssp "mosh --ssh='ssh -p 8022' 192.168.0.10" | |||
sfp "sftp -rP 8022 192.168.0.10" | |||
ssp "mosh --ssh='ssh -p 8022' 192.168.0.14" | |||
sfp "sftp -rP 8022 192.168.0.14" | |||
# test server sites | |||
# svp "firefox git.ataraxy.tk khkm.tk cal.khkm.tk pste.gq smol.gq twem.tk" | |||
# postgres ssh tunnel | |||
@@ -160,12 +160,12 @@ nbu "cd /run/media/kevin/backup-hd/{{ .chezmoi.fullHostname }}/tar && lsd -l" | |||
# power options [[[ # | |||
s "systemctl suspend" | |||
x "exit" | |||
xx "exit" | |||
so "xset dpms force off" | |||
sd "tmux kill-server; systemctl poweroff" | |||
rb "tmux kill-server; systemctl reboot" | |||
lo "i3-msg exit" | |||
xm "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE" | |||
lgo "i3-msg exit" | |||
x "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE" | |||
X "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE" | |||
{{ if eq .chezmoi.fullHostname "x1-carbon" }} | |||
xl "xmodmap ~/.Xmodmap-laptop && xset r rate $XSET_DELAY $XSET_RATE" | |||
@@ -361,7 +361,7 @@ h "habitctl log" | |||
# hbeh "habitctl edith" | |||
htc "htop -s PERCENT_CPU" | |||
htm "htop -s PERCENT_MEM" | |||
i "sxiv" | |||
# i "sxiv" | |||
ia "sxiv -a" | |||
it "sxiv -t *" | |||
ki "kill -9" | |||
@@ -370,9 +370,10 @@ kd "killall Discord && killall Discord" | |||
kf "killall firefox" | |||
kr "killall electron" | |||
kt "killall thunderbird" | |||
lio "libreoffice" | |||
lo "libreoffice" | |||
# mpv "mpv --volume=50" | |||
mp "mpv" | |||
# mp "mpv" | |||
m "mpv" | |||
mra "man ranger" | |||
# mt "minetest" | |||
n "nvim" | |||
@@ -412,7 +413,6 @@ tl "tmux ls" | |||
tn "tmux new -s" | |||
tnb "tmux new -s backup" | |||
#]]] | |||
tw "twitchy" | |||
usn "usernames --num 20" | |||
vmd "vimdiff" | |||
# wg "wego" | |||
@@ -452,7 +452,7 @@ w "watson" | |||
wa "watson start" | |||
wacm "watson start fun +cod-mobile" | |||
wae "watson start && watson edit" | |||
wad "watson add -f '' -t ''" | |||
wad "watson add" | |||
we "watson edit" | |||
wre "watson restart" | |||
@@ -782,7 +782,11 @@ dcec "mono DiscordChatExporter.Cli.exe" | |||
dcec "mono DiscordChatExporter.Cli.exe export -t $DISCORD_TOKEN -c" | |||
ifm "sxiv ~/Documents/fortnite/maps/boat-campfire-slurp.png" | |||
twf "watch -n60 'twitchy-game Fortnite'" | |||
tw "twitchy" | |||
twa "twitchy -a" | |||
twd "twitchy -d" | |||
tws "twitchy -s" | |||
twf "watch -n300 'twitchy-game Fortnite'" | |||
# mp "mpv --video-zoom=1.5" | |||
# ufn "source trn-api-key.fish && curl --request GET --url https://api.fortnitetracker.com/v1/profile/pc/Vole%20on%20Mobile --header 'trn-api-key: 584d8eca-30d9-4119-92d8-5067dd301118' --cookie __cfduid=d4f0daac7eee3687b481bd55dcf00f3581581900091 > stats.json" | |||
@@ -100,8 +100,12 @@ csi ~/Documents/codm/site/static/images | |||
Css ~/Pictures/screenshots/mobile/codm | |||
fn ~/Documents/fortnite | |||
fnc /mnt/linux-files/Videos/yt/fortnite/clips/4 | |||
fnm ~/Documents/fortnite/pics/maps | |||
fnn ~/Documents/fortnite/notes | |||
fns ~/Documents/fortnite/stats/api | |||
fnv /mnt/linux-files/Videos/personal-fortnite-games | |||
fnv /mnt/linux-files/Videos/personal-fortnite-games/review | |||
tcd /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader | |||
# ]]] gaming # | |||
@@ -111,5 +115,6 @@ sc ~/school | |||
lt ~/school/latex-notes | |||
ph ~/school/phl | |||
phe ~/school/phl/w8-10-mind-machines/essay | |||
# ]]] sch # |
@@ -92,5 +92,6 @@ fn ~/Documents/fortnite/notes/fortnite-notes.md | |||
fv ~/Documents/fortnite/notes/vods.md | |||
mta ~/.minetest/clientmods/custom_aliases/init.lua | |||
pk ~/Downloads/pokecord/pokecord2.md | |||
tc /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader/clips.txt | |||
# ]]] gaming # |
@@ -133,6 +133,7 @@ abbr bf "buku-fzf fq" | |||
abbr bq "benq-brightness" | |||
abbr bupp "backup-phone-pics" | |||
abbr cccs "sync-alt-cal class" | |||
abbr cl "clip" | |||
abbr cpc "copy cat" | |||
abbr cpe "copy echo" | |||
abbr cpp "copy echo (pwd)" | |||
@@ -161,7 +162,9 @@ abbr grog "git-replace-origin-gitea" | |||
abbr gsmb "git-submodule-branch" | |||
# ]]] git # | |||
abbr m "man-vim" | |||
abbr i "sxiv-silent" | |||
# abbr m "man-vim" | |||
abbr mn "man-vim" | |||
abbr ma "man-vim task" | |||
abbr mat "math" | |||
abbr mdf "mkdir-cd" | |||
@@ -183,6 +186,7 @@ abbr usc "us-to-cad" | |||
abbr ut "unix-timestamp" | |||
abbr uzr "unzip-rm" | |||
abbr vsnp "vim-snippet" | |||
abbr waf "watson-add-fortnite" | |||
abbr xya "export-pkgs" | |||
# school [[[ # |
@@ -0,0 +1,7 @@ | |||
function clip | |||
if test (count $argv) -eq 3 | |||
ffmpeg -ss $argv[1] -i $argv[2] -codec copy $argv[3] | |||
else | |||
ffmpeg -ss $argv[1] -to $argv[2] -i $argv[3] -codec copy $argv[4] | |||
end | |||
end |
@@ -0,0 +1,3 @@ | |||
function sxiv-silent | |||
sxiv $argv[1] & | |||
end |
@@ -0,0 +1,7 @@ | |||
function watson-add-fortnite | |||
if test (count $argv) -eq 4 | |||
watson add -f "2020-04-$argv[1] $argv[2]" -t "2020-04-$argv[3] $argv[4]" fun +fortnite | |||
else | |||
watson add -f "2020-04-$argv[1] $argv[2]" -t "2020-04-$argv[3] $argv[4]" fun +fortnite +$argv[5] | |||
end | |||
end |
@@ -1,7 +1,9 @@ | |||
# startup [[[ # | |||
set $term urxvt | |||
set $term_alt st | |||
# set $term urxvt | |||
# set $term_alt st | |||
set $term kitty | |||
set $term_alt urxvt | |||
# set $term st | |||
# set $term_alt urxvt | |||
{{ if eq .chezmoi.fullHostname "x1-carbon" }} | |||
@@ -14,7 +16,7 @@ exec xbacklight -set 10 | |||
exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/non-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 $ws2; 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 $ws6; exec discord' | |||
@@ -50,7 +52,8 @@ bindsym Mod4+c exec $browser | |||
# bindsym Mod4+e exec notify-send "HPS Word Count" "$(pdftotext /home/kevin/school/latex-notes/hps/essay.pdf - | wc -w)" | |||
# bindsym Mod4+e exec emacs | |||
bindsym Mod4+e exec ~/scripts/twem | |||
bindsym Mod4+f exec firefox | |||
# bindsym Mod4+f exec firefox | |||
bindsym Mod4+f exec firefox --private-window | |||
# 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' | |||
@@ -67,7 +70,8 @@ bindsym Mod4+$mod+o exec xset dpms force off | |||
bindsym Mod4+p exec sleep .2 && xdotool type '.catch ' | |||
bindsym Mod4+$mod+p exec passmenu | |||
# bindsym Mod4+$mod+p exec notify-send "ping" "$(ping -c 3 -W 1 8.8.8.8)" | |||
bindsym Mod4+q exec qdirstat | |||
# bindsym Mod4+q exec qdirstat | |||
bindsym Mod4+q exec printf 'emad1 ' | xclip -selection clipboard && $type_delay_cmd && xdotool key 'Control_L+v' | |||
bindsym Mod4+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/' | |||
@@ -320,6 +324,7 @@ bindsym $mod+F3 workspace $ws3; exec $browser | |||
# bindsym Mod4+$mod+b layout stacked; exec $term -e fish -c "buku-fzf fq" | |||
bindsym Mod4+b layout tabbed; exec $term -e fish -c "buku-fzf" | |||
bindsym Mod4+$mod+b layout tabbed; exec $term -e fish -c "buku-fzf fq" | |||
bindsym Mod4+g workspace $ws3; layout tabbed; exec gimp | |||
set $ws4 "4 " | |||
workspace $ws4 output $secondary | |||
@@ -331,7 +336,7 @@ assign [class="Steam"] $ws5 | |||
bindsym $mod+F5 workspace $ws5; exec $browser | |||
bindsym $mod+Mod4+F5 workspace $ws5; exec firefox --private-window | |||
# 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; 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 | |||
@@ -351,12 +356,13 @@ 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 riot-desktop | |||
# bindsym Mod4+d workspace $ws6; exec riot-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/#/home | |||
# bindsym Mod4+i workspace $ws6; exec firefox -new-window https://riot.im/app | |||
bindsym Mod4+k workspace $ws6; exec slack | |||
set $ws7 "7 " |
@@ -42,7 +42,7 @@ DATEFMT=+%H:%M.%a-%m-%d | |||
DATEFMT=+%H:%M | |||
{{ end }} | |||
# SHORTFMT=+%H:%M:%S | |||
# SHORTFMT=+%H:%M.%a-%m-%d | |||
SHORTFMT=+%H:%M.%a-%m-%d | |||
HEIGHT=180 | |||
WIDTH=220 | |||
@@ -0,0 +1,7 @@ | |||
include ~/.cache/wal/colors-kitty.conf | |||
background_opacity .8 | |||
# font | |||
font_size 12 | |||
map ctrl+alt+up change_font_size all +1.0 | |||
map ctrl+alt+down change_font_size all -1.0 |
@@ -28,9 +28,9 @@ set tabstop=4 | |||
" set termguicolors | |||
" set timeoutlen=350 | |||
set timeoutlen=200 | |||
" set tw=80 | |||
" set tw=75 | |||
set tw=70 | |||
" set tw=70 | |||
set tw=60 | |||
set undodir=~/.vim/undo | |||
set undofile | |||
" set updatetime=1000 | |||
@@ -96,7 +96,7 @@ autocmd Filetype racket set commentstring=;%s; | |||
autocmd Filetype racket let g:AutoPairs = {'(':')', '[':']', '{':'}','"':'"', "`":"`", '```':'```', '"""':'"""', "'''":"'''"} | |||
autocmd FileType sh map <F8> :!clear && shellcheck %<CR> | |||
autocmd Filetype taskdata set tw=0 | |||
autocmd FileType tex set updatetime=1000 timeoutlen=300 tw=65 | |||
autocmd FileType tex set updatetime=1000 timeoutlen=300 | |||
autocmd FileType tex map <F8> :VimtexCompile<CR> | |||
autocmd VimEnter *.tex VimtexCompile | |||
autocmd VimLeave *.tex !tex-clean %:p |