M .config/cmus/rc => .config/cmus/rc +1 -1
@@ 1,3 1,3 @@
-cd ~/Documents/memos/.playlists
+# cd ~/Documents/memos/.playlists
set status_display_program=~/.local/bin/CmusNotify/CmusNotify
colorscheme cyan
M .config/dunst/dunstrc => .config/dunst/dunstrc +3 -1
@@ 29,7 29,9 @@
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
- geometry = "300x5-30-75"
+ width = 300
+ origin = bottom-right
+ offset = 30x75
# Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes
M .config/i3/config => .config/i3/config +5 -1
@@ 6,7 6,7 @@ font pango:monospace 8
exec_always --no-startup-id dunst
# exec_always --no-startup-id hsetroot -cover ~/.config/i3/chandra.jpg -brightness -.3
-exec_always --no-startup-id hsetroot -cover ~/Pictures/cyberpunk-city-concept-art-4k-we.jpg -gamma 0.5
+exec_always --no-startup-id hsetroot -cover ~/Pictures/wallpapers/standing-on-terraces-scifi-cyberpunk-4k-q7.jpg -gamma 0.5
exec_always --no-startup-id picom --config ~/.config/picom/picom.conf -b
# This font is widely installed, provides lots of unicode glyphs, right-to-left
@@ 245,3 245,7 @@ bindsym $mod+Shift+t exec hsetroot -solid black
# fix Firefox control q
bindsym Control+q exec ~/.local/bin/noctrlq.sh
+
+# dunstctl
+bindsym Control+grave exec dunstctl close
+bindsym Control+Shift+grave exec dunstctl history-pop
M .config/kitty/kitty.conf => .config/kitty/kitty.conf +2 -2
@@ 243,12 243,12 @@ url_style single
#: The color and style for highlighting URLs on mouse-over. url_style
#: can be one of: none, single, double, curly
-open_url_modifiers ctrl
+open_url_modifiers ctrl+shift
#: The modifier keys to press when clicking with the mouse on URLs to
#: open the URL
-open_url_with default
+open_url_with firefox
#: The program with which to open URLs that are clicked on. The
#: special value default means to use the operating system's default
M .config/nvim/init.vim => .config/nvim/init.vim +6 -0
@@ 235,6 235,8 @@ nnoremap W <C-w>
" turn on modelines
set modeline
set modelines=5
+" automatic indentation. nvim has this already, but nice to have a reference for vim
+filetype plugin indent on
" Filetype specific configurations--------------------------------------------
"
@@ 268,6 270,10 @@ autocmd FileType scala set shiftwidth=4 " this sets itself to 2 for no good reas
" vim-commentary for crystal
autocmd FileType crystal setlocal commentstring=#\ %s
+autocmd FileType html,css setlocal shiftwidth=2
+autocmd FileType html,css setlocal tabstop=2
+autocmd FileType html,css setlocal expandtab
+
autocmd FileType c,go setlocal shiftwidth=8
autocmd FileType c,go setlocal tabstop=8
autocmd FileType c,go setlocal noexpandtab
M .mbsyncrc => .mbsyncrc +24 -24
@@ 24,8 24,8 @@ Path ~/Mail/jordanwargames/
Inbox ~/Mail/jordanwargames/INBOX
Channel jordanwargames
-Master :jordanwargames-remote:
-Slave :jordanwargames-local:
+Far :jordanwargames-remote:
+Near :jordanwargames-local:
# Exclude everything under the internal [Gmail] folder, except the interesting folders
# Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
# Or include everything
@@ 37,29 37,29 @@ Remove Both
SyncState *
################################################################################
-IMAPAccount mines
-Host imap.gmail.com
-User jordannewport@mymail.mines.edu
-# Pass password
-PassCmd "cat ~/.config/passwords/mines-email"
-SSLType IMAPS
-CertificateFile /etc/ssl/certs/ca-certificates.crt
+# IMAPAccount mines
+# Host imap.gmail.com
+# User jordannewport@mymail.mines.edu
+# # Pass password
+# PassCmd "cat ~/.config/passwords/mines-email"
+# SSLType IMAPS
+# CertificateFile /etc/ssl/certs/ca-certificates.crt
-IMAPStore mines-remote
-Account mines
+# IMAPStore mines-remote
+# Account mines
-MaildirStore mines-local
-Subfolders Verbatim
-Path ~/Mail/mines/
-Inbox ~/Mail/mines/INBOX
+# MaildirStore mines-local
+# Subfolders Verbatim
+# Path ~/Mail/mines/
+# Inbox ~/Mail/mines/INBOX
-Channel mines
-Master :mines-remote:
-Slave :mines-local:
-Patterns *
-Create Both
-Remove Both
-SyncState *
+# Channel mines
+# Master :mines-remote:
+# Slave :mines-local:
+# Patterns *
+# Create Both
+# Remove Both
+# SyncState *
################################################################################
IMAPAccount migadu
@@ 78,8 78,8 @@ Path ~/Mail/migadu/
Inbox ~/Mail/migadu/INBOX
Channel migadu
-Master :migadu-remote:
-Slave :migadu-local:
+Far :migadu-remote:
+Near :migadu-local:
Patterns *
Create Both
Remove Both
M .mutt/mailcap => .mutt/mailcap +5 -0
@@ 15,3 15,8 @@ application/msword; libreoffice %s;
application/vnd.ms-word.document.12; libreoffice %s;
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s;
application/vnd.oasis.opendocument.text; libreoffice %s;
+
+# iCal
+text/calendar; icalview.py; copiousoutput
+application/calendar; icalview.py; copiousoutput
+application/ics; icalview.py; copiousoutput
M .mutt/muttrc => .mutt/muttrc +5 -4
@@ 5,7 5,7 @@ set folder="~/Mail/migadu/"
set record="~/Mail/migadu/Sent/"
# source ~/.mutt/accounts/mines
-source ~/.mutt/accounts/jordanwargames
+source ~/.mutt/accounts/migadu
# Switching between accounts
folder-hook jordanwargames/* source ~/.mutt/accounts/jordanwargames
@@ 43,9 43,6 @@ set sort = threads
set sort_aux = reverse-last-date-received
set sort_re
-# Set up the mailboxes
-set imap_check_subscribed=yes
-
# Look and feel
set pager_index_lines = 12
set pager_context = 5
@@ 59,6 56,9 @@ unset markers
unset implicit_autoview
alternative_order text/plain text/enriched text/html
auto_view text/html
+auto_view text/calendar
+auto_view application/calendar
+auto_view application/ics
# Composing
set editor = `echo \$EDITOR`
@@ 143,3 143,4 @@ set my_msmtp_pass=`cat ~/.config/passwords/migadu-email`
# Status Bar
set status_chars = " *%A"
set status_format = "───[ Folder: %f (%l %s/%S)]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)?%?F? (%F flagged)?]───%>─%?p?( %p postponed)?───"
+set send_charset="us-ascii:utf-8"
M .mutt/signatures/mines => .mutt/signatures/mines +1 -1
@@ 1,2 1,2 @@
Jordan Newport (he/him)
-CS@Mines M.S. student | CSCI 101 instructor
+CS@Mines M.S. recipient
M .ssh/config => .ssh/config +5 -0
@@ 38,3 38,8 @@ Host malcharion
# ipv6: 2604:a880:4:1d0::e:e000
User freebsd
IdentityFile ~/.ssh/digital-ocean
+
+Host variel
+ HostName 5.161.43.148
+ # User jordan
+ IdentityFile ~/.ssh/id_ed25519
M .zshrc.d/aliases.sh => .zshrc.d/aliases.sh +7 -0
@@ 52,6 52,12 @@ alias rsbcl="rlwrap sbcl"
alias kimg="kitty +kitten icat"
alias mpva="mpv --no-video"
alias camera="ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0 -c:v libx264 -preset ultrafast webcam.mp4"
+alias vcal="vcal -all"
+
+# doing music tags
+alias mpvna="mpv --no-audio"
+alias mfrmpic="metaflac --remove --block-type=PICTURE"
+alias mfaddpic="metaflac --import-picture-from"
# aliases for git
alias g="git"
@@ 72,6 78,7 @@ alias gs="git status"
alias gst="git stash"
alias gb="git branch"
alias gdcs="git diff --compact-summary"
+alias gse="git send-email"
# global aliases
alias -g mvpn="openvpn-client@client.ovpn.service"
M .zshrc.d/functions.sh => .zshrc.d/functions.sh +33 -0
@@ 56,3 56,36 @@ function __zkey_dot_handler {
zle -N magic-dot __zkey_dot_handler
sm() {sudo systemctl "$1" mvpn}
+
+ytdlrg() {
+ youtube-dl --write-auto-sub --skip-download "$1" -o /tmp/ytdl
+ rg "$2" /tmp/ytdl*
+ rm /tmp/ytdl*
+}
+
+tagutil() {
+ if [[ $# -eq 1 ]] && [[ ${1: -4} = ".ogg" ]]; then
+ command tagutil $1 | grep -v metadata_block_picture
+ else
+ command tagutil $@
+ fi
+}
+
+mp3addpic() {
+ eyeD3 --add-image $1:FRONT_COVER ${@:2:$#}
+}
+
+# wikipedia batch search
+batch-wikipedia() {
+while read SEARCH_TERM; do
+ firefox "https://en.wikipedia.org/wiki/Special:Search?search=$SEARCH_TERM"
+done < $1
+}
+
+# discogs batch search
+batch-discogs() {
+while read SEARCH_TERM; do
+ firefox "https://www.discogs.com/search/?type=all&q=$SEARCH_TERM"
+done < $1
+}
+
M .zshrc.d/variables.sh => .zshrc.d/variables.sh +3 -0
@@ 25,3 25,6 @@ SAVEHIST=50000
# zsh-autosuggestions plugin config
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8'
+
+#printer
+export LPDEST=ENVY_Pro_6400