summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/mbsync/mbsyncrc188
-rw-r--r--.config/msmtp/config47
-rw-r--r--.config/mutt/accounts/1-gmx_rbo.muttrc44
-rw-r--r--.config/mutt/accounts/4-gmail_br.muttrc (renamed from .config/mutt/accounts/1-gmail_br.muttrc)0
-rw-r--r--.config/mutt/accounts/5-gmail_oon.muttrc (renamed from .config/mutt/accounts/2-gmail_oon.muttrc)0
-rw-r--r--.config/mutt/accounts/6-gmail_tos.muttrc (renamed from .config/mutt/accounts/3-gmail_tos.muttrc)0
-rw-r--r--.config/mutt/defaults.muttrc54
-rw-r--r--.config/mutt/muttrc22
-rwxr-xr-x.local/bin/cast/recscreen8
-rwxr-xr-x.local/bin/fetch_mail.sh4
10 files changed, 220 insertions, 147 deletions
diff --git a/.config/mbsync/mbsyncrc b/.config/mbsync/mbsyncrc
index 6139856..cd1f02e 100644
--- a/.config/mbsync/mbsyncrc
+++ b/.config/mbsync/mbsyncrc
@@ -1,13 +1,39 @@
# vim filetype=conf
-IMAPStore main-remote
-Host 127.0.0.1
-Port 1143
-User rrbo@proton.me
-PassCmd "pass show mutt/main"
-# AuthMechs LOGIN
-SSLType None
+
+#IMAPStore main-remote
+#Host 127.0.0.1
+#Port 1143
+#User rrbo@proton.me
+#PassCmd "pass show mutt/main"
+## AuthMechs LOGIN
+#SSLType None
# CertificateFile /etc/ssl/cert.pem
+IMAPStore gmx_rbo-remote
+Host imap.gmx.com
+Port 993
+User rbo@gmx.us
+PassCmd "pass show mutt/gmx_rbo"
+AuthMechs LOGIN
+SSLType IMAPS
+CertificateFile /etc/ssl/cert.pem
+
+MaildirStore gmx_rbo-local
+SubFolders Verbatim
+Path /var/mail/jozan/gmx_rbo/
+Inbox /var/mail/jozan/gmx_rbo/INBOX
+
+Channel gmx_rbo
+Expunge Both
+Far :gmx_rbo-remote:
+Near :gmx_rbo-local:
+Patterns *
+Create Both
+SyncState *
+MaxMessages 0
+ExpireUnread no
+# End profile
+
IMAPStore gmail_br-remote
Host imap.gmail.com
Port 993
@@ -83,77 +109,77 @@ MaxMessages 0
ExpireUnread no
# End profile
-IMAPStore ss_perso-remote
-Host next.optimails.com
-Port 993
-User rbousset@secuserve.com
-PassCmd "pass show mutt/ss_perso"
-AuthMechs LOGIN
-SSLType IMAPS
-CertificateFile /etc/ssl/cert.pem
-
-MaildirStore ss_perso-local
-SubFolders Verbatim
-Path /var/mail/jozan/ss_perso/
-Inbox /var/mail/jozan/ss_perso/INBOX
-
-Channel ss_perso
-Expunge Both
-Far :ss_perso-remote:
-Near :ss_perso-local:
-Patterns *
-Create Both
-SyncState *
-MaxMessages 0
-ExpireUnread no
-# End profile
-
-IMAPStore ss_exploit-remote
-Host next.optimails.com
-Port 993
-User exploitation@secuserve.com
-PassCmd "pass show mutt/ss_exploit"
-AuthMechs LOGIN
-SSLType IMAPS
-CertificateFile /etc/ssl/cert.pem
-
-MaildirStore ss_exploit-local
-SubFolders Verbatim
-Path /var/mail/jozan/ss_exploit/
-Inbox /var/mail/jozan/ss_exploit/INBOX
-
-Channel ss_exploit
-Expunge Both
-Far :ss_exploit-remote:
-Near :ss_exploit-local:
-Patterns *
-Create Both
-SyncState *
-MaxMessages 0
-ExpireUnread no
-# End profile
-
-IMAPStore ss_support-remote
-Host next.optimails.com
-Port 993
-User support@secuserve.com
-PassCmd "pass show mutt/ss_support"
-AuthMechs LOGIN
-SSLType IMAPS
-CertificateFile /etc/ssl/cert.pem
-
-MaildirStore ss_support-local
-SubFolders Verbatim
-Path /var/mail/jozan/ss_support/
-Inbox /var/mail/jozan/ss_support/INBOX
-
-Channel ss_support
-Expunge Both
-Far :ss_support-remote:
-Near :ss_support-local:
-Patterns *
-Create Both
-SyncState *
-MaxMessages 0
-ExpireUnread no
-# End profile
+# IMAPStore ss_perso-remote
+# Host next.optimails.com
+# Port 993
+# User rbousset@secuserve.com
+# PassCmd "pass show mutt/ss_perso"
+# AuthMechs LOGIN
+# SSLType IMAPS
+# CertificateFile /etc/ssl/cert.pem
+#
+# MaildirStore ss_perso-local
+# SubFolders Verbatim
+# Path /var/mail/jozan/ss_perso/
+# Inbox /var/mail/jozan/ss_perso/INBOX
+#
+# Channel ss_perso
+# Expunge Both
+# Far :ss_perso-remote:
+# Near :ss_perso-local:
+# Patterns *
+# Create Both
+# SyncState *
+# MaxMessages 0
+# ExpireUnread no
+# # End profile
+#
+# IMAPStore ss_exploit-remote
+# Host next.optimails.com
+# Port 993
+# User exploitation@secuserve.com
+# PassCmd "pass show mutt/ss_exploit"
+# AuthMechs LOGIN
+# SSLType IMAPS
+# CertificateFile /etc/ssl/cert.pem
+#
+# MaildirStore ss_exploit-local
+# SubFolders Verbatim
+# Path /var/mail/jozan/ss_exploit/
+# Inbox /var/mail/jozan/ss_exploit/INBOX
+#
+# Channel ss_exploit
+# Expunge Both
+# Far :ss_exploit-remote:
+# Near :ss_exploit-local:
+# Patterns *
+# Create Both
+# SyncState *
+# MaxMessages 0
+# ExpireUnread no
+# # End profile
+#
+# IMAPStore ss_support-remote
+# Host next.optimails.com
+# Port 993
+# User support@secuserve.com
+# PassCmd "pass show mutt/ss_support"
+# AuthMechs LOGIN
+# SSLType IMAPS
+# CertificateFile /etc/ssl/cert.pem
+#
+# MaildirStore ss_support-local
+# SubFolders Verbatim
+# Path /var/mail/jozan/ss_support/
+# Inbox /var/mail/jozan/ss_support/INBOX
+#
+# Channel ss_support
+# Expunge Both
+# Far :ss_support-remote:
+# Near :ss_support-local:
+# Patterns *
+# Create Both
+# SyncState *
+# MaxMessages 0
+# ExpireUnread no
+# # End profile
diff --git a/.config/msmtp/config b/.config/msmtp/config
index 535b027..d0b539a 100644
--- a/.config/msmtp/config
+++ b/.config/msmtp/config
@@ -4,6 +4,13 @@ tls on
tls_trust_file /etc/ssl/cert.pem
logfile /home/jozan/.config/msmtp/msmtp.log
+account gmx_rbo
+ host mail.gmx.com
+ port 587
+ from Rudy Bousset
+ user rbo@gmx.us
+ passwordeval "pass show mutt/gmx_rbo"
+
account gmail_br
host smtp.gmail.com
port 587
@@ -25,23 +32,23 @@ account gmail_tos
user towerofsilence777@gmail.com
passwordeval "pass show mutt/gmail_tos"
-account ss_perso
- host next.optimails.com
- port 587
- from rbousset@secuserve.com
- user rbousset@secuserve.com
- passwordeval "pass show mutt/ss_perso"
-
-account ss_exploit
- host next.optimails.com
- port 587
- from Team Exploitation SecuServe
- user exploitation@secuserve.com
- passwordeval "pass show mutt/ss_exploit"
-
-account ss_support
- host next.optimails.com
- port 587
- from support@secuserve.com
- user support@secuserve.com
- passwordeval "pass show mutt/ss_support"
+# account ss_perso
+# host next.optimails.com
+# port 587
+# from rbousset@secuserve.com
+# user rbousset@secuserve.com
+# passwordeval "pass show mutt/ss_perso"
+#
+# account ss_exploit
+# host next.optimails.com
+# port 587
+# from Team Exploitation SecuServe
+# user exploitation@secuserve.com
+# passwordeval "pass show mutt/ss_exploit"
+#
+# account ss_support
+# host next.optimails.com
+# port 587
+# from support@secuserve.com
+# user support@secuserve.com
+# passwordeval "pass show mutt/ss_support"
diff --git a/.config/mutt/accounts/1-gmx_rbo.muttrc b/.config/mutt/accounts/1-gmx_rbo.muttrc
new file mode 100644
index 0000000..4c260a5
--- /dev/null
+++ b/.config/mutt/accounts/1-gmx_rbo.muttrc
@@ -0,0 +1,44 @@
+# vim: filetype=neomuttrc
+# muttrc file for account bousset.rudy@gmail.com
+set realname = "Rudy Bousset"
+set from = "rbo@gmx.us"
+set sendmail = "msmtp -a gmx_rbo"
+alias me Rudy Bousset <rbo@gmx.us>
+set folder = "$MAIL/gmx_rbo"
+set header_cache = $XDG_RUNTIME_DIR/mutt/gmx_rbo/headers
+set message_cachedir = $XDG_RUNTIME_DIR/mutt/gmx_rbo/bodies
+set mbox_type = Maildir
+set crypt_autosign = yes
+set signature = $XDG_CONFIG_HOME/mutt/sig/1-gmx_rbo
+
+bind index,pager gg noop
+bind index,pager g noop
+bind index,pager M noop
+bind index,pager C noop
+bind index gg first-entry
+bind pager gg top
+bind pager G bottom
+macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc gmx_rbo<enter>" "run mbsync to sync rbo@gmx.us"
+unmailboxes *
+
+mailboxes "=INBOX" "=Sent" "=Drafts" "=Spam" "=Trash" "=Keep"
+
+macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
+macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
+macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
+set spoolfile = "+INBOX"
+macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
+macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
+macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
+set record = ""
+macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
+macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
+macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
+set postponed = "+Drafts"
+macro index,pager gS "<change-folder>=Spam<enter>" "go to spam"
+macro index,pager MS ";<save-message>=Spam<enter>" "move mail to spam"
+macro index,pager CS ";<copy-message>=Spam<enter>" "copy mail to spam"
+macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
+macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
+macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
+set trash = "+Trash"
diff --git a/.config/mutt/accounts/1-gmail_br.muttrc b/.config/mutt/accounts/4-gmail_br.muttrc
index ac92a3c..ac92a3c 100644
--- a/.config/mutt/accounts/1-gmail_br.muttrc
+++ b/.config/mutt/accounts/4-gmail_br.muttrc
diff --git a/.config/mutt/accounts/2-gmail_oon.muttrc b/.config/mutt/accounts/5-gmail_oon.muttrc
index 09e1b14..09e1b14 100644
--- a/.config/mutt/accounts/2-gmail_oon.muttrc
+++ b/.config/mutt/accounts/5-gmail_oon.muttrc
diff --git a/.config/mutt/accounts/3-gmail_tos.muttrc b/.config/mutt/accounts/6-gmail_tos.muttrc
index 55bb1a1..55bb1a1 100644
--- a/.config/mutt/accounts/3-gmail_tos.muttrc
+++ b/.config/mutt/accounts/6-gmail_tos.muttrc
diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc
index 52f8408..ebc1cb7 100644
--- a/.config/mutt/defaults.muttrc
+++ b/.config/mutt/defaults.muttrc
@@ -3,7 +3,7 @@
# mutt will have this file sourced from your muttrc.
# In the interest of seamless updating, do not edit this file.
# If you want to override any settings, set those in your muttrc.
-set editor = "emacsclient -nw -a nvim"
+set editor = "nvim"
set mailcap_path = $XDG_CONFIG_HOME/mutt/mailcap
set date_format="%d/%m/%y %H:%M"
set index_format="%?X?A& ? %D %-24.24F %s (%c)"
@@ -114,37 +114,37 @@ macro compose Y "<first-entry>\
# colorscheme
# color normal default default
-# color indicator brightyellow red
-# color tree default default
-# color status brightgreen blue
+# color indicator brightyellow red
+# color tree default default
+# color status brightgreen blue
# color error brightred default
# color message red default
# color signature red default
# color attachment yellow default
-# color search brightyellow red
+# color search brightyellow red
# color tilde brightmagenta default
# color markers red default
# color hdrdefault cyan default
-# color bold green black
-# color underline yellow black
-#
-# color index_flags black white ~D
-# color index_flags green default ~g
-# color index_flags brightgreen default ~G
+# color bold green black
+# color underline yellow black
+#
+# color index_flags black white ~D
+# color index_flags green default ~g
+# color index_flags brightgreen default ~G
# color index_flags yellow default ~N
-#
+#
# color index_author blue brightred ~F
# color index_author black green '%f Bekannte'
# color index_author black red '%f Work'
-#
+#
# color index_number green default
-# color index_date cyan default
+# color index_date cyan default
# color index_size cyan default
-#
+#
# color header brightcyan default '^From:'
# color header brightcyan default '^Subject:'
# color header black brightgreen '^User-Agent:.*Mutt'
-#
+#
# color body brightwhite default "([0-2][0-9]|[0-9]|[1-2][0-9]):[0-5][0-9](:[0-5][0-9])?"
# color body brightwhite default "([0-3])?[0-9]\\.([0-1])?[0-9]\\.([1-2][0-9])?[0-9][0-9]"
# color body brightgreen default "(^| )_[[:print:]]+_[ \n]"
@@ -155,17 +155,17 @@ macro compose Y "<first-entry>\
# color body default blue "^===+$"
# color body default blue "^---+$"
# color body brightdefault blue "^#+[[:print:]]+$"
-#
-# color quoted magenta default
-# color quoted1 red default
-# color quoted2 green default
-# color quoted3 magenta default
-# color quoted4 blue default
-# color quoted5 cyan default
-# color quoted6 green default
-# color quoted7 red default
-# color quoted8 magenta default
-# color quoted9 blue default
+#
+# color quoted magenta default
+# color quoted1 red default
+# color quoted2 green default
+# color quoted3 magenta default
+# color quoted4 blue default
+# color quoted5 cyan default
+# color quoted6 green default
+# color quoted7 red default
+# color quoted8 magenta default
+# color quoted9 blue default
# Default index colors:
color index white default '.*'
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
index e3d7221..7877696 100644
--- a/.config/mutt/muttrc
+++ b/.config/mutt/muttrc
@@ -1,15 +1,11 @@
# vim: filetype=neomuttrc
source $XDG_CONFIG_HOME/mutt/defaults.muttrc
-source $XDG_CONFIG_HOME/mutt/accounts/1-gmail_br.muttrc
-macro index,pager <f1> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
-macro index,pager 1 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
-macro index,pager <f2> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
-macro index,pager 2 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
-macro index,pager <f3> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/3-gmail_tos.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to towerofsilence777@gmail.com"
-macro index,pager 3 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/3-gmail_tos.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to towerofsilence777@gmail.com"
-macro index,pager <f4> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-ss_perso.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbousset@secuserve.com"
-macro index,pager 4 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-ss_perso.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbousset@secuserve.com"
-macro index,pager <f5> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/5-ss_exploit.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to exploitation@secuserve.com"
-macro index,pager 5 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/5-ss_exploit.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to exploitation@secuserve.com"
-macro index,pager <f6> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/6-ss_support.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to support@secuserve.com"
-macro index,pager 6 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/6-ss_support.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to support@secuserve.com"
+source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc
+macro index,pager <f1> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager 1 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager <f4> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager 4 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager <f5> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/5-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
+macro index,pager 5 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/5-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
+macro index,pager <f6> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/6-gmail_tos.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to towerofsilence777@gmail.com"
+macro index,pager 6 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/6-gmail_tos.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to towerofsilence777@gmail.com"
diff --git a/.local/bin/cast/recscreen b/.local/bin/cast/recscreen
index d5079eb..497c6bf 100755
--- a/.local/bin/cast/recscreen
+++ b/.local/bin/cast/recscreen
@@ -1,9 +1,9 @@
#!/usr/local/bin/dash
ffmpeg -y \
- -f x11grab -video_size 1920x1080 -framerate 24 -i $DISPLAY \
- -f pulse -ac 2 -ar 44100 -i oss_input.dsp0 \
- -f pulse -ac 2 -ar 44100 -i oss_output.dsp0.monitor \
+ -f x11grab -video_size 1680x1050 -framerate 24 -i $DISPLAY \
+ -f pulse -ac 2 -ar 44100 -i oss_input.dsp5 \
+ -f pulse -ac 2 -ar 44100 -i oss_output.dsp5.monitor \
-filter_complex '
anlmdn=s=1,
highpass=f=140, lowpass=f=16000,
@@ -18,5 +18,5 @@ ffmpeg -y \
-acodec aac -b:a 320k -ar 44100 -ac 2 \
-pix_fmt yuv420p \
screen_$(date "+%Y-%m-%d_%Hh%M").mkv
-
+
# vim: filetype=sh
diff --git a/.local/bin/fetch_mail.sh b/.local/bin/fetch_mail.sh
index c342215..ed3da4a 100755
--- a/.local/bin/fetch_mail.sh
+++ b/.local/bin/fetch_mail.sh
@@ -4,8 +4,8 @@ set -f
set +f
set -m
-export GNUPGHOME=/home/jozan/.local/share/gnupg
-export PASSWORD_STORE_DIR=/home/jozan/.local/share/pass
+export GNUPGHOME=$HOME/.local/share/gnupg
+export PASSWORD_STORE_DIR=$HOME/.local/share/pass
mc_file="/tmp/newmailcount"
if [ -f $mc_file ]; then