currently supports i3blocks and polybar
Calendar notifications for desktops running the dunst notification daemon.
The action script at i3blocks/actions/date.sh
is responsible for handling events, the script accepts the following arguments:
ACTION="./i3blocks/actions/date.sh"
$ACTION curr # current month
$ACTION next # increment month
$ACTION prev # decrement month
Create a date block in ~/.config/i3blocks/config
[date]
command=~/.config/i3blocks/scripts/date.sh
interval=60
Copy the contents of i3blocks
to your $HOME/.config/i3blocks/
Copy i3blocks/actions/date.sh
to your polybar config directory. Then, in your polybar config, you can use click-left
, scroll-up
and scroll-down
actions to invoke the script. For example:
; add `calendar` to your modules list
[module/calendar]
type = custom/script
label = ""
exec = echo Calendar
click-left = ./date.sh curr
scroll-up = ./date.sh next
scroll-down = ./date.sh prev