Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cursor highlighter for GNOME on Wayland. Perfect for presentations, screen recording and teaching.

License

Notifications You must be signed in to change notification settings

szymonwilczek/hati

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hati Icon

Hati

Native cursor highlighter for GNOME Shell on Wayland.

License Wayland

Overview

Hati is a GNOME Shell extension designed to solve a specific problem: demonstrating software on Wayland. Traditional X11 overlay tools often fail or introduce lag on Wayland compositors. Hati integrates directly into the GNOME Shell rendering pipeline using GLSL shaders, ensuring zero latency and perfect frame synchronization.

It provides a highly customizable visual ring around your cursor, essential for:

  • Teaching / Lectures
  • Screen Recording
  • Live Demonstrations
  • Accessibility

Preview

hati_preview.mp4

Features

Category Description
Performance Memory: ~2-3MB. Render Time: ~4.7ms/frame. Zero Copy tracking.
Visuals Dual-ring design (Solid/Dashed), Corner Radius (Squircle/Circle), dynamic Glow effects.
Interaction Visual feedback for clicks: Pulse, Ripple, Glow Burst. Distinct Left/Right click colors.
Utilities Spotlight Mode (dim screen except cursor), GPU Magnifier (instant zoom). Customizable shortcuts.
Config Changes apply instantly. Shareable Presets (Import/Export JSON). Native GTK4 preferences window.

Installation

Method 1: GNOME Extensions Website

Install via GNOME Extensions: Hati Cursor Highlighter.

Method 2: Manual Installation

  1. Download the latest release from Releases.
  2. Install via CLI:
    gnome-extensions install [email protected]
  3. Restart GNOME Shell (Log out/in on Wayland).
  4. Enable the extension:
    gnome-extensions enable [email protected]

Method 3: Build from Source

You'll need following dependencies:

  • make
  • zip
# Clone repository
git clone https://github.com/szymonwilczek/hati.git
cd hati

# Build and install
make install

Alternative: Shell Script (No Make required)

If you don't have make installed, you can use the provided script:

./scripts/install.sh

Configuration

Settings can be accessed via the Extensions app or by right-clicking the extension icon if enabled.

  • Appearance: Shape (Circle/Square), Size, Colors, Opacity, Border Weight.
  • Behavior: Auto-hide timeout, Inertia physics sliders.
  • Utilities: Spotlight configuration, Magnifier zoom level & keys.
  • Presets: Built-in collections, Import/Export functionality to share configs.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL-3.0