Skip to content

chebro/calendar-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calendar Notification

demo

currently supports i3blocks and polybar

Calendar notifications for desktops running the dunst notification daemon.

Dependencies

Actions

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

i3blocks

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/

polybar

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

About

calendar notification for linux desktops using dunst

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages