Compare commits
No commits in common. "1201922b9d55bc8392846b74838913287d8893b4" and "9bb52d016dfcfb0eecd429270bb5574ea2049ee0" have entirely different histories.
1201922b9d
...
9bb52d016d
@ -23,12 +23,9 @@ function pdfr
|
|||||||
pdftotext $argv - | nvim
|
pdftotext $argv - | nvim
|
||||||
end
|
end
|
||||||
|
|
||||||
# Neomutt configs
|
# Neomutt local config
|
||||||
alias neomutt.local='neomutt -F .config/neomutt/neomuttrc.local'
|
alias neomutt.local='neomutt -F .config/neomutt/neomuttrc.local'
|
||||||
alias neomutt.disroot='neomutt -F .config/neomutt/neomuttrc.disroot'
|
|
||||||
|
|
||||||
# Specific to my Gentoo system
|
# Specific to my Gentoo system
|
||||||
alias genlop='doas -u portage /usr/bin/genlop'
|
alias genlop='doas -u portage /usr/bin/genlop'
|
||||||
alias loginctl='doas /bin/loginctl'
|
alias loginctl='doas /bin/loginctl'
|
||||||
|
|
||||||
alias pyenv='source ~/dox/proj/ref/venv/bin/activate.fish'
|
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
# vim: filetype=muttrc
|
|
||||||
|
|
||||||
bind attach,index,pager \CD next-page
|
|
||||||
bind attach,index,pager \CU previous-page
|
|
||||||
bind pager g noop
|
|
||||||
bind pager gg top
|
|
||||||
bind pager G bottom
|
|
||||||
bind attach,index g noop
|
|
||||||
bind attach,index gg first-entry
|
|
||||||
bind attach,index G last-entry
|
|
||||||
|
|
||||||
bind index,pager \CP sidebar-prev
|
|
||||||
bind index,pager \CN sidebar-next
|
|
||||||
bind index,pager \CO sidebar-open
|
|
||||||
bind index,pager \CB sidebar-toggle-visible
|
|
@ -1,13 +0,0 @@
|
|||||||
# vim: filetype=muttrc
|
|
||||||
|
|
||||||
source ~/.config/neomutt/colors.muttrc
|
|
||||||
source ~/.config/neomutt/binds.muttrc
|
|
||||||
|
|
||||||
set sleep_time=0
|
|
||||||
set beep=no
|
|
||||||
set editor="nvim"
|
|
||||||
set sort=reverse-date
|
|
||||||
|
|
||||||
set sidebar_visible
|
|
||||||
set sidebar_format="%B%?F? [%F]?%* %?N?%N/?%S"
|
|
||||||
set mail_check_stats
|
|
@ -1,26 +0,0 @@
|
|||||||
# vim: filetype=muttrc
|
|
||||||
|
|
||||||
set from="dogeystamp@disroot.org"
|
|
||||||
set realname="dogeystamp"
|
|
||||||
|
|
||||||
set imap_user="dogeystamp"
|
|
||||||
set imap_pass="`keepassxc-cli show -s -a password \"$KEEPASSDB\" msg/disroot`"
|
|
||||||
|
|
||||||
set smtp_url="smtps://$ID_EMAIL_USER@disroot.org/"
|
|
||||||
set smtp_pass="$imap_pass"
|
|
||||||
set smtp_authenticators = 'login'
|
|
||||||
|
|
||||||
set folder="imaps://disroot.org/"
|
|
||||||
set spoolfile=+INBOX
|
|
||||||
set record="+Sent"
|
|
||||||
set postponed="+Drafts"
|
|
||||||
mailboxes =INBOX =Sent =Drafts =Junk =Trash
|
|
||||||
mailboxes "~/dox/mail/arc"
|
|
||||||
|
|
||||||
macro index gd "<change-folder>=Drafts<enter>" "Go to drafts"
|
|
||||||
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
|
|
||||||
macro index gS "<change-folder>=Sent<enter>" "Go to sent messages"
|
|
||||||
macro index gt "<change-folder>=Trash<enter>" "Go to trash"
|
|
||||||
macro index ga "<change-folder>~/dox/mail/arc<enter>" "Go to archive"
|
|
||||||
macro index,pager d "<save-message>=Trash<enter><enter>" "Trash"
|
|
||||||
macro index,pager y "<save-message>=~/dox/mail/arc<enter><enter>" "Archive"
|
|
@ -1,26 +0,0 @@
|
|||||||
# vim: filetype=muttrc
|
|
||||||
|
|
||||||
set from="$ID_EMAIL"
|
|
||||||
set realname="$ID_REALNAME"
|
|
||||||
|
|
||||||
set imap_user="$ID_EMAIL"
|
|
||||||
set imap_pass="`keepassxc-cli show -s -a neomutt \"$KEEPASSDB\" meta/gmail`"
|
|
||||||
|
|
||||||
set smtp_url="smtps://$ID_EMAIL_USER@smtp.gmail.com/"
|
|
||||||
set smtp_pass="$imap_pass"
|
|
||||||
set smtp_authenticators = 'login'
|
|
||||||
|
|
||||||
set folder="imaps://imap.gmail.com/"
|
|
||||||
set spoolfile=+INBOX
|
|
||||||
set record="+[Gmail]/Sent Mail"
|
|
||||||
set postponed="+[Gmail]/Drafts"
|
|
||||||
mailboxes =INBOX =[Gmail]/Sent\ Mail =[Gmail]/Starred =[Gmail]/Drafts =[Gmail]/Spam =[Gmail]/Trash
|
|
||||||
|
|
||||||
macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
|
|
||||||
macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
|
|
||||||
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
|
|
||||||
macro index gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
|
|
||||||
macro index gS "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to sent messages"
|
|
||||||
macro index gt "<change-folder>=[Gmail]/Trash<enter>" "Go to trash"
|
|
||||||
macro index,pager d "<save-message>=[Gmail]/Trash<enter><enter>" "Trash"
|
|
||||||
macro index,pager y "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive"
|
|
@ -1,2 +1,56 @@
|
|||||||
source ~/.config/neomutt/common.muttrc
|
source ~/.config/neomutt/colors.muttrc
|
||||||
source ~/.config/neomutt/gmail.muttrc
|
|
||||||
|
set folder = ~/dox/mail/disroot/
|
||||||
|
set spoolfile = "+Inbox"
|
||||||
|
set postponed = "+Drafts"
|
||||||
|
set record = "+Sent"
|
||||||
|
set trash = "+Trash"
|
||||||
|
set header_cache = ~/.cache/neomutt/headers
|
||||||
|
set message_cachedir = ~/.cache/neomutt/bodies
|
||||||
|
set certificate_file = /etc/ssl/certs/ca-certificates.crt
|
||||||
|
set tmpdir = .cache/neomutt/tmp
|
||||||
|
|
||||||
|
set wait_key = no
|
||||||
|
set mbox_type = Maildir
|
||||||
|
set use_from=yes
|
||||||
|
set ssl_starttls=yes
|
||||||
|
set ssl_force_tls=yes
|
||||||
|
|
||||||
|
set editor="nvim"
|
||||||
|
set rfc2047_parameters = yes
|
||||||
|
set sleep_time = 0 # Pause 0 seconds for informational messages
|
||||||
|
set markers = no # Disables the `+` displayed at line wraps
|
||||||
|
set mark_old = no # Unread mail stay unread until read
|
||||||
|
set mime_forward = yes # attachments are forwarded with mail
|
||||||
|
set wait_key = no # mutt won't ask "press key to continue"
|
||||||
|
set fast_reply # skip to compose when replying
|
||||||
|
set fcc_attach # save attachments with the body
|
||||||
|
set forward_format = "Fwd: %s" # format of subject when forwarding
|
||||||
|
set forward_quote # include message in forwards
|
||||||
|
set reverse_name # reply as whomever it was to
|
||||||
|
set include # include message in replies
|
||||||
|
|
||||||
|
set sidebar_visible = yes
|
||||||
|
set sidebar_width = 20
|
||||||
|
set sidebar_short_path = yes
|
||||||
|
set sidebar_next_new_wrap = yes
|
||||||
|
set mail_check_stats
|
||||||
|
set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
|
||||||
|
set charset = "utf-8"
|
||||||
|
|
||||||
|
mailboxes =Inbox
|
||||||
|
mailboxes =Archive =Sent =Drafts =Junk =Trash =../arc
|
||||||
|
|
||||||
|
set sendmail="/usr/bin/msmtp -a mail"
|
||||||
|
|
||||||
|
macro index O "<shell-escape>mbsync -c \"$XDG_CONFIG_HOME\"/isync/mbsyncrc disroot <enter>" "run offlineimap to sync all mail"
|
||||||
|
macro index,pager A "<save-message>=../arc<enter>" "Archive Message"
|
||||||
|
bind index,pager \CP sidebar-prev
|
||||||
|
# Ctrl-P – Previous Mailbox
|
||||||
|
bind index,pager \CN sidebar-next
|
||||||
|
# Ctrl-N – Next Mailbox
|
||||||
|
bind index,pager \CO sidebar-open
|
||||||
|
# Ctrl-O – Open Highlighted Mailbox
|
||||||
|
|
||||||
|
set realname = "dogeystamp"
|
||||||
|
set signature = ~/dox/sig
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
source ~/.config/neomutt/common.muttrc
|
|
||||||
source ~/.config/neomutt/disroot.muttrc
|
|
@ -1,3 +1,10 @@
|
|||||||
# Configuration for reading local mail on servers
|
# Configuration for reading local mail on servers
|
||||||
|
|
||||||
source ~/.config/neomutt/common.muttrc
|
source ~/.config/neomutt/colors.muttrc
|
||||||
|
|
||||||
|
set header_cache = ~/.cache/neomutt/headers
|
||||||
|
set message_cachedir = ~/.cache/neomutt/bodies
|
||||||
|
set certificate_file = /etc/ssl/certs/ca-certificates.crt
|
||||||
|
set tmpdir = .cache/neomutt/tmp
|
||||||
|
|
||||||
|
set editor="nvim"
|
||||||
|
@ -34,7 +34,7 @@ config.bind('td', 'config-cycle colors.webpage.darkmode.enabled true false;; res
|
|||||||
|
|
||||||
# General settings
|
# General settings
|
||||||
|
|
||||||
c.scrolling.smooth = True
|
c.scrolling.smooth = False
|
||||||
c.url.default_page = "~/.config/qutebrowser/homepage.html"
|
c.url.default_page = "~/.config/qutebrowser/homepage.html"
|
||||||
c.url.start_pages = "~/.config/qutebrowser/homepage.html"
|
c.url.start_pages = "~/.config/qutebrowser/homepage.html"
|
||||||
c.url.searchengines = {"DEFAULT":"https://search.disroot.org/search?q={}"}
|
c.url.searchengines = {"DEFAULT":"https://search.disroot.org/search?q={}"}
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# Sets up environment variables for things I don't want to expose in my dotfiles
|
|
||||||
|
|
||||||
if [ -z "$XDG_CONFIG_HOME" ]; then
|
|
||||||
XDG_CONFIG_HOME="$HOME"/.config
|
|
||||||
fi
|
|
||||||
|
|
||||||
IDFILE="$XDG_CONFIG_HOME"/identity
|
|
||||||
|
|
||||||
cat << "EOF" > "$IDFILE"
|
|
||||||
#!/bin/sh
|
|
||||||
# Environment variables for personal information
|
|
||||||
EOF
|
|
||||||
|
|
||||||
fields=$(mktemp)
|
|
||||||
cat << "EOF" > "$fields"
|
|
||||||
export ID_REALNAME=
|
|
||||||
export ID_EMAIL=
|
|
||||||
EOF
|
|
||||||
|
|
||||||
keepassxc-cli show "$KEEPASSDB" meta/identity -a realname -a email | paste -d '' "$fields" - >> "$IDFILE"
|
|
||||||
rm "$fields"
|
|
||||||
|
|
||||||
cat << "EOF" >> "$IDFILE"
|
|
||||||
export ID_EMAIL_USER=$(basename "$ID_EMAIL" @gmail.com)
|
|
||||||
EOF
|
|
@ -67,13 +67,14 @@ case "$ACTION" in
|
|||||||
|
|
||||||
exp ~/med/memes/woof/ "$ROOT/Pictures/memes/"
|
exp ~/med/memes/woof/ "$ROOT/Pictures/memes/"
|
||||||
exp ~/med/memes/bork/ "$ROOT/Pictures/memes2/"
|
exp ~/med/memes/bork/ "$ROOT/Pictures/memes2/"
|
||||||
|
exp ~/med/rw/sch/ "$ROOT/Pictures/rw/sch/"
|
||||||
|
exp ~/med/sticker/ "$ROOT/Pictures/sticker/"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
RECV)
|
RECV)
|
||||||
# Move files to the quarantine zone for categorisation and renaming
|
# Move files to the quarantine zone for categorisation and renaming
|
||||||
|
|
||||||
imp "$ROOT/Pictures/Infinity/" $DEST
|
imp "$ROOT/Pictures/Infinity/" $DEST
|
||||||
imp "$ROOT/Pictures/Tachiyomi/" $DEST/crop/
|
|
||||||
imp "$ROOT/Pictures/Screenshots/" $DEST
|
imp "$ROOT/Pictures/Screenshots/" $DEST
|
||||||
|
|
||||||
imp "$ROOT/Movies/Infinity/" $DEST
|
imp "$ROOT/Movies/Infinity/" $DEST
|
||||||
@ -83,6 +84,10 @@ case "$ACTION" in
|
|||||||
|
|
||||||
imp "$ROOT/Recordings/Sound records/" $DEST
|
imp "$ROOT/Recordings/Sound records/" $DEST
|
||||||
|
|
||||||
|
imp "$ROOT/Documents/dr" $DEST
|
||||||
|
|
||||||
|
imp "$ROOT/Documents/contacts.vcf" $DEST
|
||||||
|
imp "$ROOT/infbk/" $DEST
|
||||||
impf_cp "$ROOT/.SeedVaultAndroidBackup/" $DEST/seedvault/ &
|
impf_cp "$ROOT/.SeedVaultAndroidBackup/" $DEST/seedvault/ &
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Categorize files in the quarantine directory
|
# Categorize files in the quarantine directory
|
||||||
|
|
||||||
view() {
|
view() {
|
||||||
mpv --no-resume-playback "$1"
|
mpv --no-resume-playback $@
|
||||||
}
|
}
|
||||||
|
|
||||||
dirsel() {
|
dirsel() {
|
||||||
@ -33,7 +33,6 @@ confirm() {
|
|||||||
PREVDIR=""
|
PREVDIR=""
|
||||||
PREVNAME=""
|
PREVNAME=""
|
||||||
find ~/quar \
|
find ~/quar \
|
||||||
-maxdepth 1 \
|
|
||||||
-type f \
|
-type f \
|
||||||
-not -path '*/trash/*' \
|
-not -path '*/trash/*' \
|
||||||
\( \
|
\( \
|
||||||
@ -54,7 +53,6 @@ while read -r FILE; do
|
|||||||
PREVDIR=""
|
PREVDIR=""
|
||||||
PREVNAME=""
|
PREVNAME=""
|
||||||
while true; do
|
while true; do
|
||||||
clear
|
|
||||||
printf "\n\n%s\n" "$FILE"
|
printf "\n\n%s\n" "$FILE"
|
||||||
DESTPATH="$DIR"/"$NAME"."$EXT"
|
DESTPATH="$DIR"/"$NAME"."$EXT"
|
||||||
printf "send to: %s\n" "$DESTPATH"
|
printf "send to: %s\n" "$DESTPATH"
|
||||||
@ -74,10 +72,6 @@ while read -r FILE; do
|
|||||||
fi;;
|
fi;;
|
||||||
s ) break;;
|
s ) break;;
|
||||||
d ) mv "$FILE" ~/quar/trash/; break;;
|
d ) mv "$FILE" ~/quar/trash/; break;;
|
||||||
* )
|
|
||||||
printf "\nInvalid input! Press enter to continue\n";
|
|
||||||
read </dev/tty;
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
#!/bin/fish
|
|
||||||
|
|
||||||
# thing for running watson subcommands quickly
|
|
||||||
|
|
||||||
|
|
||||||
pyenv
|
|
||||||
|
|
||||||
prod.sh &
|
|
||||||
|
|
||||||
while true
|
|
||||||
read -S -p 'set_color green; echo -n watson; set_color normal; echo "> "' -c "watson " CMD
|
|
||||||
if test "$CMD" = "exit"
|
|
||||||
or test "$CMD" = "watson exit"
|
|
||||||
or test "$CMD" = "watson quit"
|
|
||||||
break
|
|
||||||
end
|
|
||||||
eval $CMD
|
|
||||||
end
|
|
||||||
|
|
||||||
kill %1
|
|
@ -51,10 +51,4 @@ export REALNAME="dogeystamp"
|
|||||||
export EMAIL="dogeystamp@disroot.org"
|
export EMAIL="dogeystamp@disroot.org"
|
||||||
export KEYID="A3A5FA72F8E5E54FBEE425057225FE3592EFFA38"
|
export KEYID="A3A5FA72F8E5E54FBEE425057225FE3592EFFA38"
|
||||||
|
|
||||||
export KEEPASSDB="$HOME"/dox/sec/pass.kdbx
|
|
||||||
# Identity (see ~/.local/bin/identity.sh)
|
|
||||||
if [ -r "$XDG_CONFIG_HOME"/identity ]; then
|
|
||||||
source "$XDG_CONFIG_HOME"/identity
|
|
||||||
fi
|
|
||||||
|
|
||||||
source .config/bashrc
|
source .config/bashrc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user