Skip to content

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextBar scripts

Scripts to be used with TextBar.

Mailbox counter - mailbox-counter.rb

  • This ruby counts unread mails in a mailbox via IMAP.
  • Multiple accounts are possible.
  • The configuration file uses YAML-format.
  • Location of config-file: $HOME/.textbar-scripts-config/mailboxes.yaml. Location can be passed as an argument when calling the script.
  • When used with TextBar the script can perform a custom command for each mailbox

Sample YAML-config file:

unreadicon: " "
emptyicon: ""
unreachable: ""
unreachable: "⚠️"

accounts:
  - display: "account 1 name"
    username: "my@username"
    password: "***"
    command: "/usr/bin/open https://inbox.google.com/u/?authuser=my@username"
    port: 993
    ssl: true
    imap: "imap.googlemail.com"
    mailbox: "INBOX"

  - display: "account 2 name"
    username: "my2nd@username"
    password: "mxmxukubkiaehync"
    command: "/usr/bin/open https://mail.google.com/mail/u/?authuser=my2nd@username"
    port: 993
    ssl: true
    imap: "imap.googlemail.com"
    mailbox: "INBOX"

Bookmarks - bookmarks.rb

Place bookmarks in TextBar.

  • YAML-config
title: ""
divider: ""
edit: "Edit"
list:
  
  - name: "Site 1"
    url: "https://www.site_1.com"
  
  - --
  
  - name: "Site 2"
    url: "https://www.site_2.com"

About

Count unread mail in google inbox

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages