new file: .mutt/mailcap
new file: .muttrc deleted: .xinitrc new file: .xprofile
This commit is contained in:
4
.mutt/mailcap
Normal file
4
.mutt/mailcap
Normal file
@@ -0,0 +1,4 @@
|
||||
text/html; w3m -I %{charset} -T text/html; copiousoutput;
|
||||
image/jpeg; sxiv %s
|
||||
image/png; sxiv %s
|
||||
application/pdf; mupdf %s
|
||||
82
.muttrc
Normal file
82
.muttrc
Normal file
@@ -0,0 +1,82 @@
|
||||
# connection options
|
||||
set ssl_force_tls = yes
|
||||
set ssl_starttls = yes
|
||||
|
||||
# username and password
|
||||
source "gpg -q -d ~/.mutt/passwords.asc |"
|
||||
set imap_user = username@gmail.com
|
||||
set smtp_url = smtp://username@smtp.gmail.com:587
|
||||
|
||||
# setup from details
|
||||
set from = username@gmail.com
|
||||
set realname = "Real Name"
|
||||
|
||||
# setup cahce directories
|
||||
set certificate_file = ~/.mutt/certificates
|
||||
set header_cache = ~/.mutt/cache/headers
|
||||
set message_cachedir = ~/.mutt/cache/bodies
|
||||
set tmpdir = ~/.mutt/tmp
|
||||
|
||||
# keep IMAP settings
|
||||
set imap_keepalive = 300
|
||||
set imap_passive = no
|
||||
set imap_check_subscribed = yes
|
||||
|
||||
# how often to check for new mail (time in seconds)
|
||||
set mail_check = 60
|
||||
|
||||
# remote gmail folders
|
||||
set folder = imaps://imap.gmail.com:993
|
||||
set spoolfile = +INBOX
|
||||
set postponed = +[Gmail]/Drafts
|
||||
|
||||
# set sort options
|
||||
set sort = threads
|
||||
set sort_aux = reverse-last-date-received
|
||||
|
||||
# setup helpers
|
||||
set mailcap_path = ~/.mutt/mailcap
|
||||
|
||||
# google address book support
|
||||
set query_command = "goobook query '%s'"
|
||||
bind editor "\t" complete-query
|
||||
|
||||
# view html emails
|
||||
auto_view text/html
|
||||
|
||||
# index_format
|
||||
set index_format="%3C %Z %[%b %d %H:%M] - %-22.22L %s"
|
||||
|
||||
# Header Options -------------------------------------
|
||||
ignore * # ignore all headers
|
||||
unignore from: to: cc: date: subject: # show only these
|
||||
unhdr_order * # some distros order things by default
|
||||
hdr_order from: to: cc: date: subject: # and in this order
|
||||
|
||||
# set editor
|
||||
set editor='vim'
|
||||
|
||||
# Refresh/Sync
|
||||
bind index U imap-fetch-mail
|
||||
|
||||
# Set colors to use
|
||||
color hdrdefault blue black
|
||||
color quoted blue black
|
||||
color signature blue black
|
||||
color attachment green black
|
||||
color message brightred black
|
||||
color error brightred black
|
||||
color indicator black white
|
||||
color status brightgreen blue
|
||||
color tree white black
|
||||
color normal white black
|
||||
color markers red black
|
||||
color search white black
|
||||
color tilde brightmagenta black
|
||||
color index color33 black ~F
|
||||
color index color111 black "~N|~O"
|
||||
|
||||
# message headers
|
||||
color hdrdefault white black
|
||||
color header white black "^(From)"
|
||||
color header color111 black "^(Subject)"
|
||||
28
.xinitrc
28
.xinitrc
@@ -1,28 +0,0 @@
|
||||
# Executed by startx (run your window manager from here)
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/*; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
# Merge custom X resources
|
||||
xrdb -merge ~/.Xresources
|
||||
|
||||
# Disable monitor blanking
|
||||
xset s off -dpms &
|
||||
|
||||
# Hide mouse when idle
|
||||
unclutter &
|
||||
|
||||
# Run urxvt daemon
|
||||
urxvtd -q -o -f
|
||||
|
||||
# Run mpd
|
||||
mpd
|
||||
|
||||
# Restore wallpaper
|
||||
nitrogen --restore
|
||||
|
||||
# Window manager
|
||||
exec bspwm
|
||||
33
.xprofile
Normal file
33
.xprofile
Normal file
@@ -0,0 +1,33 @@
|
||||
# Executed by startx
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/*; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
# Start the gpg-agent if not already running
|
||||
if ! pgrep -x -u "${USER}" gpg-agent &> /dev/null; then
|
||||
eval $(gpg-agent --homedir "${HOME}/.gnupg" --daemon)
|
||||
fi
|
||||
|
||||
# Merge custom X resources
|
||||
xrdb -merge ~/.Xresources
|
||||
|
||||
# Disable monitor blanking
|
||||
xset s off -dpms
|
||||
|
||||
# Set cursor to expected left-pointer
|
||||
xsetroot -cursor_name left_ptr
|
||||
|
||||
# Lock screen after 5 minutes
|
||||
#xautolock -locker lock -time 10 &
|
||||
|
||||
# Restore wallpaper
|
||||
nitrogen --restore
|
||||
|
||||
# Hide mouse when idle
|
||||
unclutter &
|
||||
|
||||
# Run urxvt daemon
|
||||
urxvtd -q -o -f
|
||||
Reference in New Issue
Block a user