Skip to content

calendar notification for linux desktops using dunst

License

Notifications You must be signed in to change notification settings

TAforever/calendar-notification

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calendar Notification

demo

currently supports i3blocks and polybar

Calendar notifications for desktops running the dunst notification daemon.

Dependencies

Actions

The calendar script is responsible for handling mouse events triggered by your bar, following are valid arguments:

./calendar curr # current month
./calendar next # increment month
./calendar prev # decrement month

i3blocks

Create a date block:

[date]
command = ~/.config/i3blocks/scripts/date.sh
interval = 60

Copy the contents of i3blocks to $HOME/.config/i3blocks (to tweak the mouse actions see i3blocks/scripts/date.sh):

cp -rL i3blocks ~/.config # -L to dereference the symlink

polybar

Copy calendar 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 = ./calendar curr
scroll-up = ./calendar next
scroll-down = ./calendar prev

About

calendar notification for linux desktops using dunst

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%