Skip to content

Rizado/Analog-Clock-Calendar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analog Clock & Calendar Conky

This repository contains three Conky configurations to display an analog clock and customizable calendar widget on your desktop.

Calendar-ConkyCalendar-Conky

Features

  • Displays an analog clock and monthly calendar with:
    • Highlighted "Today" date
    • Week numbers (optional)
    • Color-coded weekdays, weekend days, and days outside the current month
  • Fully customizable:
    • Fonts and sizes
    • Colors for each element
    • Spacing and positioning
  • Lightweight and efficient, built using Lua and Cairo.

Getting Started

Prerequisites

Ensure you have Conky installed on your system. If not, install it using the following instructions based on your distro:

  • Ubuntu/Debian: sudo apt install conky-all
  • Fedora: sudo dnf install conky
  • Arch: sudo pacman -S conky-cairo

Additionally, ensure Lua and Cairo libraries are available on your system.

Installation

  • Clone this repository:
    git clone https://github.com/wim66/Analog-Clock-Calendar.git
    cd Calendar-Conky

Customization

Calendar Appearance

The calendar appearance can be customized by editing the calendar.lua script. Key settings include:

  • Font and Size:

    local font_name = "Ubuntu Mono"
    local font_size = 16
  • Positioning:

    local start_x = 40
    local start_y = 40
  • Colors:

    local colour_month = "#44AAFF"     -- Month name
    local colour_weekdays = "#CCCCCC" -- Weekday headers
    local colour_days = "#FFFFFF"     -- Normal days
    local colour_today = "#00FF00"    -- Today's date
    local colour_outside = "#555555"  -- Days outside the current month
    local colour_weeknums = "#44AAFF" -- Week numbers
  • Language: You can add more languages in the translations section as needed

    local week_starts = "monday" -- monday or sunday
    local language = "english" -- english, dutch, german, spanish, french
  • Spacing:

    local day_spacing = 22

For a detailed explanation of each setting, refer to the comments in the calendar.lua script.


How to change colors for Design-2 widgets

To change the box and border colors in Design-2:

  1. Start Color_Chooser.desktop.

  2. Available color schemes can be found in Design-2/scripts/colour_schemes.lua. Some predefined options include:

    • gray
    • blue
    • red
    • orange
    • green
    • purple
    • slot (slot theme color)
    • You can also add your own color scheme to colour_schemes.lua and use it in layout.lua.

Contributing

Feel free to fork this repository and make your own modifications.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

Created by Wim66.

About

This repository contains a Conky configuration script to display an analog clock and customizable calendar widget on your desktop.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Lua 92.2%
  • HTML 5.1%
  • Shell 2.7%