diff options
-rw-r--r-- | bash_aliases | 1 | ||||
-rw-r--r-- | config/sxhkd/sxhkdrc | 4 | ||||
-rw-r--r-- | muttrc | 39 | ||||
-rw-r--r-- | offlineimaprc | 21 | ||||
-rwxr-xr-x | rtorrent.rc | 2 |
5 files changed, 41 insertions, 26 deletions
diff --git a/bash_aliases b/bash_aliases index c51ee36..6da0a84 100644 --- a/bash_aliases +++ b/bash_aliases @@ -4,6 +4,7 @@ # to enable disable services sudo update-rc.d apache2 disable # for volume over 150: pactl set-sink-volume 0 150% (or volume 150%) #if you wanna change timezone just copy one of /usr/share/zoneinfo/place to /etc/localtime +# awesome perl echo 'one two three'| perl -lne 'print $1 if /one(.*)three/' # SDR alias sdr='gqrx-alsa' diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index 8d4ac83..5cb8025 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -244,6 +244,10 @@ grave ; t grave ; T ~/bin/passmake +# Mail reload +super + m + offlineimap -o + # make sxhkd reload its configuration files: grave ; Escape pkill -USR1 -x sxhkd @@ -1,8 +1,4 @@ -# Load passwords -#source "gpg2 -dq $HOME/.mutt/pass.gpg |" - -# Source -#source ~/.mutt/sol.muttrc +# GPG config source ~/.mutt/crypto.rc #Load aliases @@ -12,34 +8,32 @@ source $alias_file #Offline Imap config set mbox_type = Maildir -set sendmail = /usr/bin/msmtp +set sendmail = ~/bin/mail set folder = ~/.mail/ -set spoolfile = "+Gmail/INBOX" -set mbox = "+Gmail/archive" -set postponed = "+Gmail/drafts" -unset record +set spoolfile = "+dove/INBOX" +set mbox = "+dove/Archive" +set postponed = "+dove/Drafts" +set record = "+dove/Sent" mailboxes +INBOX macro index D \ - "<save-message>+Gmail/trash<enter>" \ + "<save-message>+dove/Trash<enter>" \ "move message to the trash" macro index S \ - "<save-message>+Gmail/spam<enter>" \ + "<save-message>+dove/Spam<enter>" \ "mark message as spam" - -# Gmail conf -set from = "vasil.zlatanov@gmail.com" +# Dove conf +set from = "vasko@wherewe.servebeer.com" set realname = "Vasil Zlatanov" # Change the following line to a different editor you prefer. set editor = "vim" # Basic config, you can leave this as is -#set hostname = gmail.com set mail_check = 1 set timeout = 1 unset imap_passive @@ -75,13 +69,12 @@ ignore x-alt-email x-orcpt company division x-warning # Gmail-style keyboard shortcuts -macro index,pager gi "<change-folder>=Gmail/INBOX<enter>" "Go to inbox" -macro index,pager ga "<change-folder>=Gmail/archive<tab><enter>" "Go to all mail" -macro index,pager gs "<change-folder>=Gmail/sent<tab><enter>" "Go to sent mail" -macro index,pager gr "<change-folder>=Gmail/flagged<enter>" "Go to starred messages" -macro index,pager gj "<change-folder>=Gmail/spam<enter>" "Go to spam" -macro index,pager gt "<change-folder>=Gmail/trash<enter>" "Go to trash" -macro index,pager gd "<change-folder>=Gmail/drafts<enter>" "Go to drafts" +macro index,pager gi "<change-folder>=dove/INBOX<enter>" "Go to inbox" +macro index,pager ga "<change-folder>=dove/Archive<tab><enter>" "Go to all mail" +macro index,pager gs "<change-folder>=dove/Sent<tab><enter>" "Go to sent mail" +macro index,pager gj "<change-folder>=dove/Spam<enter>" "Go to spam" +macro index,pager gt "<change-folder>=dove/Trash<enter>" "Go to trash" +macro index,pager gd "<change-folder>=dove/Drafts<enter>" "Go to drafts" # Other config set delete diff --git a/offlineimaprc b/offlineimaprc index 74e84e7..a73c927 100644 --- a/offlineimaprc +++ b/offlineimaprc @@ -1,14 +1,31 @@ [general] ui = ttyui -accounts = Gmail +accounts = Dovecot # This will suppress anything but errors ui = quiet +[Account Dovecot] +localrepository = Dovecot-Local +remoterepository = Dovecot-Remote +autorefresh = 15 + +[Repository Dovecot-Local] +type = Maildir +localfolders = ~/.mail/dove + +[Repository Dovecot-Remote] +type = IMAP +#idlefolders = ['INBOX'] +remotehost = wherewe.servebeer.com +remoteuser = vasko@wherewe.servebeer.com +#remotepass = youwish +ssl = yes +cert_fingerprint = 6a6e2c0d47a9e57601a001faa908245787111b03 +#sslcacertfile = ~/.mutt/local.crt [Account Gmail] localrepository = Gmail-Local remoterepository = Gmail-Remote -#autorefresh = 15 [Repository Gmail-Local] type = Maildir diff --git a/rtorrent.rc b/rtorrent.rc index 9efd38f..f621ddc 100755 --- a/rtorrent.rc +++ b/rtorrent.rc @@ -48,7 +48,7 @@ schedule = low_diskspace,5,60,close_low_diskspace=100M #bind = rakshasa.no # Port range to use for listening. -#port_range = 6890-6999 +port_range = 8080-8081 # Start opening ports at a random position within the port range. #port_random = no |