Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.09 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.09 KB

polybar-scripts

inbox-imap-python.py

A script that shows if there are unread mails in your IMAPs inbox. Inspired by this script.

Configuration

email_address = ''
password = ''
imap_server = ''

Module

[module/inbox-imap-python]
type = custom/script
exec = /path/to/inbox-imap-python.py
interval = 60
label-maxlen = 20

openweathermap-mini.sh

A script that displays temperatures for the current weather. Inspired by this script.

Configuration

If CITY is left empty, the location is retrieved via the Mozilla Location API. CITY can either be a city ID (e.g. ID of Berlin is 2950159), city name (e.g. Berlin) or city name + country code (e.g. Berlin,DE).

Change these values:

KEY=""
CITY=""
UNITS="metric"
SYMBOL="°"

Module

[module/openweathermap-mini]
type = custom/script
exec = /path/to/openweathermap-mini.sh
interval = 600
label-maxlen = 20