remove gmail module
This commit is contained in:
parent
444b0ad2a0
commit
edb35d72c2
@ -20,5 +20,4 @@
|
|||||||
#module_cpu "CPU: " " | "
|
#module_cpu "CPU: " " | "
|
||||||
#module_battery "Battery: " " | "
|
#module_battery "Battery: " " | "
|
||||||
#module_todo "TODO: " " | "
|
#module_todo "TODO: " " | "
|
||||||
#module_gmail "Unread: " " | "
|
|
||||||
module_date "Date: " ""
|
module_date "Date: " ""
|
||||||
|
@ -59,9 +59,3 @@ module_todo() {
|
|||||||
todooutput="$(head -n 1 ~/.todo.txt)"
|
todooutput="$(head -n 1 ~/.todo.txt)"
|
||||||
[ "$todooutput" = "" ] || export bar="${bar}${1}${todooutput}${2}"
|
[ "$todooutput" = "" ] || export bar="${bar}${1}${todooutput}${2}"
|
||||||
}
|
}
|
||||||
|
|
||||||
module_gmail() {
|
|
||||||
export user="youruser"
|
|
||||||
export pass="yourpass"
|
|
||||||
export bar="${bar}${1}$(echo 'user = ${USER}@gmail.com:${PASS}' | curl -sf -K- -X 'STATUS INBOX (UNSEEN)' imaps://imap.gmail.com/INBOX | tr -d -c '[:digit:]')%${2}"
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user