Mutt: improved speed when changing folders.
Xinitrc: removed GPG-Agent from startup.master
parent
933466d234
commit
3677d07a89
|
@ -305,7 +305,7 @@ globalkeys = awful.util.table.join(
|
|||
awful.key({ modkey, "Shift" }, "a", function () awful.util.spawn("cmus-remote -n") end),
|
||||
awful.key({ modkey, "Control" }, "a", function () awful.util.spawn("cmus-remote -r") end),
|
||||
|
||||
awful.key({}, "Print", function () awful.util.spawn("scrot '%Y-%m-%d-%H%M%S_$wx$h.png' -e 'mkdir -p ~/shots && mv $f ~/shots/'") end),
|
||||
awful.key({}, "Print", function () awful.util.spawn("scrot '%Y-%m-%d-%H%M%S_$wx$h.png' -e 'mkdir -p ~/shots && mv $f ~/temp/'") end),
|
||||
|
||||
awful.key({ modkey, }, "w", function () awful.util.spawn(webbrowser) end),
|
||||
awful.key({ modkey, }, "t", function () awful.util.spawn(mailclient) end),
|
||||
|
@ -480,6 +480,12 @@ awful.rules.rules = {
|
|||
{ rule = { class = "Thunderbird" },
|
||||
properties = { tag = tags[1][7] } },
|
||||
|
||||
{ rule = { instance = "plugin-container" },
|
||||
properties = { floating = true } },
|
||||
|
||||
{ rule = { instance = "exe" },
|
||||
properties = { floating = true } },
|
||||
|
||||
-- TODO: does not work.
|
||||
{ rule = { name = "cmus"},
|
||||
properties = { tag = tags[1][6] } },
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
|
||||
pinentry-program /usr/bin/pinentry-curses
|
||||
# no-grab
|
||||
# default-cache-ttl 1800
|
||||
default-cache-ttl 1
|
||||
|
|
84
.muttrc
84
.muttrc
|
@ -23,6 +23,32 @@ set mailcap_path = ~/.mutt.d/mailcap
|
|||
auto_view text/html
|
||||
alternative_order text/plain text/html
|
||||
|
||||
## Store message headers locally to speed things up.
|
||||
## Gentoo wiki says that if a folder is specified, it is even faster.
|
||||
## If no folder exists, the cache will be a single file.
|
||||
set header_cache = "~/.mutt.d/hcache"
|
||||
|
||||
## Allow mutt to open new imap connection automatically.
|
||||
unset imap_passive
|
||||
|
||||
## Keep imap connection alive by polling intermittently (time in seconds).
|
||||
set imap_keepalive = 300
|
||||
|
||||
## How often to check for new mail (time in seconds).
|
||||
set mail_check = 120
|
||||
|
||||
## Remove delay between mailbox switches.
|
||||
set sleep_time=0
|
||||
|
||||
## Beep on new incoming mails.
|
||||
set beep_new = "yes"
|
||||
|
||||
## Mailbox type.
|
||||
set mbox_type=Maildir
|
||||
|
||||
## Headers are editable in editor.
|
||||
set edit_headers=yes
|
||||
|
||||
##-------------------------------------------------------------------------------
|
||||
## Multiple accounts
|
||||
##-------------------------------------------------------------------------------
|
||||
|
@ -31,61 +57,38 @@ set my_ac_personal=personal
|
|||
set my_ac_work=work
|
||||
set my_ac_university=university
|
||||
|
||||
## Login
|
||||
source "~/.mutt/credentials"
|
||||
|
||||
## Accounts list
|
||||
folder-hook '$my_ac_personal' 'source ~/.mutt/$my_ac_personal'
|
||||
folder-hook '$my_ac_work' 'source ~/.mutt/$my_ac_work'
|
||||
folder-hook '$my_ac_university' 'source ~/.mutt/$my_ac_university'
|
||||
|
||||
## Switch to default account on startup
|
||||
#source ~/.mutt/$my_ac_personal
|
||||
#source ~/.mutt/$my_ac_work
|
||||
source ~/.mutt/$my_ac_university
|
||||
#source "~/.mutt/$my_ac_personal"
|
||||
#source "~/.mutt/$my_ac_work"
|
||||
source "~/.mutt/$my_ac_university"
|
||||
|
||||
## Keys
|
||||
macro index <f2> '<sync-mailbox><enter-command>source ~/.mutt/$my_ac_personal<enter><change-folder>!<enter>'
|
||||
macro index <f3> '<sync-mailbox><enter-command>source ~/.mutt/$my_ac_work<enter><change-folder>!<enter>'
|
||||
macro index <f4> '<sync-mailbox><enter-command>source ~/.mutt/$my_ac_university<enter><change-folder>!<enter>'
|
||||
|
||||
##------------------------------------------------------------------------------
|
||||
## Receiving options
|
||||
## Aliases
|
||||
##------------------------------------------------------------------------------
|
||||
|
||||
# Store message headers locally to speed things up.
|
||||
# Gentoo wiki says that if a folder is specified, it is even faster.
|
||||
# If no folder exists, the cache will be a single file.
|
||||
set header_cache = ~/.mutt.d/hcache
|
||||
|
||||
# Allow mutt to open new imap connection automatically.
|
||||
unset imap_passive
|
||||
|
||||
# Keep imap connection alive by polling intermittently (time in seconds).
|
||||
set imap_keepalive = 300
|
||||
|
||||
# How often to check for new mail (time in seconds).
|
||||
set mail_check = 120
|
||||
|
||||
# Beep on new incoming mails.
|
||||
set beep_new = "yes"
|
||||
|
||||
##------------------------------------------------------------------------------
|
||||
## Sending options
|
||||
##------------------------------------------------------------------------------
|
||||
|
||||
set mbox_type=Maildir
|
||||
set edit_headers=yes
|
||||
|
||||
##------------------------------------------------------------------------------
|
||||
## Aliasses
|
||||
##------------------------------------------------------------------------------
|
||||
|
||||
set alias_file= ~/.mutt/aliases
|
||||
set sort_alias= alias
|
||||
set reverse_alias=yes
|
||||
set alias_file = "~/.mutt/aliases"
|
||||
set sort_alias = alias
|
||||
set reverse_alias = yes
|
||||
source $alias_file
|
||||
|
||||
##------------------------------------------------------------------------------
|
||||
## Keys
|
||||
##------------------------------------------------------------------------------
|
||||
|
||||
# Manual fetch.
|
||||
## Manual fetch.
|
||||
bind index "^" imap-fetch-mail
|
||||
|
||||
## Fix the BackSpace bug that happens on some terminals.
|
||||
|
@ -115,7 +118,6 @@ my_hdr X-Info: Simplicity is the ultimate sophistication.
|
|||
|
||||
## OS Info.
|
||||
# my_hdr X-Operating-System: `uname -s`, kernel `uname -r`
|
||||
# my_hdr X-Operating-System: Neidy\'s OS
|
||||
|
||||
## This header only appears to MS Outlook users
|
||||
#my_hdr X-Message-Flag: WARNING!! Outlook sucks!
|
||||
|
@ -138,7 +140,7 @@ set user_agent = yes
|
|||
set date_format="%y-%m-%d %T"
|
||||
set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s"
|
||||
|
||||
#source /usr/share/doc/mutt/samples/colors.default
|
||||
#source /usr/share/doc/mutt/samples/colors.linux
|
||||
|
||||
source ~/.mutt.d/colors.nongeek
|
||||
## Colors
|
||||
#source "/usr/share/doc/mutt/samples/colors.default"
|
||||
#source "/usr/share/doc/mutt/samples/colors.linux"
|
||||
source "~/.mutt.d/colors.nongeek"
|
||||
|
|
2
.xinitrc
2
.xinitrc
|
@ -12,7 +12,7 @@
|
|||
[ "$(amixer | grep PCM)" != "" ] && amixer set PCM 80%
|
||||
|
||||
## GPG-Agent
|
||||
[ "$(which gpg-agent)" != "" ] && eval $(gpg-agent --daemon)
|
||||
# [ "$(which gpg-agent)" != "" ] && eval $(gpg-agent --daemon)
|
||||
|
||||
##==============================================================================
|
||||
## Launch session
|
||||
|
|
Loading…
Reference in New Issue