Switched from zsh to fish

Add neomutt config
Add mpd config
Update bspwm config
Update sxhkd config
Update qutebrowser config
Update tmux config
Update xinitrc
This commit is contained in:
Uttarayan Mondal
2021-04-13 01:29:14 +05:30
parent c83a41fad6
commit 943cf49146
35 changed files with 749 additions and 42 deletions

2
config/neomutt/aliases Normal file
View File

@@ -0,0 +1,2 @@
alias disroot Uttarayan Mondal <uttarayan21@disroot.org>
alias gmail Uttarayan Mondal <uttarayan21@gmail.com>

View File

@@ -0,0 +1,22 @@
unmailboxes *
set imap_user = uttarayan21@disroot.org
#set folder = imaps://"$imap_user"/
set folder = ~/Mail/disroot
set spoolfile = +INBOX
set postponed = +Drafts
set mbox = +Archive
set record = +Sent
set crypt_autosign = yes
set realname = "Uttarayan Mondal"
set from = "uttarayan21@disroot.org"
set signature = "~/.config/neomutt/signature"
set smtp_pass = "`pass user.disroot.org/uttarayan21`"
set smtp_url = "smtp://$imap_user:587"
set ssl_starttls
mailboxes =INBOX =Drafts =Sent =Trash =Archive =Junk
# account-hook $folder "set imap_user=uttarayan21@disroot.org"
color status green default

View File

@@ -0,0 +1,25 @@
unmailboxes *
# Read password
unset my_pass
set my_pass = "`pass Email/neomutt`"
set crypt_autosign = yes
# Sending mail
set smtp_url = "smtp://uttarayan21@smtp.gmail.com:587"
set smtp_pass = $my_pass
# Creds
set from = "uttarayan21@gmail.com"
set signature = "~/.config/neomutt/signature"
# mailbox
set mbox_type = Maildir
set folder = ~/Mail/gmail
set spoolfile = +Inbox
set postponed = +Drafts
set record = ""
mailboxes =Inbox =Trash =Drafts =Sent =Spam
color status yellow default

2
config/neomutt/mailcap Normal file
View File

@@ -0,0 +1,2 @@
# text/html; lynx -dump %s ; copiousoutput; nametemplate=%s.html
text/html; w3m -I %{charset} -T text/html ; copiousoutput; nametemplate=%s.html

53
config/neomutt/neomuttrc Normal file
View File

@@ -0,0 +1,53 @@
# Disroot
source ~/.config/neomutt/disroot/uttarayan21
folder-hook 'disroot' 'source ~/.config/neomutt/disroot/uttarayan21'
# Gmail
source ~/.config/neomutt/gmail/uttarayan21
folder-hook 'gmail' 'source ~/.config/neomutt/gmail/uttarayan21'
# Macros for switching accounts
macro index <f2> '<sync-mailbox><refresh><enter-command>source ~/.config/neomutt/gmail/uttarayan21<enter><change-folder>!<enter>'
macro index <f3> '<sync-mailbox><refresh><enter-command>source ~/.config/neomutt/disroot/uttarayan21<enter><change-folder>!<enter>'
# Sign with gpgme
set crypt_use_gpgme=yes
set postpone_encrypt = yes
set pgp_self_encrypt = yes
set crypt_use_pka = no
set crypt_autoencrypt = no
set crypt_autopgp = yes
set crypt_autosign = yes
set crypt_verify_sig = yes
set pgp_sign_as=0xAAB106209B043AD6
# Sidebar
set sidebar_visible
# set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
set sidebar_format = "%D%* [%N]%*"
set mail_check_stats
# Activate caching, as it can greatly improve speed
set header_cache = "~/.cache/neomutt/headers"
set message_cachedir = "~/.cache/neomutt/bodies"
# Disable saving outgoing mail since Gmail saves them by default.
# set record = ""
# set editor
set editor = "nvim"
# Sort by threads
set sort = threads
# Sort threads by last date recieved - newest first
set sort_aux = reverse-last-date-received
# Show date in year/month/day hour:minute format
set date_format="%d/%m/%y %I:%M%p"
# mailcap and auto_view
set mailcap_path = "~/.config/neomutt/mailcap"
auto_view text/html
set alias_file = "~/.config/neomutt/aliases"
source ~/.config/neomutt/vimkeys.muttrc
source ~/.config/neomutt/dracula/dracula.muttrc

1
config/neomutt/signature Normal file
View File

@@ -0,0 +1 @@
Uttarayan Mondal

View File

@@ -0,0 +1,42 @@
#------------------------------------------------------------
# Vi Key Bindings
#------------------------------------------------------------
# Moving around
bind attach,browser,index g noop
bind attach,browser,index gg first-entry
bind attach,browser,index G last-entry
bind pager g noop
bind pager gg top
bind pager G bottom
bind pager k previous-line
bind pager j next-line
# Scrolling
# bind attach,browser,pager,index \CF next-page
# bind attach,browser,pager,index \CB previous-page
bind attach,browser,pager,index \Cu half-up
bind attach,browser,pager,index \Cd half-down
bind browser,pager \Ce next-line
bind browser,pager \Cy previous-line
bind index \Ce next-line
bind index \Cy previous-line
bind pager,index d noop
bind pager,index dd delete-message
macro pager,index \Cb | urlview\n
# Mail & Reply
# bind index \Cm list-reply # Doesn't work currently
# Threads
bind browser,pager,index N search-opposite
bind pager,index dT delete-thread
bind pager,index dt delete-subthread
bind pager,index gt next-thread
bind pager,index gT previous-thread
bind index za collapse-thread
bind index zA collapse-all # Missing :folddisable/foldenable