# HG changeset patch # User Steve Losh # Date 1679170275 14400 # Node ID eb8dc72799c83a64a3110a218ee106be0ed3c096 # Parent 9baeb560876982714eb946de61ce25ff21f8863f More diff -r 9baeb5608769 -r eb8dc72799c8 .mbsyncrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.mbsyncrc Sat Mar 18 16:11:15 2023 -0400 @@ -0,0 +1,81 @@ +# tweaked https://raw.githubusercontent.com/bm4cs/dots/Far/.mbsyncrc + +IMAPAccount fastmail +Host imap.fastmail.com +Port 993 +User steve@stevelosh.com +PassCmd "pass show mutt/ouroboros/steve@stevelosh.com | head -n 1" +SSLType IMAPS +SSLVersion TLSv1.2 +CertificateFile /etc/ssl/certs/ca-certificates.crt + +# Remote +IMAPStore mail-remote +Account fastmail + +# Local +MaildirStore mail-local +Subfolders Verbatim +Path ~/.mail2/sjl/ +Inbox ~/.mail2/sjl/INBOX + +# CONNECTIONS SPECIFY LINKS BETWEEN REMOTE AND LOCAL FOLDERS +# CONNECTIONS ARE SPECIFIED USING PATTERNS, WHICH MATCH REMOTE MAIl +# FOLDERS. SOME COMMONLY USED PATTERS INCLUDE: +# +# 1 "*" TO MATCH EVERYTHING +# 2 "!DIR" TO EXCLUDE "DIR" +# 3 "DIR" TO MATCH DIR + +Channel mail-inbox +Far :mail-remote: +Near :mail-local: +Patterns INBOX +Create Near +Sync All +Expunge Both +SyncState * + +Channel mail-sent +Far :mail-remote: +Near :mail-local: +Patterns "Sent" +Create Both +Sync All +Expunge Both +SyncState * + +Channel mail-spam +Far :mail-remote: +Near :mail-local: +Patterns "Uncaught Spam" +Create Near +Sync All +Expunge Both +SyncState * + +Channel mail-drafts +Far :mail-remote: +Near :mail-local: +Patterns "Drafts" +Create Near +Sync All +Expunge Both +SyncState * + +Channel mail-archive +Far :mail-remote: +Near :mail-local: +Patterns "Arc*" +Create Near +Sync All +Expunge Both +SyncState * + +Group mail +Channel mail-inbox +Channel mail-spam +Channel mail-drafts +Channel mail-sent +Channel mail-archive + diff -r 9baeb5608769 -r eb8dc72799c8 Xmodmap --- a/Xmodmap Sun Jan 29 12:52:13 2023 -0500 +++ b/Xmodmap Sat Mar 18 16:11:15 2023 -0400 @@ -15,28 +15,39 @@ keycode 108 = Mode_switch ! F14 to compose keycode 192 = Multi_key +keycode 193 = F15 +keycode 194 = F16 +keycode 195 = F17 +keycode 196 = F18 +keycode 197 = F19 +keycode 198 = F20 +keycode 199 = F21 +keycode 200 = F22 +keycode 201 = F23 +keycode 202 = F24 +keycode 203 = F25 -keycode 900 = F16 +! keycode 900 = F16 ! for some reason this fucks up keycode 133. I have no idea why this happens. ! keycode 901 = F17 -keycode 902 = F18 -keycode 903 = F19 -keycode 904 = F20 -keycode 905 = F21 -keycode 906 = F22 -keycode 907 = F23 -keycode 908 = F24 -keycode 909 = F25 +! keycode 902 = F18 +! keycode 903 = F19 +! keycode 904 = F20 +! keycode 905 = F21 +! keycode 906 = F22 +! keycode 907 = F23 +! keycode 908 = F24 +! keycode 909 = F25 keycode 910 = F26 -keycode 911 = F27 -keycode 912 = F28 -keycode 913 = F29 -keycode 914 = F30 -keycode 915 = F31 -keycode 916 = F32 -keycode 917 = F33 -keycode 918 = F34 -keycode 919 = F35 +! keycode 911 = F27 +! keycode 912 = F28 +! keycode 913 = F29 +! keycode 914 = F30 +! keycode 915 = F31 +! keycode 916 = F32 +! keycode 917 = F33 +! keycode 918 = F34 +! keycode 919 = F35 add control = Control_L add mod1 = Alt_L diff -r 9baeb5608769 -r eb8dc72799c8 gnuplot --- a/gnuplot Sun Jan 29 12:52:13 2023 -0500 +++ b/gnuplot Sat Mar 18 16:11:15 2023 -0400 @@ -63,6 +63,13 @@ y_eng(n) = sprintf("set ytics format '%." . n . "sx10^%S'") # eval y_eng(1) → 100.1 x 10⁶ # }}} +# Quick Plots ------------------------------------------------------------- {{{ +# usage: @qpng + +qpng = 'set terminal pngcairo size 1600,1200; set termoption font "Routed Gothic,18"; set output "plot.png"' +qpdf = 'set terminal pdfcairo size 16in,12in; set termoption font "Routed Gothic,20"; set output "plot.pdf"' + +# }}} # Exporting --------------------------------------------------------------- {{{ export(file, terminal) = sprintf( \ diff -r 9baeb5608769 -r eb8dc72799c8 gnuplot-scripts/black-and-white-lines-points.gp --- a/gnuplot-scripts/black-and-white-lines-points.gp Sun Jan 29 12:52:13 2023 -0500 +++ b/gnuplot-scripts/black-and-white-lines-points.gp Sat Mar 18 16:11:15 2023 -0400 @@ -1,15 +1,15 @@ set palette defined (0 '#111111', 1 '#eeeeee') -set linetype 1 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt solid -set linetype 2 linewidth 1.25 pointtype 1 ps 1.1 linecolor rgb 'black' pointinterval -1 dt '-' -set linetype 3 linewidth 1.25 pointtype 9 ps 1.3 linecolor rgb 'black' pointinterval -1 dt '.' -set linetype 4 linewidth 1.25 pointtype 6 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (10, 5, 2, 5) -set linetype 5 linewidth 1.25 pointtype 10 ps 1.3 linecolor rgb 'black' pointinterval -1 dt (8, 7, 2, 7, 2, 7) -set linetype 6 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt solid -set linetype 7 linewidth 1.25 pointtype 1 ps 1.1 linecolor rgb 'black' pointinterval -1 dt '-' -set linetype 8 linewidth 1.25 pointtype 9 ps 1.3 linecolor rgb 'black' pointinterval -1 dt '.' -set linetype 9 linewidth 1.25 pointtype 6 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (10, 5, 2, 5) -set linetype 10 linewidth 1.25 pointtype 10 ps 1.3 linecolor rgb 'black' pointinterval -1 dt (8, 7, 2, 7, 2, 7) +set linetype 1 linewidth 2 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt solid +set linetype 2 linewidth 2 pointtype 1 ps 1.3 linecolor rgb 'black' pointinterval -1 dt '-' +set linetype 3 linewidth 2 pointtype 9 ps 1.3 linecolor rgb 'black' pointinterval -1 dt '.' +set linetype 4 linewidth 2 pointtype 6 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (10, 5, 2, 5) +set linetype 5 linewidth 2 pointtype 10 ps 1.3 linecolor rgb 'black' pointinterval -1 dt (8, 7, 2, 7, 2, 7) +set linetype 6 linewidth 2 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt solid +set linetype 7 linewidth 2 pointtype 1 ps 1.1 linecolor rgb 'black' pointinterval -1 dt '-' +set linetype 8 linewidth 2 pointtype 9 ps 1.3 linecolor rgb 'black' pointinterval -1 dt '.' +set linetype 9 linewidth 2 pointtype 6 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (10, 5, 2, 5) +set linetype 10 linewidth 2 pointtype 10 ps 1.3 linecolor rgb 'black' pointinterval -1 dt (8, 7, 2, 7, 2, 7) unset linetype 11 unset linetype 12 diff -r 9baeb5608769 -r eb8dc72799c8 gnuplot-scripts/black-and-white-lines.gp --- a/gnuplot-scripts/black-and-white-lines.gp Sun Jan 29 12:52:13 2023 -0500 +++ b/gnuplot-scripts/black-and-white-lines.gp Sat Mar 18 16:11:15 2023 -0400 @@ -1,15 +1,15 @@ set palette defined (0 '#111111', 1 '#eeeeee') -set linetype 1 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt solid -set linetype 2 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt '-' -set linetype 3 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt '.' -set linetype 4 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (10, 5, 2, 5) -set linetype 5 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (8, 7, 2, 7, 2, 7) -set linetype 6 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt solid -set linetype 7 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt '-' -set linetype 8 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt '.' -set linetype 9 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (10, 5, 2, 5) -set linetype 10 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (8, 7, 2, 7, 2, 7) +set linetype 1 linewidth 3 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt solid +set linetype 2 linewidth 3 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt '-' +set linetype 3 linewidth 3 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt '.' +set linetype 4 linewidth 3 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (10, 5, 2, 5) +set linetype 5 linewidth 3 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (8, 7, 2, 7, 2, 7) +set linetype 6 linewidth 3 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt solid +set linetype 7 linewidth 3 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt '-' +set linetype 8 linewidth 3 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt '.' +set linetype 9 linewidth 3 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (10, 5, 2, 5) +set linetype 10 linewidth 3 pointtype 7 ps 1.0 linecolor rgb 'black' pointinterval -1 dt (8, 7, 2, 7, 2, 7) unset linetype 11 unset linetype 12 diff -r 9baeb5608769 -r eb8dc72799c8 gnuplot-scripts/color.gp --- a/gnuplot-scripts/color.gp Sun Jan 29 12:52:13 2023 -0500 +++ b/gnuplot-scripts/color.gp Sat Mar 18 16:11:15 2023 -0400 @@ -1,16 +1,16 @@ set palette defined (0 '#fef0d9', 1 '#d7301f', 2 '#fc8d59', 3 '#d7301f') -set linetype 1 linewidth 1.25 pointtype 7 ps 1.0 linecolor rgb '#1f78b4' pointinterval -1 dashtype solid -set linetype 2 linewidth 1.25 pointtype 1 ps 1.1 linecolor rgb '#33a02c' pointinterval -1 dashtype solid -set linetype 3 linewidth 1.25 pointtype 9 ps 1.2 linecolor rgb '#e31a1c' pointinterval -1 dashtype solid -set linetype 4 linewidth 1.25 pointtype 6 ps 1.0 linecolor rgb '#ff7f00' pointinterval -1 dashtype solid -set linetype 5 linewidth 1.25 pointtype 10 ps 1.2 linecolor rgb '#6a3d9a' pointinterval -1 dashtype solid +set linetype 1 linewidth 2 pointtype 7 ps 1.0 linecolor rgb '#1f78b4' pointinterval -1 dashtype solid +set linetype 2 linewidth 2 pointtype 1 ps 1.1 linecolor rgb '#33a02c' pointinterval -1 dashtype solid +set linetype 3 linewidth 2 pointtype 9 ps 1.2 linecolor rgb '#e31a1c' pointinterval -1 dashtype solid +set linetype 4 linewidth 2 pointtype 6 ps 1.0 linecolor rgb '#ff7f00' pointinterval -1 dashtype solid +set linetype 5 linewidth 2 pointtype 10 ps 1.2 linecolor rgb '#6a3d9a' pointinterval -1 dashtype solid -set linetype 6 linewidth 1.5 pointtype 7 ps 1.0 linecolor rgb '#1f78b4' pointinterval -1 dt (10, 6) -set linetype 7 linewidth 1.5 pointtype 1 ps 1.1 linecolor rgb '#33a02c' pointinterval -1 dt (2, 4) -set linetype 8 linewidth 1.5 pointtype 9 ps 1.2 linecolor rgb '#e31a1c' pointinterval -1 dt (10, 5, 2, 5) -set linetype 9 linewidth 1.5 pointtype 6 ps 1.0 linecolor rgb '#ff7f00' pointinterval -1 dt (8, 7, 2, 7, 2, 7) -set linetype 10 linewidth 1.5 pointtype 10 ps 1.2 linecolor rgb '#6a3d9a' pointinterval -1 dt (8, 4, 2, 4, 2, 4, 2, 4) +set linetype 6 linewidth 3.5 pointtype 7 ps 1.0 linecolor rgb '#1f78b4' pointinterval -1 dt (10, 6) +set linetype 7 linewidth 3.5 pointtype 1 ps 1.1 linecolor rgb '#33a02c' pointinterval -1 dt (2, 4) +set linetype 8 linewidth 3.5 pointtype 9 ps 1.2 linecolor rgb '#e31a1c' pointinterval -1 dt (10, 5, 2, 5) +set linetype 9 linewidth 3.5 pointtype 6 ps 1.0 linecolor rgb '#ff7f00' pointinterval -1 dt (8, 7, 2, 7, 2, 7) +set linetype 10 linewidth 3.5 pointtype 10 ps 1.2 linecolor rgb '#6a3d9a' pointinterval -1 dt (8, 4, 2, 4, 2, 4, 2, 4) unset linetype 11 unset linetype 12 diff -r 9baeb5608769 -r eb8dc72799c8 lispwords --- a/lispwords Sun Jan 29 12:52:13 2023 -0500 +++ b/lispwords Sat Mar 18 16:11:15 2023 -0400 @@ -90,7 +90,7 @@ (1 if-let* if-let) (1 gathering-vector) (1 multiple-value-bind*) -(1 do-repeat do-range do-irange do-ring-buffer do-vector do-file) +(1 do-repeat do-range do-irange do-ring-buffer do-vector do-file do-hash-set) (1 timing) ; qtools diff -r 9baeb5608769 -r eb8dc72799c8 mutt/muttrc --- a/mutt/muttrc Sun Jan 29 12:52:13 2023 -0500 +++ b/mutt/muttrc Sat Mar 18 16:11:15 2023 -0400 @@ -25,7 +25,7 @@ source ~/.vim/bundle/badwolf/contrib/badwolf.muttrc -set folder = ~/.mail # mail location +set folder = ~/.mail2 # mail location set wait_key = no # shut up, mutt set mbox_type = Maildir # mailbox type @@ -183,8 +183,8 @@ macro index \Cr "T~UN." "mark all messages as read" # Sync email -macro index O "offlineimap" "run offlineimap to sync all mail" -macro index o "offlineimap -qf INBOX" "run offlineimap to sync inbox" +macro index O "mbsync --all" "run mbsync to sync all mail" +macro index o "mbsync mail-inbox" "run mbsync to sync inbox" # Saner copy/move dialogs macro index C "?" "copy a message to a mailbox" diff -r 9baeb5608769 -r eb8dc72799c8 stumpwmrc --- a/stumpwmrc Sun Jan 29 12:52:13 2023 -0500 +++ b/stumpwmrc Sat Mar 18 16:11:15 2023 -0400 @@ -663,13 +663,13 @@ ("H-\\" "pass-personal") ("H-|" "generate-password") ("H-b" "browser") - ("H-B" "exec firefox") ("H-O" "spotify") ("H-o" "files") ("H-z" "zoom") ("H-Z" "toggle-zoom-mute") ("C-H-Z" "end-zoom") ("H-q" "exec lock-screen") + ("F26" "exec lock-screen") ("H-y" "screenshot") ("H-g" "gcontrol") ("H-f" "save-fucked-screenshot") @@ -685,7 +685,7 @@ ("H-c" "show-clipboard-history") ("H-C" "clear-clipboard-history") ("H-u" "generate-random-uuid") - ("H-U" "bee-movie-script") + ("H-B" "bee-movie-script") ("M-H-u" "urlize-jira-issue")) (define-top-keys ;; movement @@ -765,7 +765,7 @@ (define-top-keys ;; stump ("Pause" "terminal") ; jesus christ - ("H-F9" "sleep-machine") + ("H-F9" "sleep-machine") ("H-F10" "toggle-stumptray") ("H-F11" "toggle-current-mode-line") ("H-F12" "refresh-heads")) diff -r 9baeb5608769 -r eb8dc72799c8 weechat/alias.conf --- a/weechat/alias.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/alias.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [cmd] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/buflist.conf --- a/weechat/buflist.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/buflist.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/charset.conf --- a/weechat/charset.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/charset.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [default] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/exec.conf --- a/weechat/exec.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/exec.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [command] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/fifo.conf --- a/weechat/fifo.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/fifo.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [file] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/fset.conf --- a/weechat/fset.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/fset.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/logger.conf --- a/weechat/logger.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/logger.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/python.conf --- a/weechat/python.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/python.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/relay.conf --- a/weechat/relay.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/relay.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look] @@ -30,7 +30,7 @@ auth_timeout = 60 bind_address = "" clients_purge_delay = 0 -compression_level = 6 +compression = 20 ipv6 = on max_clients = 5 nonce_size = 16 diff -r 9baeb5608769 -r eb8dc72799c8 weechat/script.conf --- a/weechat/script.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/script.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/trigger.conf --- a/weechat/trigger.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/trigger.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/urlgrab.conf --- a/weechat/urlgrab.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/urlgrab.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [color] diff -r 9baeb5608769 -r eb8dc72799c8 weechat/xfer.conf --- a/weechat/xfer.conf Sun Jan 29 12:52:13 2023 -0500 +++ b/weechat/xfer.conf Sat Mar 18 16:11:15 2023 -0400 @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look]