# Nixie Clock Desktop Gadget

A lightweight, elegant desktop clock rendered with Cairo and GTK+3, designed to look like a vintage Nixie tube display floating directly on your desktop background.

## Features

* **3 Distinct Layout Styles**: Modern (Style 0), Authentic Real Tubes (Style 1), and Cyberpunk VFD (Style 2).
* **CPU Optimized**: Near 0.0% idle CPU usage when pulsing animations are disabled.
* **Interactive Controls**: Left-click + drag to move; right-click for preferences or quit.
* **Customizable Settings**: Glow color, scale, window/glass opacity, pulse speeds, 12h/24h mode, second visibility, and background tube toggle.
* **Persistent Configuration**: Saves automatically to `~/.config/nixie-clock/config.ini`.

## Dependencies & Installation

Requires `valac`, `libgtk-3-dev`, and `libcairo2-dev`.

sudo apt update
sudo apt install valac libgtk-3-dev libcairo2-dev build-essential

## Building

make
sudo make install
make deb

## Command-Line Options

nixie-clock --layout 1 --scale 1.5 --use-12h --color "#FF3300"

> **Note on Window Behavior**: If you cannot drag the window or it stays on top of other applications, check your window type, or adjust the dock/utility settings in your desktop environment.

## Changelog
# Nixie Clock Desktop Gadget

A lightweight, elegant desktop clock rendered with Cairo and GTK+3, designed to look like a vintage Nixie tube display floating directly on your desktop background[cite: 4].

## Features

* **3 Distinct Layout Styles**: Modern (Style 0), Authentic Real Tubes (Style 1), and Cyberpunk VFD (Style 2)[cite: 4].
* **CPU Optimized**: Near 0.0% idle CPU usage when pulsing animations are disabled[cite: 4].
* **Interactive Controls**: Left-click + drag to move; right-click for preferences or quit[cite: 4].
* **Customizable Settings**: Glow color, scale, window/glass opacity, pulse speeds, 12h/24h mode, second visibility, and background tube toggle[cite: 4].
* **Persistent Configuration**: Saves automatically to `~/.config/nixie-clock/config.ini`[cite: 4].

## Dependencies & Installation

Requires `valac`, `libgtk-3-dev`, and `libcairo2-dev`[cite: 4].

sudo apt update
sudo apt install valac libgtk-3-dev libcairo2-dev build-essential

## Building

make
sudo make install
make deb

## Command-Line Options

nixie-clock --layout 1 --scale 1.5 --use-12h --color "#FF3300"

> **Note on Window Behavior**: If you cannot drag the window or it stays on top of other applications, check your window type, or adjust the dock/utility settings in your desktop environment.

## Changelog
* **v1.3.3**: Added window layer in options (below, above) 
* **v1.3.2**: Added -d to display time update debug. It suddenly stopped updating, now works again.
* **v1.3.1**: Added option to override window behaviour.
* **v1.3.0**: Fixed support for Wayland bottom layer, dialog layout.
* **v1.2.0**: broken release
* **v1.1.2**: Added support for Wayland bottom layer.
* **v1.1.1**: Added option to hide the "tubes" background.