Replace imapnotify with goimapnotify
This commit is contained in:
parent
6adc63bf71
commit
a9be2c1cc7
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"host": "imap.gmail.com",
|
||||||
|
"port": 993,
|
||||||
|
"tls": true,
|
||||||
|
"tlsOptions": {
|
||||||
|
"rejectUnauthorized": true
|
||||||
|
},
|
||||||
|
"username": "akasroua@gmail.com",
|
||||||
|
"passwordCmd": "pass mail/gmail",
|
||||||
|
"xoauth2": true,
|
||||||
|
"onNewMail": "mbsync gmail",
|
||||||
|
"onNewMailPost": "notmuch new",
|
||||||
|
"boxes": [
|
||||||
|
"INBOX"
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"host": "correo.ugr.es",
|
||||||
|
"port": 993,
|
||||||
|
"tls": true,
|
||||||
|
"tlsOptions": {
|
||||||
|
"rejectUnauthorized": true
|
||||||
|
},
|
||||||
|
"username": "akasroua@correo.ugr.es",
|
||||||
|
"passwordCmd": "pass mail/uni",
|
||||||
|
"onNewMail": "mbsync uni",
|
||||||
|
"onNewMailPost": "notmuch new",
|
||||||
|
"boxes": [
|
||||||
|
"INBOX"
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,15 +0,0 @@
|
||||||
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 = "mbsync gmail"
|
|
||||||
exports.onNewMailPost = "notmuch new"
|
|
||||||
exports.boxes = [ "INBOX"];
|
|
|
@ -1,15 +0,0 @@
|
||||||
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 = "mbsync uni"
|
|
||||||
exports.onNewMailPost = "notmuch new"
|
|
||||||
exports.boxes = [ "INBOX"];
|
|
|
@ -328,8 +328,6 @@ bindswitch --reload --locked lid:off output $monitor enable
|
||||||
exec wl-paste -t text --watch clipman store
|
exec wl-paste -t text --watch clipman store
|
||||||
# kanshi
|
# kanshi
|
||||||
exec kanshi
|
exec kanshi
|
||||||
# imapnotify
|
|
||||||
exec imapnotify -c ~/.config/imapnotify/uni.js
|
|
||||||
# tmux
|
# tmux
|
||||||
assign [app_id="tmux"] $workspace1
|
assign [app_id="tmux"] $workspace1
|
||||||
exec kitty --class tmux -- tmuxp load ~/.tmuxp/local.yaml
|
exec kitty --class tmux -- tmuxp load ~/.tmuxp/local.yaml
|
||||||
|
|
Loading…
Reference in New Issue