//////////////////////////////////////////////////////////////
// Calendar Shortcuts
//////////////////////////////////////////////////////////////
{
"keys": ["ctrl+super+alt+c"],
"command": "calendar"
},
{
"keys": ["ctrl+super+alt+shift+c"],
"command": "calendar_lookup"
},
{
"keys": ["alt+right"],
"command": "calendar_month_nav",
"context":
[
{
"key": "calendar_view"
}
],
"args": {"reverse": false}
},
{
"keys": ["alt+left"],
"command": "calendar_month_nav",
"context":
[
{
"key": "calendar_view"
}
],
"args": {"reverse": true}
},
I add this to my color scheme file to highlight days (granted I don't do anything with holidays yet, but in the future I plan on it.
<dict>
<key>name</key>
<string>Calendar Selected Day</string>
<key>scope</key>
<string>selected_day</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2D2D2D</string>
<key>background</key>
<string>#F2777A</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Calendar Holiday</string>
<key>scope</key>
<string>holiday</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2D2D2D</string>
<key>background</key>
<string>#66CCCC</string>
</dict>
</dict>
quodlibet wrote:Incidentally, there's a community-supported holiday dataset in various formats (for Taskwarrior) here: http://holidata.net/locale_index.htm.
NIce, it even comes in easy to parse formats. I will look into adding support for this.
If you want, open another thread so we can discuss this; I don't want to clutter up the authors plugin thread with unrelated discussion. I might just move calendar to a repo and open a thread myself...