a67a81af0dbd

Merge
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 18 Mar 2023 16:12:20 -0400
parents eb8dc72799c8 (diff) 7da8a8457fd1 (current diff)
children dbc095424fd1
branches/tags (none)
files lispwords mutt/muttrc

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.mbsyncrc	Sat Mar 18 16:12:20 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
+
--- a/Xmodmap	Tue Mar 14 17:26:19 2023 -0400
+++ b/Xmodmap	Sat Mar 18 16:12:20 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
--- a/gnuplot	Tue Mar 14 17:26:19 2023 -0400
+++ b/gnuplot	Sat Mar 18 16:12:20 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( \
--- a/gnuplot-scripts/black-and-white-lines-points.gp	Tue Mar 14 17:26:19 2023 -0400
+++ b/gnuplot-scripts/black-and-white-lines-points.gp	Sat Mar 18 16:12:20 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
--- a/gnuplot-scripts/black-and-white-lines.gp	Tue Mar 14 17:26:19 2023 -0400
+++ b/gnuplot-scripts/black-and-white-lines.gp	Sat Mar 18 16:12:20 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
--- a/gnuplot-scripts/color.gp	Tue Mar 14 17:26:19 2023 -0400
+++ b/gnuplot-scripts/color.gp	Sat Mar 18 16:12:20 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
--- a/lispwords	Tue Mar 14 17:26:19 2023 -0400
+++ b/lispwords	Sat Mar 18 16:12:20 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 profile-when)
 
 ; qtools
--- a/mutt/muttrc	Tue Mar 14 17:26:19 2023 -0400
+++ b/mutt/muttrc	Sat Mar 18 16:12:20 2023 -0400
@@ -25,7 +25,7 @@
 
 source ~/.vim/bundle/badwolf/contrib/badwolf.muttrc
 
-set folder = ~/.mail2     # 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~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
 
 # Sync email
-macro index O "<shell-escape>mbsync --all<enter>"           "run mbsync to sync all mail"
-macro index o "<shell-escape>mbsync mail-inbox<enter>"      "run mbsync to sync inbox"
+macro index O "<sync-mailbox><shell-escape>mbsync --all<enter><sync-mailbox>"      "run mbsync to sync all mail"
+macro index o "<sync-mailbox><shell-escape>mbsync mail-inbox<enter><sync-mailbox>" "run mbsync to sync inbox"
 
 # Saner copy/move dialogs
 macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
--- a/stumpwmrc	Tue Mar 14 17:26:19 2023 -0400
+++ b/stumpwmrc	Sat Mar 18 16:12:20 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"))
--- a/weechat/alias.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/alias.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/buflist.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/buflist.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/charset.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/charset.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/exec.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/exec.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/fifo.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/fifo.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/fset.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/fset.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/logger.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/logger.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/python.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/python.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/relay.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/relay.conf	Sat Mar 18 16:12:20 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
--- a/weechat/script.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/script.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/trigger.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/trigger.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/urlgrab.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/urlgrab.conf	Sat Mar 18 16:12:20 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]
--- a/weechat/xfer.conf	Tue Mar 14 17:26:19 2023 -0400
+++ b/weechat/xfer.conf	Sat Mar 18 16:12:20 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]