wynnchel / polybar-calendar

A calendar for polybar or for anyware. Made with python and gtk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polybar Calendar

A calendar for polybar or for anyware. Made with python and gtk.

Features:

How to use

I use the calendar with polybar. To use it with polybar:

  • Checkout the project. For example under: .config/polybar/modules/polybar-calendar
  • Install dependencies: https://pygobject.readthedocs.io/en/latest/devguide/dev_environ.html and https://pygobject.readthedocs.io/en/latest/getting_started.html#
  • Change your date module from your polybar config and add : "date = %{A1: .config/polybar/modules/polybar-calendar/calendar.sh:}%A, %d %B%{A}" to date field. Which will enable click action.
  • Be sure you have execute rights on calendar.sh file.
  • Depending on your WM you may need to place the window in your compositor settings. I use Bspwm in my bspwmrc file I set the rule like this: bspc rule -a Pycalendar.py state=floating rectangle=600x400+660+25

Otherwise you can toggle the calendar by executing calendar.sh.

About

A calendar for polybar or for anyware. Made with python and gtk

License:MIT License


Languages

Language:Python 98.4%Language:Shell 1.6%