Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/primamateria/i3blocks-gcalcli
Block for i3blocks which shows upcoming event in the status bar and full month when clicked on.
https://github.com/primamateria/i3blocks-gcalcli
Last synced: 17 days ago
JSON representation
Block for i3blocks which shows upcoming event in the status bar and full month when clicked on.
- Host: GitHub
- URL: https://github.com/primamateria/i3blocks-gcalcli
- Owner: PrimaMateria
- License: gpl-3.0
- Created: 2020-09-22T19:18:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-13T20:29:45.000Z (almost 3 years ago)
- Last Synced: 2025-01-03T08:38:58.949Z (22 days ago)
- Language: Python
- Size: 55.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# i3blocks gcalcli
Block for [i3blocks](https://github.com/vivien/i3blocks) which shows upcoming event in the status bar and full month when clicked on.
![screenshot](screenshot.png)
## Dependencies
- python
- [gcalcli](https://github.com/insanum/gcalcli)
- [xterm](https://invisible-island.net/xterm/) - for showing calendar in popup window## Installation
Install and setup gcalcli.
Download the `i3blocks-gcalcli.py`Setup popup window style and position in i3 config:
```
# i3blocks-gcalcli
for_window [class="XTerm" title="i3blocks-gcalcli"] floating enable
for_window [class="XTerm" title="i3blocks-gcalcli"] move absolute position 1665 25
for_window [class="XTerm" title="i3blocks-gcalcli"] border none
```List blocklet configuration in i3blocks config:
```
[gcalcli]
command=/i3blocks-gcalcli.py -e "Holidays in Germany" -m "weather,Holidays in Germany,Sviatky na Slovensku"
interval=1800
```## Usage
```
$ ./i3blocks-gcalcli.py -h
Usage:
i3blocks-gcalcli.py [options]Options:
-e, --eventCalendars Event calendars are considered when getting next upcoming event. Probably weather calendar should be skipped. Multiple values comma separated.
-m, --monthCalendars Month calendars are considered when showing full month after click. Multiple values comma separated.
-f, --fontFamily Font family/face used for xterm window showing month calendar.
-w, --width Cell width of month calendar. Minimum 10. Default 20.
-s, --status Status format. Possible values: datetimetitle, datetitle, title. Default datetimetitle.
```