commit a8ed646f6ffb18e1ed1bc93cf9b612d7748dc9f5 parent 12cd97708adc2cbf85ad49cb41e718c84637eb16 Author: Hayden Hamilton <hayden@haydenvh.com> Date: Wed, 16 Sep 2020 00:09:55 +0100 The beginning of maemo-lestier & removing picom Diffstat:
80 files changed, 1222 insertions(+), 133 deletions(-)
diff --git a/.config/irssi/config b/.config/irssi/config @@ -373,14 +373,6 @@ statusbar = { }; disabled = "yes"; }; - awl_2 = { - items = { - barstart = { priority = "100"; }; - awl_2 = { }; - barend = { priority = "100"; alignment = "right"; }; - }; - disabled = "yes"; - }; prompt = { items = { uberprompt = { priority = "-1"; }; @@ -395,7 +387,6 @@ statusbar = { awl_0 = { }; barend = { priority = "100"; alignment = "right"; }; }; - disabled = "yes"; }; }; }; diff --git a/.config/neomutt/mailcap b/.config/neomutt/mailcap @@ -1,5 +1,5 @@ #text/html ; lynx -stdin -dump < '%s' | less -text/html ; vimb - < '%s' +text/html ; vimb '%s' text/* ; nvim '%s' application/pdf ; zathura '%s' diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc @@ -8,11 +8,11 @@ set mailcap_path = "~/.config/neomutt/mailcap" set smtp_authenticators = "plain" set folder = "~/general/mail/" -set spoolfile = "+inbox-haydenvh-com" +set spoolfile = "+haydenvhcom" set record = "+sent" set postponed = "+drafts" set trash = "+rubbish" -mailboxes =inbox-haydenvh-com =inbox-master =inbox-hlircnet =inbox-lists =inbox-airmail ="========================" =forwards =sent =drafts =rubbish =backup =spam ="------------------------" =exmouth =exmouthsent =exmouthrubbish +mailboxes =haydenvhcom =postmaster =hlircnet =lists =inbox-airmail ="========================" =forwards =sent =drafts =rubbish =backup =spam ="------------------------" =exmouth =exmouthsent =exmouthrubbish set mbox_type = Maildir set abort_key = "<Esc>" @@ -23,6 +23,7 @@ set alias_file = "~/.config/neomutt/alias" source colours source sidebar source alias +source gpg bind index D purge-message bind index,pager M compose-to-sender @@ -30,7 +31,7 @@ bind index,pager M compose-to-sender bind index \Ct collapse-thread bind index \Ca collapse-all -set new_mail_command="echo N:%n U:%u > /tmp/mail &" +set new_mail_command="sh -c 'echo N:%n U:%u > /tmp/mail && herbe \"New mail: %n\" \"Unread mail: %u\"' &" set sort=threads set collapse_all @@ -40,7 +41,10 @@ set signature=`rand-sig` # mark all mail as read macro index A \ - "<clear-flag>O<untag-pattern>.<enter>" \ - "mark all new as read" + "<clear-flag>O" \ + "mark mail as read" my_hdr X-Mailer: neomutt & procmail +hdr_order Subject From To Date + +#folder-hook sent diff --git a/.config/neomutt/signatures b/.config/neomutt/signatures @@ -1,15 +1,15 @@ -“XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both.” -“XML combines the efficiency of text files with the readability of binary files” -“In GNU utils, incompatible features and extensions are a feature, not a bug.” -Windows is not a virus, virus' are well engineered. -If you send HTML email you are as bad as any other spammer. -“[firefox] is always doing something, even if it’s just calculating the opportune moment to crash inexplicably” -“Linux printing was designed and implemented by people working to preserve the rainforest by making it utterly impossible to consume paper.” -"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -"UNIX was not designed to stop its users from doing stupid things, as that would also stop them from doing clever things." -"Simplicity is [a] prerequisite for reliability." -A Professor of Computer Science gave a paper on how he uses Linux to teach his undergraduates about operating systems. Someone in the audience asked 'why use Linux rather than Plan 9?' and the professor answered: 'Plan 9 looks like it was written by experts; Linux looks like something my students could aspire to write'. -"The best thing about udp jokes is that i dont care if you get them or no..." -"Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves." -"Just because you're paranoid doesn't mean they aren't out to get you" -"War does not define who is right, but who is left" +#“XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both.” +#“XML combines the efficiency of text files with the readability of binary files” +#“In GNU utils, incompatible features and extensions are a feature, not a bug.” +#Windows is not a virus, virus' are well engineered. +If you send me HTML email you are as bad as any other spammer. +#“[firefox] is always doing something, even if it’s just calculating the opportune moment to crash inexplicably” +#“Linux printing was designed and implemented by people working to preserve the rainforest by making it utterly impossible to consume paper.” +#"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." +#"UNIX was not designed to stop its users from doing stupid things, as that would also stop them from doing clever things." +#"Simplicity is [a] prerequisite for reliability." +#A Professor of Computer Science gave a paper on how he uses Linux to teach his undergraduates about operating systems. Someone in the audience asked 'why use Linux rather than Plan 9?' and the professor answered: 'Plan 9 looks like it was written by experts; Linux looks like something my students could aspire to write'. +#"The best thing about udp jokes is that i dont care if you get them or no..." +#"Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves." +#"Just because you're paranoid doesn't mean they aren't out to get you" +#"War does not define who is right, but who is left" diff --git a/.config/nvim/colors/haydenh.vim b/.config/nvim/colors/haydenh.vim @@ -36,7 +36,7 @@ hi Visual cterm=reverse gui=reverse " hi DiffText guibg=olivedrab " hi DiffAdd guibg=slateblue " hi DiffDelete guibg=coral -hi Folded cterm=bold,underline ctermfg=255 ctermbg=none guifg=#eeeeee gui=bold,underline +hi Folded cterm=bold,underline ctermfg=255 ctermbg=none guifg=#aaaaaa guibg=#555555 gui=bold,underline hi FoldColumn cterm=none ctermfg=249 ctermbg=1 guifg=#b2b2b2 gui=none " hi cIf0 guifg=gray " hi diffOnly guifg=red gui=bold diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -114,19 +114,6 @@ inoremap <leader><leader>j <Esc>0/<++><Enter>"_c4l noremap <leader>C i<++><Esc> inoremap <leader><leader>c <++><Enter> -noremap <leader><leader>[ i[]<Esc><Left>i -noremap <leader><leader>( i()<Esc><Left>i -noremap <leader><leader>" i""<Esc><Left>i -noremap <leader><leader>' i''<Esc><Left>i -noremap <leader><leader>{ i{}<Esc><Left>i -noremap <leader><leader>< i<><Esc><Left>i -inoremap <leader><leader>[ []<Esc><Left>i -inoremap <leader><leader>( ()<Esc><Left>i -inoremap <leader><leader>" ""<Esc><Left>i -inoremap <leader><leader>' ''<Esc><Left>i -inoremap <leader><leader>{ {}<Esc><Left>i -inoremap <leader><leader>< <><Esc><Left>i - inoremap <c-;> <esc>: noremap <localleader>V ggO# vim: :<left><left> diff --git a/.config/nvim/syntax/gph.vim b/.config/nvim/syntax/gph.vim @@ -2,11 +2,19 @@ if exists("b:current_syntax") finish endif +" The below aren't actually going to afffect the content, they're just there +" for my eyes. Comment at will. runtime! syntax/markdown.vim +syn match gphCitation '\[[^|]*\]' contains=gphCitationText,gphCitationBracks +syn match gphCitationText '[^\[\]]' contained +syn match gphCitationBracks '[\[\]]' contained +hi gphCitationText guifg=#005f5f +hi gphCitationBracks guifg=#a1a1d9 +" END comment spree -syn region gphSelector start=/|/ end=/\]$/ oneline contains=gphPipe,gphServer,gphURL,gphURI,gphFileDir,gphFileGph,gphFileCGI,gphFileDCGI,gphFileHTML -syn region gphType start=/^\[/ end=/|/ oneline contains=gphBrackl,gphType1,gphType2,gphSelector +syn match gphSelector "|.*\]$" contains=gphPipe,gphServer,gphURL,gphURI,gphFileDir,gphFileGph,gphFileCGI,gphFileDCGI,gphFileHTML,gphCitation +syn match gphType "^\[.*\]$" contains=gphBrackl,gphType1,gphType2,gphSelector syn match gphType1 "[0123456789gmsITi\+:;<PcMd\*\.]" contained syn match gphType2 "[hH]" contained @@ -22,6 +30,7 @@ syn match gphURI "URI:[^|]*|" contained contains=gphPipe syn match gphBrackl '^\[' contained syn match gphBrackr '\]$' contained syn match gphPipe '|' contained +syn match gphEscapeTT '^tt' syn match gphEscape '^t' syn match gphTab ' ' syn keyword gphSelf server port contained @@ -38,6 +47,7 @@ hi gphType2 guifg=#ebaa22 hi gphServer2 guifg=#a84b8d hi gphFileGph guifg=#777b8e +hi link gphEscapeTT gphFileGph hi link gphFileDir gphFileGph hi gphFileCGI guifg=#00af87 hi link gphFileDCGI gphFileCGI diff --git a/.config/nvim/syntax/zettel.vim b/.config/nvim/syntax/zettel.vim @@ -7,8 +7,8 @@ syn match zettelBrackl '\[' contained syn match zettelBrackr '\]' contained syn match zettelBrackText '[^\[\]]' contained -syn region zettelSelected start=/^!/ end=/$/ oneline contains=zettelExc,zettelBracks -syn region zettelBracks start=/\[/ end=/\]/ contained contains=zettelBrackl,zettelBrackr,zettelBrackText +syn match zettelSelected '^!.*$' contains=zettelExc,zettelBracks +syn match zettelBracks '\[.*\]' contained contains=zettelBrackl,zettelBrackr,zettelBrackText hi zettelPunc guifg=#a1a1d9 hi link zettelExc zettelPunc diff --git a/.config/picom/config b/.config/picom/config @@ -1,44 +0,0 @@ -# compton/config -# Created by Hayden Hamilton -# -# haydenvh.com -# Copyright (c) 2019 Hayden Hamilton. -# -shadow=true -shadow-radius=32.5 -shadow-offset-x=-20 -shadow-offset-y=-20 - -shadow-exclude = [ - "class_g ?= 'i3bar'", - "class_g ?= 'i3'", -]; - -opacity-rule = [ - "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", - "100:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[1]:32a *= '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[2]:32a *= '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[3]:32a *= '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_FULLSCREEN'", - "100:_NET_WM_STATE@[5]:32a *= '_NET_WM_STATE_FULLSCREEN'", - "0:class_g ?= 'slop'", - "87:class_g ?= 'urxvt' && !focused", - "84:class_g ?= 'urxvt' && focused", - "87:class_g ?= 'st-256color' && !focused", - "84:class_g ?= 'st-256color' && focused", - "85:class_g ?= 'i3bar'", - "85:class_g ?= 'dwm'", - "87:class_g ?= 'vimb' && !focused", - "84:class_g ?= 'vimb' && focused", - "87:class_g ?= 'surf' && !focused", - "84:class_g ?= 'surf' && focused", - "87:class_g ?= 'tabbed' && !focused", - "84:class_g ?= 'tabbed' && focused", -]; - -fade-exclude = [ - "!_I3_FLOATING_WINDOW@:c", -]; - -inactive-dim = 0.1 diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc @@ -4,6 +4,12 @@ super + {shift, ctrl, alt, shift + ctrl, shift + alt} + v super + Return st +super + t + pkill -SIGUSR1 herbe + +super + shift + t + pilll -SIGKILL herbe; herbe "Killed & fixed herbe" + super + a addrbook @@ -61,6 +67,9 @@ super + s super + shift + s maim -s | hlpaste "png" +super + ctrl + s + maim | hlpaste "png" + super + w rfeh ~/images/wallpapers/ diff --git a/.config/vimb/config b/.config/vimb/config @@ -5,7 +5,7 @@ set history-max-items=99999 set header=User-Agent,Accept-Language set user-agent=freedom -set input-autohide=false +set input-autohide=true set input-css=background-color:#30404e;color:#ffffff set completion-css=background-color:#0a0a10;color:#1e5eb3 set completion-hover-css=background-color:#141726;color:#1e5eb3 @@ -61,6 +61,7 @@ shortcut-add aw=https://wiki.archlinux.org/index.php?search=$0 shortcut-add karta=https://minkarta.lantmateriet.se/ shortcut-add map=https://map.openaerialmap.org/#/ shortcut-add ebay=https://www.ebay.co.uk/sch/$0 +shortcut-add ebayus=https://www.ebay.com/sch/$0 shortcut-add am=https://www.amazon.co.uk/s?k=$0 shortcut-add 8=https://8kun.top/$0/catalog.html shortcut-add dict=https://dict.css/?s=$0 diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc @@ -60,8 +60,6 @@ do . $file done -. $HOME/.local/knock - # Highlighted man pages export LESS_TERMCAP_mb=$'\e[1;32m' export LESS_TERMCAP_md=$'\e[1;35m' diff --git a/.local/ascii/[R].txt b/.local/ascii/[R].txt @@ -0,0 +1,8 @@ + ___ ___ +| _| |_ | +| | .---- | | +| | | // | | | +| | \ | | | +| | / /| | | | +| |_ /_/ |_| _| | +|___| |___| diff --git a/.local/ascii/alcl.txt b/.local/ascii/alcl.txt @@ -0,0 +1,15 @@ + + ________ __ ________ __ + _____/ | / / / ____ / / / + ____/ / | / / / / '-' / / + ___/ _ | / / / / / / + __/ / | | / /_____ / /___.-. / /_____ + _/_/ |_| /_______/ /_______/ /_______/ + +================================================================================ + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/cgo.txt b/.local/ascii/cgo.txt @@ -0,0 +1,13 @@ + ____________ ________ _________ + ___/ ____ / / ______/ / ______ / + __/ / '-' / / __ / / / / + _/ /___.-. / /___/ / / /____/ / + /_______/ /_______/ /________/ + +================================================================================ + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/cloud.txt b/.local/ascii/cloud.txt @@ -0,0 +1,30 @@ + + + + + + + .-. _ + .' `' `-._ + .-'"` `'. + .' The Cloud .~` + ``'..-''._ .--'"'` + . . . `` . . + . ' . ` ' , ` . + ` " . ' ` . + ' ` ` MY DATA! + ' ` . ` ` ` . MY COMPUTING! + . ` . ' . ` + ` ` ` . (0 + . . . ` ' |_ + . ' . .''"`'`'"""'``''" + ` . . . .`` + . .-` + . ' ` ' ` .` + hhvn + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/colourdemo.irc b/.local/ascii/colourdemo.irc @@ -0,0 +1,6 @@ +15,28R15,29A15,30I15,32N15,33B15,36O15,38W + +Just an introduction to how colours work +<foreground>,<background> + +http://anti.teamidiot.de/static/nei/*/extended_mirc_color_proposal.html diff --git a/.local/ascii/construction.txt b/.local/ascii/construction.txt @@ -0,0 +1,41 @@ + + + + _ +__________/ \____________ + _/| |\_ \____________ + _// | | \\_ \____________ +_____//___|_|___\\_________________________________\__ +XXXXXXXXX| X |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\ +‾‾‾‾‾‾‾‾‾|/ \|‾‾‾‾‾‾\‾/‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\0 + |\ /| | /\ + | X | | /\ + |/ \| | + |\ /| | + | X | | + |/ \| | + |\ /| | + | X | | + |/ \| | + |\ /| / \ + | X | / # \ + |/ \| /@#()=\ + |\ /| ‾‾‾‾‾‾‾‾‾ + |/ \| + |\ /| + | X | + |/ \| + |\ /| |‾‾‾‾‾‾‾‾‾‾‾‾‾‾| + | X | | |‾| | + |/ \| | | | | + |\ /| |‾‾‾‾‾‾‾‾‾‾‾‾‾‾|\‾‾‾‾‾‾‾‾‾‾‾‾| + | X | | |‾| |‾‾| | ‾‾\ | + |/ \| | | | ‾‾ | ‾‾\ | + ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ + hhvn + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/flag1.txt b/.local/ascii/flag1.txt @@ -0,0 +1,30 @@ + +_________ +_) \_ +| \______________________________________ +| | | \____________________ +| | | | +| | | | +| | | | +| | | | +|______________ / / / +\ \___| |____________ | + | \_______________ | + |_________________ __________ \_______________| + | | | \________________ | + | | | \________ | + | | | \_______| + | | | \ + | | | | + | / / | + | _____|_____| | +(‾)________/ \_________________ | + \ | + \__________________________\ + +> flag1.txt - full +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/flag10.txt b/.local/ascii/flag10.txt @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + +> +> +> +> +> + diff --git a/.local/ascii/flag2.txt b/.local/ascii/flag2.txt @@ -0,0 +1,30 @@ + +_________ +_) \_ +| \______________________________________ +| | | \ +| | | `-. +| | | `-.. +| | | `. +| | | `-.. +|______________ / / `--. +\ \___| |____________ `| + | \_______________ | + |_________________ __________ \_______________| + | | | \________________ | + | | | \________ | + | | | \_______| + | | | \ + | | | | + | / / | + | _____|_____| | +(‾)________/ \_________________ | + \ | + \__________________________\ + +> flag2.txt - 1st tear +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/flag3.txt b/.local/ascii/flag3.txt @@ -0,0 +1,30 @@ + +_________ +_) \_ +| \____________________________ +| | | \ +| | | `. +| | | `-. +| | | `. +| | | `~ +|______________ / / `--. +\ \___| |____________ ." + | \_____________: + |_________________ __________ `---. + | | | \________________ : + | | | \____`; + | | | .' + | | | `. + | | | `. + | / / `--. + | _____|_____| `. +(‾)________/ \_________________ `- + \ `- + \_________________________/ + +> flag3.txt - 2nd tear +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/flag4.txt b/.local/ascii/flag4.txt @@ -0,0 +1,30 @@ + +_________ +_) \_ +| \____________________________ +| | | \ +| | | `. +| | | `-. +| | | `. +| | | `~ +|______________ / / `--. +\ \___| |____________ ." + | \_____________: + |_________________ __________ `---. + | | | \________________ : + | | | \____`; + | | | .' + | | | : + | | | ." + | / / ...' + | _____|_____| .-" +(‾)________/ \_________________ `. + \ ; + \______- + +> flag4.txt - 3rd tear +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/flag5.txt b/.local/ascii/flag5.txt @@ -0,0 +1,30 @@ + +______ +_) `-. +| `; +| .-' +| `-. +| `"'-. .. +| `.-'` |`-. . +| | `-..`'---.. +|______________ / / `''. +\ \___| |____________ `.. + | \____`-. + |_________________ __________ `; + | | | \________." + | | | `----. + | | | `-. + | | | `. + | | | ." + | / / ...' + | _____|_____| .-" +(‾)________/ \_________________ `. + \ ; + \______- + +> flag5.txt - 4th tear +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/flag6.txt b/.local/ascii/flag6.txt @@ -0,0 +1,30 @@ + +______ +_) `-. +| `; +| .-' +| `-. +| `"'-. .. +| `.-'` |`-. . +| | `-..`'---.. +|______________ / / `''. +\ \___| |____________ `.. + | \____`-. + |_________________ __________ `; + | | | \________." + | | | `----. + | | .. | `-. + | .` `''---. `. + | ; `. ." + | .-` `.-''. ...' + | .-'` `. .-" +(‾)________/ ;__ `. + \ ; + \______- + +> flag6.txt - 5th tear +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/flag7.txt b/.local/ascii/flag7.txt @@ -0,0 +1,30 @@ + +______ +_) `-. +| `; +| .-' +| `-. +| `"'-. .. +| `.-'` ;` +| : +|______________ /`--. +\ \___| .` + | ; + |_________________ `-, + | | |'. + | | | `. + | | .. | `-. + | .` `''---. ;` + | ; `. + | .-` `.-''. + | .-'` `. +(‾)________/ ; + + + +> flag7.txt - 6th tear +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/flag8.txt b/.local/ascii/flag8.txt @@ -0,0 +1,30 @@ + +______ +_) `-. +| `; +| .-' +| `-. +| `"'-. +| .-` +| ; +|_______.-" +\ ; + | .- + |__; + | `.. + | `-.. + | `-. .. + | `""--.` `''---. ;` + | ; ` + | .-` + | .-'` +(‾)________/ + + + +> flag8.txt - 7th tear +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/flag9.txt b/.local/ascii/flag9.txt @@ -0,0 +1,30 @@ + +_____ +_) `-. +| `; +|. ' +| `-. +| `. +| .' +| ; ; +| `-. -. +\ .-" + | + |`-. + | ;.. + | . `-.. + | `-. `-. .. + | ; + | `-. .- + | `. + | .-" +(‾)_.-` + + + +> flag9.txt - 8th tear +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/gnu.matrix.txt b/.local/ascii/gnu.matrix.txt @@ -0,0 +1,28 @@ + + + + ________ __ __ __ __ + / ______/ / | / / / / / / + / / / |/ / / / / / + / / __ / | | / / / / / _______ + / /___/ / / /| / / /__/ / / _/ + /_______/ /_/ |_/ /______/ / _/ +____________________________________________________________________/ /______ +___________________________________________________________________/_ /_____ + __ __ __ _________ _______ _______ _ _ / _/ + / | / | / | /___ ___/ / ___ / /__ __/ | | _/_/ / _/ + / |/ | / / | / / / /__/ / / / | |/_/ /_/ + / | | | | / __ | / / / . ---' / / \_ / // + / /| /| | / / | | / / / / \ \ __/ /__ _/_ \ + /_/ |_/ |_| /_/ |_| /_/ /_/ \_\ /______/ /_/ |_| + + gopher://45.32.178.12 + #GNU/matrix on irc.freenode.net + + hhvn + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/gopher.float.txt b/.local/ascii/gopher.float.txt @@ -0,0 +1,36 @@ + + + + + __ _ + _...~-~'"'``` ``'"` `''"~-~.,__ + ..~-~''``` . <-- Gopher Hole ``"'`~,.._ + `:~--.._ _,.-`~; + `. ``'''~-~-.._ __,.~-''`` .-'` + `-. . ``'''`'"-'``~.-''`` ;'` + `'` `-., ..-'-.' + Gopherspace --> `-'`-. ;-.'` + `. .-`'-.' + `-'`. ; + ` + + Gopher > Web + You can't fall in and drown when exploring it. + Surfer + v +----------------------------------------------------------------------0--------- + ‾|‾ + ----'''':::: ---''''^^ / \ + ~~~~~'''''...... ......^^------ ‾‾‾‾‾‾ + --.__---- ------,, .. ---""""".... + :::;-' `` ````''''-----'' + ^^^````''''' + __... ----...---- --------``````~~~~~ .. + ``````` `''' ```` '''' + hhvn + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/gopher.txt b/.local/ascii/gopher.txt @@ -0,0 +1,24 @@ +|‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾| +| | +| | +| | +| ________ ________ _______ __ __ _______ _______ __ __ | +| / ______/ / ____ / / ___ / / / / / / _____/ / ___ / _ / / / / | +| / / / / / / / /__/ / / /___/ / / /____ / /__/ / /_/ / / / / | +| / / __ / / / / / _____/ / ____ / / _____/ / . ---' _ / / / / | +| / /___/ / / /___/ / / / / / / / / /____ / / \ \ /_/ / / / / | +| /_______/ /_______/ /_/ /_/ /_/ /______/ /_/ \_\ /_/ /_/ | +| _________ ________ | +| /______ / / ____ / | +| / / / / / / | +| / / / / \ / / | +| / / / /___/ / | +| /_/ /_______/ | +| | +| | +|______________________________________________________________________________| +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +w This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/hamilton.palace.txt b/.local/ascii/hamilton.palace.txt @@ -0,0 +1,23 @@ + __ + __/ \__ + _______[^]_______[^]______[^]_________/ /\ \_________[^]______[^]_______[^]_______ +_|░░░░░░░|░░░░░░░░░░░░░░░░░░░░░░░░░░/ <|░░░░░░|> \░░░░░░░░░░░░░░░░░░░░░░░░░░|░░░░░░░|_ +\ _ / _ _ _ _ /_________\/_________\ _ _ _ _ \ _ / + | | | | | | | | | | | | |______________________| | | | | | | | | | | | | + | |_| | |_| |_| |_| |_| || || || || || || |_| |_| |_| |_| | |_| | + | _ | _ _ _ _ || || || || || || _ _ _ _ | _ | + | | | | | | | | | | | | || || || || || || | | | | | | | | | | | |_______/^\________/^\________/^\_______ + | |_| | |_| |_| |_| |_| || || || || || || |_| |_| |_| |_| | |_| | _ _ _ _ _ _ _ | + | | || || || || || || | | | | | | | | | | | | | | | | | + |░░░░░░░|_____________________|‾‾‾\‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾/‾‾|_____________________|░░░░░░░|___|_|__|_|__|_|__|_|__|_|__|_|__|_|___| +/ _ \ __ __ __ __ | ‾\_ _/‾ | __ __ __ __ / _ \‾‾___‾‾___‾‾___‾‾___‾‾___‾‾___‾‾___‾‾‾| +|___|_|___|____||__||__||__||__|_______\ /______|__||__||__||__||____|___|_|___|__|_|__|_|__|_|__|_|__|_|__|_|__|_|___| + + hhvn + +Copyright (C) Hayden Hamilton 2020 +LICENSE: one may freely copy and distribute this document, +on the condition that the above copyright notice, and license +section are included + +This file is nice to look at in vim with '/.*' diff --git a/.local/ascii/hlircnet.irc/hlircnet.convert.sh b/.local/ascii/hlircnet.irc/hlircnet.convert.sh @@ -0,0 +1,2 @@ +sed 's/|/51,1|/g;s/ /90,1|/g' < hlircnet.txt > hlircnet.irc # compatible with irssi, atleast (irssi > *) +sed 's/|/5,1|/g;s/ /2,1|/g' < hlircnet.txt > hlircnet.irc2 # compatible with more clients diff --git a/.local/ascii/hlircnet.irc/hlircnet.irc b/.local/ascii/hlircnet.irc/hlircnet.irc @@ -0,0 +1,7 @@ +90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1| +90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|51,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1| +90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1| +90,1|90,1|90,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|51,1|51,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1| +90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|51,1|51,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1| +90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|51,1|51,1|51,1|51,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|51,1|51,1|51,1|90,1|90,1|51,1|51,1|51,1|51,1|51,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|51,1|51,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1| +90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1|90,1| diff --git a/.local/ascii/hlircnet.irc/hlircnet.irc2 b/.local/ascii/hlircnet.irc/hlircnet.irc2 @@ -0,0 +1,7 @@ +2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1| +2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|5,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1| +2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1| +2,1|2,1|2,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|5,1|5,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1| +2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|5,1|5,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1| +2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|5,1|5,1|5,1|5,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|5,1|5,1|5,1|2,1|2,1|5,1|5,1|5,1|5,1|5,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|5,1|5,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1| +2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1|2,1| diff --git a/.local/ascii/hlircnet.irc/hlircnet.png b/.local/ascii/hlircnet.irc/hlircnet.png Binary files differ. diff --git a/.local/ascii/hlircnet.irc/hlircnet.txt b/.local/ascii/hlircnet.irc/hlircnet.txt @@ -0,0 +1,7 @@ + + || || || |||||||| |||||| ||||||| ||| || ||||||| |||||||| + || || || || || || || |||| || || || + |||||| || || ||||| || || || || |||||| || + || || || || || || || |||| || |||| || || + || || |||||| |||||||| || || ||||||| |||| || ||| ||||||| || + diff --git a/.local/ascii/hlircnet.txt b/.local/ascii/hlircnet.txt @@ -0,0 +1,11 @@ +_______ _______ ______ __________ __________ ________ +\_ | | _/ | / \__ __/ \ ___ \ .' ____/ + | | | | | | | | | | \ | / -` + | |__| | | | | | | |___/ | | / + | | | | ________ | | | / | | + | __ | | | <[________]> | | | |\ \ | | + | | | | | |__ | | | | \ \ | \ + _| | | |_ | \_ __| |__ _| | \ \_ \ -.____ +/_____| |_____\ |________| /_________\ /_____| \____\ `-_______\ + + hhvn diff --git a/.local/ascii/intel.txt b/.local/ascii/intel.txt @@ -0,0 +1,17 @@ + + ________ _ _ ______ _ _ ____ __ __ + / ______/ / / / / -`_____/ / / .. \\ / / -`__ \ / / / / + / /_____ / / / / / / / -`/ \\/ / / / / / / / / / + / ______/ / / / / / / / \`` \ / / / / / / / / / + / / / /___/ / / /_____ / /\ \ / / / /__/ / / /___/ / + /_/ |______- `-_____/ /_/ \_\ /_/ \_____- \______- + + _________ _ _ _________ _______ __ _________ + /__ ____/ / | / / /___ ___/ / _____/ / / / ___ / + / / / |/ / / / / /____ / / /.`CIA`- / + / / / | | / / / / _____/ / / /-INSIDE./ + ___/ /___ / /| / / / / /____ / /____ / `-----`/ + /________/ /_/ |_/ /_/ /______/ /______/ /________/ + + This machine's librebooted mr. spy + diff --git a/.local/ascii/lines+squares.txt b/.local/ascii/lines+squares.txt @@ -0,0 +1,66 @@ +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +/ /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// +// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// + +Just some weird, somewhat trippy pattern diff --git a/.local/ascii/maemo.leste.txt b/.local/ascii/maemo.leste.txt @@ -0,0 +1,20 @@ + + ---.... + ```-. + `'`. + `- ' + ae ` ` + .` ' + _.-'` .` + -'''`` .. ` + `.....--'` + https://leste.maemo.org + gopher://haydenvh.com/git/lestier + + hhvn + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/n900.txt b/.local/ascii/n900.txt @@ -0,0 +1,13 @@ +--------------------------------------------------------------------------------------------------------------------- +| SYM | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | = | ESC | +| | Q | W | E | R | T | Y | U | I | O | P | ; | <-- | +| CTRL | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | , F11 | F12 | +--------------------------------------------------------------------------------------------------------------------- +| | * | + | # | - | _ | ( | ) | & | ! | ? | | | | +| ---> | A | S | D | F | G | H | J | K | L | : | /\ | <---` | +| | | | % | ~ | [ | ] | | | | | . | | | +--------------------------------------------------------------------------------------------------------------------- +| | £ | $ | | / | \ | " | ' | @ | | | | +| /\ | Z | X | C | V | B | N | M | | < | \/ | > | +| || | | | ~ | < | > | { | } | [___________] | | | | +--------------------------------------------------------------------------------------------------------------------- diff --git a/.local/ascii/netcat.txt b/.local/ascii/netcat.txt @@ -0,0 +1,38 @@ +$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ +################################################################################ +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMU MM GU J .M G B JMMMMMMMMMMMMM +MMMMMMMMMMMMMMU `' GU 9MMMMMMMMU GMMU` GMMMMMU` M MMMU GMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMU GU JMMMU GMMU GMMMMMU MMU GMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMU o GU 9MMMMMMMMU GMMU GMMMMMU MMM MU GMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMU GM GU JMMMU GMMU GY MMMM M GMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM +################################################################################ +$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + | / / /| \ || | //| / | \ | |\ / / \ / | | |||\ /| /| /| \| /|\\ | / /| | +\ \ |\| | | /| /\| ||| /| | / \ || | /\ | | | ||\ |//|// | |\ | / |||||| | |/| +| | |\\ \|\ \/ |\ ||| ||| || /|/| | | /|| | |/ |\\| |\|\ | | \|/ / ||\||/| ||| +/\| \ ||\ \_\_\ | / |\ || \|| | | | | / ||// // /||/|\\ / ||/\ ||\_| //|||/\ //| + / //||| | |\ \\|/ ||\\\ |/\ | |\\\\/ || | |||/ ||\ ||\ / | || \ |/| | \| |||/ +/ /| |\ \ \| |||| / | \\ \ | | | |\|\ / /\ \||/| / |\\| |\ | || | /|| |\ |_/ || + / //| \/\ \\__| \\| |/| | \|/| | ||||\\| |\ |/ / |/ /||/| || /| || | \ \\|\ /_\ +/ | | \|| |\\_ \ | \\/ | | | |/|/ |/| |\ | ||| /||/ /\ | \|| |/ |/|\/\| |\|/|| +_///|\ |/ / \ \ /| |/| / |\ \/ ||\ |/| \ | \//||// ||/\ \| |\|/| /| |||||/| | |/ + /| || /\ | | | || |\|/| | | \ |/ || | |\ /|\|\ | /|| | |/ /||\| \ \\|| |/\/| +// _/| | | \|/ //| / |\|/ \ \_\| /|| |/ || | | |\/ || | /\| |/ | /| | |//| /|// +/ /\ \\ \\| /| \| |||\ |/| / |/| |\ /|\ | / / \ / /|/ |\ \ / | |\|/||/|||| | + //| /\\_ \\| / |\/ || | | \ | |\|/ ||/ |\|/ |\ | | |\/ /| \| |/ /|/ / /| | | + ||\ / /\ \ /\| /| \ \/ | | || | \| ||| \| | | |\| | || | || || || | ||/\|/| +// | | | \| ||// || |/ / // | / \\ |\ |\ \| \/ / | |// / | | \| |\hhvn| + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/oscss.old.txt b/.local/ascii/oscss.old.txt @@ -0,0 +1,41 @@ + + + Please don't hmmmmm + ban me 0| + 0. _|| + _/"` /|=| + [aldcor] [b0x] + + Join the bot torture zone, + #oscss.eu on freenode. + Parallel processors running + !bofh perpe.... + 0 0 + /|\ /|\ + / \ / \ + [LoKii] [droid] + How's your HAHAH + day? BOING + :( why does nobody 0 \0/ + mention me? /|\ | + 0 ____/\_ / \ / \ + /\--]_/ \___ [haydenh] [marvvin] +___/\___/ \ + [BSDbot] \ + \_ + | + | + / + | <3 <3 <3 Only three? + \ 0 0` + \__ /|\ /|\ + \ / \ / \ + |___ [also LoKii] [allicce] + + hhvn + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/vim.txt b/.local/ascii/vim.txt @@ -0,0 +1,28 @@ + + _ + _______________ _/ \_ ______________ + |_ _| __/ \__ \ __/ + | | _/ \__/ _/ + | |_/ __/ __/ + | | _/ _/ + | | __/ __/\_ + | | _/ _/ \__ + | | __/ __/ \_ + /| |_/ _/ \ + \| __/_ _/ + | _/ /_/ __/ + | __/ __ _ _ _/ + | _/ / / / \__/ \__/ \ + | __/ / / / /`-. /`-. / + | _/ \_ / / / / / / / / + | __/ \_/_/ /_/ _/_/ /_/ + |___/ \_ _/ + \_/ + + hhvn + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.local/ascii/voidlinux.txt b/.local/ascii/voidlinux.txt @@ -0,0 +1,24 @@ + + + _..--~--~.._ + .-'` ``~. + . `. `. + .` `. `..-'```'-. `. + ._ `. ____ `. ____ . + .\ \ /.," : /‾‾/;/ .-.`. + : \ \/;| ( ) | / / / /__/ ; + . \/ : :____-" /__/ /_____.'- + . `. . .` + . `'--...-''``. `. . ` + `. `. ` + `'.._ _..' + ``'"""""'` + http://voidlinux.org + + hhvn + +> Copyright (C) 2020 Hayden Hamilton <hayden@haydenvh.com> +> This work is free. You can redistribute it and/or modify it under the +> terms of the Do What The Fuck You Want To Public License, Version 2, +> as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + diff --git a/.scripts/bin/display/wbcachemake b/.scripts/bin/display/wbcachemake @@ -10,8 +10,8 @@ cache=$HOME/general/cache/ donorm(){ [ "$args" = "" ] && { - convert $file -sparse-color Barycentric '0,0 black 0,%h white' -function polynomial 3.0,-3.2,1 /tmp/blurmap.png - convert $file /tmp/blurmap.png -compose Blur -set option:compose:args 8 -composite $1 + convert $file -sparse-color Barycentric '0,0 black 0,%h white' -function polynomial 3.5,-3.2,1.15 /tmp/blurmap.png + convert $file /tmp/blurmap.png -compose Blur -set option:compose:args 9 -composite $1 } || { convert $file $args $1 } diff --git a/.scripts/bin/dmenu/dmon b/.scripts/bin/dmenu/dmon @@ -13,6 +13,7 @@ do bchoice="$choice" choice=$(printf "DONE\nRight\nLeft\nAbove\nBelow" | dmenu -i -p "Add monitor to:") case $choice in + "") exit ;; Right) direction="right-of" ;; Left) direction="left-of" ;; Above) direction="above" ;; diff --git a/.scripts/bin/dmenu/dpass b/.scripts/bin/dmenu/dpass @@ -15,14 +15,14 @@ [ -z $1 ] && echo "${passwd##*: }"|| echo "$@ ${passwd##*: }" exit } -chosen=$(printf "GENERATE\nEDIT\n$(cut -d ':' -f 1 < $PASS)" | dmenu -l 20 -i -p "Select a password, or GENERATE:" | tr '[:upper:]' '[:lower:]') +chosen=$(printf "GENERATE\nEDIT\n$(cut -d ':' -f 1 < $PASS)" | dmenu -l 20 -i -p "Select:" | tr '[:upper:]' '[:lower:]') passwd=$(grep "^$chosen: " < $PASS) case "$chosen" in "") exit 1 ;; generate) new=$(head -c 2000 /dev/urandom | tr -dc 'a-zA-Z0-9~!@#$%^&*_+=-' | fold -w 35 | shuf | shuf | shuf | head -n 1) - newname=$(echo | dmenu -i -p "Name for passwd (must contain no colons)?") + newname=$(echo | dmenu -i -p "Name for passwd?") [ "$newname" = "" ] && newname="pleaseeditthis" echo "$newname: $new" >> $PASS ;; @@ -30,7 +30,7 @@ case "$chosen" in printf "${passwd##*: }\n" | xclip ( sleep 5 - printf '' | xclip # destroy clipboard to stop accidental pasting + printf '' | xclip # destroy clipboard to prevent accidental pasting # tbh, you should make a cronjob with this, run once per minute :) ) & ;; diff --git a/.scripts/bin/misc/autowifi b/.scripts/bin/misc/autowifi @@ -0,0 +1,54 @@ +#!/bin/sh +# +# autowifi.sh +# Created by Hayden Hamilton +# +# hayden@haydenvh.com +# Copyright (c) 2020 Hayden Hamilton +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# This work is free. You can redistribute it and/or modify it under the +# terms of the Do What The Fuck You Want To Public License, Version 2, +# as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. +# +# depends: doas (or sudo), inetutils-ifconfig, wireless_tools, wpa_supplicant, dhclient + +command -v doas >/dev/null && super=doas || super=sudo + +# guess the wireless interface +[ -z $1 ] && { + interface=$(ip a | grep -o '^[0-9]*: w[^:]*:' | sed -E 's/[0-9]*: ([^:]*):/\1/') + echo "$interface" | grep '[[:alnum:]]' >/dev/null || { + echo "Couldn't guess the interface, please provide one as argument 1" + exit 1 + } +} || interface="$1" + +$super ifconfig $interface up + +ssid=$($super iwlist wlp2s0 scan 2>&1 | grep SSID | sed -E 's/.*:"([^"]*)"/\1/' | dmenu -i -p "SSID:") +pass=$(printf '' | dmenu -i -p "Passphrase:") + +wpa_passphrase "$ssid" "$pass" > /tmp/"$ssid".wpa.conf +$super wpa_supplicant -B -i "$interface" -c /tmp/"$ssid".wpa.conf +$super dhclient + +tput setaf 10 +echo "Hell yeah. You've got wifi (hopefully)... testing..." +sleep 7 +tput sgr0 +ping -c 5 haydenvh.com 2>&1 | tee /dev/stderr | grep '5 received,' >/dev/null && { + tput setaf 10 + echo "Yup" +} || { + tput setaf 10 + echo "Something broke.. :(" +} +echo "Run \`$super pkill wpa_supplicant\` to turn off wifi." diff --git a/.scripts/bin/misc/dotadd b/.scripts/bin/misc/dotadd @@ -2,6 +2,7 @@ git add .config/sxhkd/ git add .local/xauth git add .local/xres +git add .local/ascii git add .config/alias git add .config/tmux/config git add .zprofile diff --git a/.scripts/bin/misc/getascii b/.scripts/bin/misc/getascii @@ -0,0 +1,4 @@ +#!/bin/sh + +[ -z "$1" ] && ls $HOME/.local/ascii | sed 's/\.txt//' && exit +sed '/^>/d;s/hhvn//' < $HOME/.local/ascii/$@.txt diff --git a/.scripts/bin/misc/googlegopher b/.scripts/bin/misc/googlegopher @@ -0,0 +1,5 @@ +#!/bin/sh +# +# see gopher://haydenvh.com/1/alcl/write/other/00060-new.thinkpad.new.phone.oh.and.also.thanks.google.-.120920.gph + +w3m "https://www.google.com/search?q=site:haydenvh.com$(echo " $1" | xxd -p | tr -d '\n' | sed 's/../%&/g')" diff --git a/.scripts/bin/misc/gophcheck b/.scripts/bin/misc/gophcheck @@ -48,7 +48,7 @@ echo(){ for u in $uris do name=$(echo "$u" | tr '/' '%') - curl -qs $u > $current/$name && echo "[$(tput setaf 40)OKAY$(tput sgr0)] $u" || echo "[$(tput 88)FAIL$(tput sgr0)] $u" + curl -qs $u > $current/$name && echo "[$(tput setaf 40)OKAY$(tput sgr0)] $u" || echo "[$(tput setaf 88)FAIL$(tput sgr0)] $u" done } || { echo "No such command, edit/read script for configuration/usage" diff --git a/.scripts/bin/misc/hgpg b/.scripts/bin/misc/hgpg @@ -6,6 +6,9 @@ shift case "$a" in export-key) gpg --export --armour $1 ;; export-keyring) gpg --export --armour ;; - list) gpg --list-keys && gpg --list-secret-keys ;; + list*) + [ ! -z $1 ] && args="--keyid-format $1" + gpg --list-keys $args && gpg --list-secret-keys $args + ;; encrypt) gpg --encrypt --sign --armour --passphrase "$(dpass gpg2key)" -r "$1" ;; esac diff --git a/.scripts/bin/misc/hlpaste b/.scripts/bin/misc/hlpaste @@ -1,6 +1,7 @@ #!/bin/sh cp /dev/stdin /tmp/hlpaste -id=$(mktemp -u /var/gopher/paste/XXXXXXXXX) -scp /tmp/hlpaste hlirc.net:$id.$1 -printf "gopher://hlirc.net/9/paste/$(basename $id).$1" | xclip +id=$(mktemp -u /paste/XXXXXXXXX) + +scp /tmp/hlpaste hlirc.net:/var/gopher/$id.${1:-txt} +printf "gopher://hlirc.net/9/$id.${1:-txt}" | xclip diff --git a/.scripts/bin/misc/hmpv b/.scripts/bin/misc/hmpv @@ -93,4 +93,3 @@ then else seek fi -$HOME/.scripts/dwmblocks/mpv > /tmp/blocks/mpv diff --git a/.scripts/bin/misc/maemo-launch b/.scripts/bin/misc/maemo-launch @@ -0,0 +1,10 @@ +#!/bin/sh + +export ML=maemo-launch +[ -f $HOME/.scripts/maemo/"$1" ] && { + a1="$1" + shift + $HOME/.scripts/maemo/"$a1" $@ +} || { + $@ +} diff --git a/.scripts/bin/misc/mpvrcp b/.scripts/bin/misc/mpvrcp @@ -27,7 +27,7 @@ clear trap 'tput cnorm; exit' 2 -trap 'clear' 28 #SIGWINCH +trap 'clear; olddis=blah' 28 #SIGWINCH drw_line(){ tput cup $1 0 @@ -60,7 +60,22 @@ centre(){ printf "$1" } +invert(){ + $@ 2>/dev/null && return 1 || return 0 +} + draw_main(){ + socat /tmp/mpv-socket /dev/null 2>/dev/null || { + clear + while invert socat /tmp/mpv-socket /dev/null + do + tput cup 0 0 + echo "Can't connect to socket" + sleep 0.1 + done + } + + line=0 dis=$(getm "media-title" "Title" | tr '.' ' ' getm "metadata/artist" "Artist" @@ -70,7 +85,7 @@ draw_main(){ getm "file-format" "FF") [ "$dis" != "$olddis" ] && { - while [ $line -lt $((($(tput lines)/2)-6)) ] + while [ $line -lt $((($(tput lines)/2)-4)) ] do drw_line $line "" line=$(($line+1)) @@ -81,6 +96,13 @@ draw_main(){ drw_line $line "$s" line=$(($line+1)) done + + line=$(($line+6)) + while [ $line -ne $(($(tput lines)-1)) ] + do + drw_line $line "" + line=$(($line+1)) + done } olddis="$dis" diff --git a/.scripts/bin/misc/netimg b/.scripts/bin/misc/netimg @@ -1,4 +1,6 @@ #!/bin/sh -curl "$1" > /tmp/webimg -sxiv /tmp/webimg +t=$(mktemp) +curl "$1" > $t +sxiv $t +rm $t diff --git a/.scripts/bin/misc/netvid b/.scripts/bin/misc/netvid @@ -1,4 +1,6 @@ #!/bin/sh -curl "$1" > /tmp/webmkv -mpv /tmp/webmkv +t=$(mktemp) +curl "$1" > $t +mpv $t +rm $t diff --git a/.scripts/bin/misc/open b/.scripts/bin/misc/open @@ -1,7 +1,14 @@ #!/bin/sh -case $1 in - *.png|*.gif|*.jpg|*.jpeg) sxiv "$@" ;; - *.mp4|*.mkv|*.m4a|*.wav|*.flac|*.opus) mpv "$@" ;; - *) nvim "$@" ;; +run(){ + nohup $@ | tee +} + +case "$1" in + *.png|*.gif|*.jpg|*.jpeg) run sxiv "$@";; + *.mp4|*.mkv|*.ogv) run mpv "$@" ;; + *.mp3|*.m4a|*.wav|*.flac|*.opus|*.ogg) run popupmpvmpv "$@" ;; + *) $(printf '' | dmenu -p "$(file $1)") $1 ;; esac + +[ "$ML" != "" ] && printf "no\nyes" | dmenu -i -p "Bookmark?" | grep y >/dev/null && echo "$1" > $HOME/.local/bookmarks diff --git a/.scripts/bin/misc/popupmpv b/.scripts/bin/misc/popupmpv @@ -1,3 +1,4 @@ #!/bin/sh +hmpv pause /tmp/mpv-socket exec $TERMINAL -e mpv $@ diff --git a/.scripts/bin/misc/rand-sig b/.scripts/bin/misc/rand-sig @@ -1,7 +1,7 @@ #!/bin/sh ( - echo "$USER" - shuf < $HOME/.config/neomutt/signatures | head -n 1 | tr '\t' '\n' | fold -sw 80| sed 's/^/>/' + awk -v "user=$(whoami)" -F":" '$1 == user {print $5}' < /etc/passwd + sed '/^#/d' < $HOME/.config/neomutt/signatures | shuf | head -n 1 | tr '\t' '\n' | fold -sw 80 | sed 's/^/>/' ) > /tmp/signature echo /tmp/signature diff --git a/.scripts/bin/misc/screenoff b/.scripts/bin/misc/screenoff @@ -0,0 +1,9 @@ +#!/bin/sh + +[ -f /tmp/screenoff ] && { + xset dpms force on + rm /tmp/screenoff +} || { + xset dpms force off + touch /tmp/screenoff +} diff --git a/.scripts/bin/misc/servicename b/.scripts/bin/misc/servicename @@ -0,0 +1,3 @@ +#!/bin/sh + +grep "$1" < /etc/services diff --git a/.scripts/bin/misc/stupidhash b/.scripts/bin/misc/stupidhash @@ -0,0 +1,5 @@ +#!/bin/sh +# +# utterly useless script that isn't really a hash + +head -c 500 /dev/urandom | tr -dc "$1" diff --git a/.scripts/bin/misc/topen b/.scripts/bin/misc/topen @@ -0,0 +1,3 @@ +#!/bin/sh + +st -e $SHELL -c "$(printf '' | dmenu -p "Program:") $@" diff --git a/.scripts/bin/misc/urlencode b/.scripts/bin/misc/urlencode @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "$1" | xxd -p | tr -d '\n' | sed 's/../%&/g' diff --git a/.scripts/bin/misc/urlhand b/.scripts/bin/misc/urlhand @@ -1,6 +1,6 @@ #!/bin/sh -link=$(grep -Eo '[A-Za-z][A-Za-z]*://\S*' < /dev/stdin 2>/dev/null | awk '{print $1}' | dmenu -i -p 'Select url') +link=$(grep -Eo '[A-Za-z][A-Za-z]*://[^ >),]*' < /dev/stdin 2>/dev/null | awk '{print $1}' | dmenu -i -p 'Select url') [ "$link" = "" ] && exit 1 tor=$(printf "no\nyes" | dmenu -i -p "Tor?") @@ -17,5 +17,4 @@ netvid popupcurl popupcgo" | dmenu -i -p "Select a handler:") -hmpv pause /tmp/mpv-socket [ "$tor" = "yes" ] && sh -c "torsocks $hand $link" || sh -c "$hand $link" diff --git a/.scripts/bin/misc/voidupdate b/.scripts/bin/misc/voidupdate @@ -0,0 +1,11 @@ +#!/bin/sh + +doas xbps-install -Syu xbps +doas xbps-install -yu +doas xbps-remove -Ooy +doas rm -rf ~/.cache ~/.mozilla ~/.local/share/webkitgtk ~/.viminfo ~/.wget-hsts ~/.lesshst ~/.sh_history ~/.python_history ~/.*history ~/.*hst* ~/.dbus ~/.w3m ~/.config/vimb/cookies.db +doas vkpurge rm all +( + getascii voidlinux + printf "\n\nUpdate finished." +) | xargs -d "\n" herbe diff --git a/.scripts/bin/misc/wpa2-brute-force b/.scripts/bin/misc/wpa2-brute-force @@ -0,0 +1,6 @@ +#!/bin/sh + +# this is what most factory default ISP-issued wifi APs' passphrases look like +# there are 2821109907456 different combinations.. so + +cat /dev/urandom | tr -dc 'A-Z0-9' | fold -w 8 diff --git a/.scripts/bin/misc/ytsrch b/.scripts/bin/misc/ytsrch @@ -0,0 +1,70 @@ +#!/bin/sh +# +# ytsrch.sh +# Created by Hayden Hamilton +# +# hayden@haydenvh.com +# Copyright (c) 2020 Hayden Hamilton +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# This work is free. You can redistribute it and/or modify it under the +# terms of the Do What The Fuck You Want To Public License, Version 2, +# as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. +# +# usage: ytsrch <search query> [number of results] +# +# TODO: +# - Grab metadata from the search page itself, this will make it a lot faster. +# The reason it grabs from individual pages is because I already had written +# the code for that. + +echo "Use ytsrch2 instead. This is a demo of how not to something" && exit + +tmp=$(mktemp -d) +urls=$(curl -qsL "https://www.youtube.com/results?search_query=$(echo "$1" | xxd -p | tr -d '\n' | sed 's/../%&/g')" | grep -o "/watch?v=[^\"]*" | cut -c-20 | awk '!lines[$0]++ {print "https://www.youtube.com" $0}' | head -n "${2:-20}") +count=0 + +for u in $urls +do + count=$(($count+1)) + ( + touch $tmp/$(printf "%04d.lock" $count) + content=$(curl -qs "$u") + printf "==============[%02d]\n\ + URI: %s\n\ + Title: %s\n\ + Auther: %s\n\ + Auther's atom: %s\n\ + Upload Date: %s\n\ + Veiws: %s\n\ + Length: %s\n" \ + "$count" \ + "$(echo "$u" | sed 's,watch?v=,embed/,')" \ + "$(echo "$content" | grep '\[{\"videoPrimaryInfoRenderer\":{\"title\":{\"runs\"\:\[{\"text\":' | sed 's/.*\[{\"videoPrimaryInfoRenderer\":{\"title\":{\"runs\"\:\[{\"text\":// ; s/}\]}.*// ; s/\\//g ; s/^\"// ; s/.$//')" \ + "$(echo "$content" | grep -o 'author":[^}]*}' | sed -E 's/.*:"([^"]*).*/\1/g')" \ + "$(echo "$content" | grep -o 'channelId":"[^"]*' | sed -E 's~.*"([^"]*)$~https://www.youtube.com/feeds/videos.xml?channel_id=\1~' | head -n 1)" \ + "$(echo "$content" | grep -o 'uploadDate":[^}]*}' | sed -E 's/.*:"([^"]*).*/\1/g; s~([0-9]*)-([0-9]*)-([0-9]*)~\3/\2/\1~')" \ + "$(echo "$content" | grep -o 'viewCount":[^}]*}' | head -n 1 | grep -o 'simpleText":[^}]*}' | sed -E 's/.*:"([^"]*).*/\1/g; s/ views//; s/ Aufrufe//g;s/\./,/g')" \ + "$(echo "$content" | grep '\<meta itemprop=\"duration\"' | sed 's/.*content\=//; s/"//g; s/PT//; s/./\L&/g ; s/.$//')" | sed 's/^[[:space:]]*//' | tr '\t' ' ' > $tmp/$(printf "%04d.lock" $count) + mv $tmp/$(printf "%04d.lock" $count) $tmp/$count.show + ) & + #list=$(printf "%s\n%s\n" "$list" "[$count] $u") +done + +while true; +do + sleep 0.5 + ls $tmp | grep lock >/dev/null || break +done + +cat $tmp/*.show +rm -rf $tmp + +#echo "$list" | dmenu -i -p "Select a uri:" | xargs mpv diff --git a/.scripts/bin/misc/ytsrch2 b/.scripts/bin/misc/ytsrch2 @@ -0,0 +1,56 @@ +#!/bin/sh +# +# ytsrch2.sh +# Created by Hayden Hamilton +# +# hayden@haydenvh.com +# Copyright (c) 2020 Hayden Hamilton +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# This work is free. You can redistribute it and/or modify it under the +# terms of the Do What The Fuck You Want To Public License, Version 2, +# as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. + + +[ -z $1 ] 2>/dev/null && echo "usage: ytsrch2 <query> [number of items] +usage: ytsrch2 -t <query> [number of items]" && exit +[ "$1" = "-t" ] && tab=y && shift +content=$(curl -H "Accept-Language: en-US" -qsL "https://www.youtube.com/results?search_query=$(echo "$1" | xxd -p | tr -d '\n' | sed 's/../%&/g')") + +# this is just fucking braindead obfuscation, fuck youtube +titles=$(echo "$content" | grep -o '"width":336*,"height":188}]},"title":{"runs":\[{"text":"[^"]*' | sed 's~"width":336,"height":188}\]},"title":{"runs":\[{"text":"~~' | nl) +authors=$(echo "$content" | grep -o 'ownerText":{"runs":\[{"text":"[^"]*' | sed 's~ownerText":{"runs":\[{"text":"~~' | nl) +length=$(echo "$content" | grep -o '"lengthText":{"accessibility":{"accessibilityData":{"label":"[^"]*' | sed 's~"lengthText":{"accessibility":{"accessibilityData":{"label":"~~' | nl) +dates=$(echo "$content" | grep -o '"publishedTimeText":{"simpleText":"[^"]*"},"lengthText":' | sed 's~"publishedTimeText":{"simpleText":"~~;s~"},"lengthText":$~~' | nl) +views=$(echo "$content" | grep -o '"simpleText":"[^"]*"},"viewCountText":{"simpleText":"[0-9,]* views"},"navigationEndpoint":{"clickTrackingParams":"' | sed -E 's/.*"simpleText":"([0-9,]*) views".*/\1/' | nl) +uris=$(echo "$content" | grep -o '{"videoId":"[^"]*","thumbnail":{"thumbnails":\[{"url":"https://i.ytimg.com/vi/' | sed -E 's~.*"videoId":"([^"]*)",".*~https://www.youtube.com/embed/\1~' | nl) + +getelem(){ + echo "$2" | awk -v "num=$1" '$1 == num' | sed 's/^[[:space:]]*[0-9]*[[:space:]]*//' +} + +tab(){ + [ "$tab" = "y" ] && { + tr -d '\n' | sed 's/============================/\n/g' | column -t -s " " + } || { + tr -d '\t' | sed 's/============================//g' | cat | less + } +} + +for i in $(seq ${2:-20}) +do + printf "============================\nURI: %s\t\nTitle: %s\t\nAuthor: %s\t\nPublished: %s\t\nLength: %s\t\nViews: %s\t\n" \ + "$(getelem $i "$uris")" \ + "$(getelem $i "$titles")" \ + "$(getelem $i "$authors")" \ + "$(getelem $i "$dates")" \ + "$(getelem $i "$length")" \ + "$(getelem $i "$views")" +done | tab diff --git a/.scripts/custom/dock b/.scripts/custom/dock @@ -1,8 +1,3 @@ #!/bin/sh -for d in "LVDS1" "HDMI2" -do - ds="$ds --output $d --off" -done - -xrandr $ds --output LVDS1 --mode 1280x800 --primary --pos 0x0 --output HDMI2 --mode 1920x1080 --pos 1920x0 +xrandr --output LVDS1 --off --output VGA1 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI1 --off --output DP1 --off --output HDMI2 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP2 --off --output DP3 --off --output TV1 --off diff --git a/.scripts/maemo/camera b/.scripts/maemo/camera @@ -0,0 +1,10 @@ +#!/bin/sh + +c=$(printf "no\nstay the same\nyes" | dmenu -i -p "Flash?") + +[ "$c" = "yes" ] && offlater=y && $ML flash on +[ "$c" = "no" ] && $ML flash off + +ls /dev/video* | dmenu -i -p "Cameras:" | xargs mpv --profile=low-latency -- + +[ "$offlater" = "y" ] && $ML flash off diff --git a/.scripts/maemo/files b/.scripts/maemo/files @@ -0,0 +1,34 @@ +#!/bin/sh + +bmf=$HOME/.local/bookmarks + +selectfs(){ + while true + do + f=$(ls -F | sed '1s/.*/\*\n\.\./;s/\@$//;s/|//;s/\*$//' | dmenu -i -p "$(pwd)") + [ "$f" = "" ] && exit + [ "$f" = "*" ] && exec open * + [ ! -d "$f" ] && { + exec open "$f" + } + [ -d "$f" ] && cd "$f" + done +} + +rmbookmark(){ + bm=$(nl < $bmf | tr '\t' ' ' | dmenu -i | awk '{print $1}') + [ "$bm" = "" ] && return + nl < $bmf | sed 's/[[:space:]]*//' | awk -v "num=$bm" -F" " '$1 != num {print $2}' > $bmf.new + mv $bmf.new $bmf +} + +while true +do + choice=$(printf "OTHER\nRMBOOKMARK\n" | cat - $bmf 2>/dev/null | dmenu -i) + case "$choice" in + "") exit ;; + OTHER) selectfs ;; + RMBOOKMARK) rmbookmark ;; + *) open "$choice" ;; + esac +done diff --git a/.scripts/maemo/fm-transmitter b/.scripts/maemo/fm-transmitter @@ -0,0 +1,3 @@ +#!/bin/sh + +v4l2-ctl -d /dev/radio0 --set-ctrl mute=0 --set-freq="$(seq 875 1080 | sed 's/.$/\.&/' | dmenu -i -p "Freq?")" diff --git a/.ssh/config b/.ssh/config @@ -3,16 +3,14 @@ Host * ControlPath ~/.ssh/sessions/%h%p%r.sock ControlPersist 10000 +Host *.exelan + ProxyJump void@haydenvh.com + Host local Hostname haydenvh.com User void Port 22 -Host irc - Hostname haydenvh.com - User irc - Port 22 - Host irc1 Hostname irc.haydenvh.com User hayden diff --git a/.xinitrc b/.xinitrc @@ -2,7 +2,18 @@ xrdb ~/.local/xres & setxkbmap haydenh & -xsetroot -cursor_name sailboat & +mpvlisten /tmp/mpv-socket2 /tmp/mpv-socket & +./.scripts/input/keyboard & +( + cd .scripts/dwmblocks + ./dwmbar +) & sxhkd & +cu dock & +st -e & + +#/usr/libexec/xscreensaver/galaxy -root -count 5 +/usr/libexec/xscreensaver/cubicgrid -root -zoom 100 -no-bigdots -speed 0.2 & -exec st -e dwm +xsetroot -cursor_name sailboat & +exec dwm