Populate dotfiles repository
This commit is contained in:
15
imapnotify/.config/imapnotify/gmail.js
Normal file
15
imapnotify/.config/imapnotify/gmail.js
Normal file
@@ -0,0 +1,15 @@
|
||||
var child_process = require('child_process');
|
||||
|
||||
function getStdout(cmd) {
|
||||
var stdout = child_process.execSync(cmd);
|
||||
return stdout.toString().trim();
|
||||
}
|
||||
|
||||
exports.host = "imap.gmail.com"
|
||||
exports.port = 993;
|
||||
exports.tls = true;
|
||||
exports.username = "akasroua@gmail.com";
|
||||
exports.password = getStdout("pass mail/gmail");
|
||||
exports.onNewMail = "/usr/local/bin/mbsync gmail"
|
||||
exports.onNewMailPost = "/usr/local/bin/notmuch new"
|
||||
exports.boxes = [ "INBOX"];
|
||||
15
imapnotify/.config/imapnotify/uni.js
Normal file
15
imapnotify/.config/imapnotify/uni.js
Normal file
@@ -0,0 +1,15 @@
|
||||
var child_process = require('child_process');
|
||||
|
||||
function getStdout(cmd) {
|
||||
var stdout = child_process.execSync(cmd);
|
||||
return stdout.toString().trim();
|
||||
}
|
||||
|
||||
exports.host = "correo.ugr.es"
|
||||
exports.port = 993;
|
||||
exports.tls = true;
|
||||
exports.username = "akasroua@correo.ugr.es";
|
||||
exports.password = getStdout("pass mail/uni");
|
||||
exports.onNewMail = "/usr/local/bin/mbsync uni"
|
||||
exports.onNewMailPost = "/usr/local/bin/notmuch new"
|
||||
exports.boxes = [ "INBOX"];
|
||||
Reference in New Issue
Block a user